aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-08-16 16:01:18 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-16 22:35:04 +1000
commit96c79b6bd74039e8a799e4aa2d331cbd478ab5a1 (patch)
tree77b20f4316b3bdb80bbbb2023795dfb5e42cafce /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentpowerpc: Remove redundant clear of MSR_VSX in __giveup_vsx() (diff)
downloadlinux-dev-96c79b6bd74039e8a799e4aa2d331cbd478ab5a1.tar.xz
linux-dev-96c79b6bd74039e8a799e4aa2d331cbd478ab5a1.zip
powerpc: Remove more redundant VSX save/tests
__giveup_vsx/save_vsx are completely equivalent to testing MSR_FP and MSR_VEC and calling the corresponding giveup/save function so just remove the spurious VSX cases. Also add WARN_ONs checking that we never have VSX enabled without the two other. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions