aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-09-02 13:26:02 +0000
committerThomas Gleixner <[email protected]>2020-09-04 13:12:58 +0000
commitd53d9bc0cf783e93b374de3895145c7375e570ba (patch)
treefb95a9c74cba7e6a7d93f58f80f542e941f99997 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentx86/debug: Support negative polarity DR6 bits (diff)
downloadkernel-d53d9bc0cf783e93b374de3895145c7375e570ba.tar.gz
kernel-d53d9bc0cf783e93b374de3895145c7375e570ba.zip
x86/debug: Change thread.debugreg6 to thread.virtual_dr6
Current usage of thread.debugreg6 is convoluted at best. It starts life as a copy of the hardware DR6 value, but then various bits are cleared and set. Replace this with a new variable thread.virtual_dr6 that is initialized to 0 when DR6 is read and only gains bits, at the same time the actual (on stack) dr6 value which is read from the hardware only gets bits cleared. Suggested-by: Andy Lutomirski <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions