aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDave Hansen <[email protected]>2024-12-13 20:50:32 +0000
committerDave Hansen <[email protected]>2024-12-18 14:17:34 +0000
commit5d82d8e0a9ac06bfc6ac59407b96bc357eff441a (patch)
tree11073a5c5f9c4c85a43b5faade15025d89e5903e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentx86/cpu: Remove unnecessary MwAIT leaf checks (diff)
downloadkernel-5d82d8e0a9ac06bfc6ac59407b96bc357eff441a.tar.gz
kernel-5d82d8e0a9ac06bfc6ac59407b96bc357eff441a.zip
x86/cpu: Refresh DCA leaf reading code
The DCA leaf number is also hard-coded in the CPUID level dependency table. Move its definition to common code and use it. While at it, fix up the naming and types in the probe code. All CPUID data is provided in 32-bit registers, not 'unsigned long'. Also stop referring to "level_9". Move away from test_bit() because the type is no longer an 'unsigned long'. Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Zhao Liu <[email protected]> Link: https://lore.kernel.org/all/20241213205032.476A30FE%40davehans-spike.ostc.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions