aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-06-05 23:19:10 +0000
committerSean Christopherson <[email protected]>2024-08-22 18:25:47 +0000
commitbeb2e446046f8dd96bbeed3267b5f26bf1926ef9 (patch)
tree16ab03d0367d84d568556172d31cc1ae3f3a53ba /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentx86/cpu: KVM: Add common defines for architectural memory types (PAT, MTRRs, ... (diff)
downloadkernel-beb2e446046f8dd96bbeed3267b5f26bf1926ef9.tar.gz
kernel-beb2e446046f8dd96bbeed3267b5f26bf1926ef9.zip
x86/cpu: KVM: Move macro to encode PAT value to common header
Move pat/memtype.c's PAT() macro to msr-index.h as PAT_VALUE(), and use it in KVM to define the default (Power-On / RESET) PAT value instead of open coding an inscrutable magic number. No functional change intended. Reviewed-by: Xiaoyao Li <[email protected]> Reviewed-by: Kai Huang <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions