aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2022-04-20 10:27:27 +0000
committerPaolo Bonzini <[email protected]>2022-04-21 19:41:01 +0000
commite852be8b148e117e25be1c98cf72ee489b05919e (patch)
treeffb5b859c5e3bf47da256c9f60ad268474b3f717 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentkvm: selftests: do not use bitfields larger than 32-bits for PTEs (diff)
downloadkernel-e852be8b148e117e25be1c98cf72ee489b05919e.tar.gz
kernel-e852be8b148e117e25be1c98cf72ee489b05919e.zip
kvm: selftests: introduce and use more page size-related constants
Clean up code that was hardcoding masks for various fields, now that the masks are included in processor.h. For more cleanup, define PAGE_SIZE and PAGE_MASK just like in Linux. PAGE_SIZE in particular was defined by several tests. Suggested-by: Sean Christopherson <[email protected]> Reviewed-by: Peter Xu <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions