Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: Updated XGMI power down control support check

Updated SMC FW version check to determine if XGMI power down control is supported

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

John Clements and committed by
Alex Deucher
b7f0656a 5c23e9e0

+3 -3
+3 -3
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
··· 2298 2298 return ret; 2299 2299 } 2300 2300 2301 - /* PPSMC_MSG_GmiPwrDnControl is supported by 54.20.0 and onwards */ 2302 - if (smu_version < 0x365000) { 2303 - pr_err("XGMI power down control is only supported by PMFW 54.20.0 and onwards\n"); 2301 + /* PPSMC_MSG_GmiPwrDnControl is supported by 54.23.0 and onwards */ 2302 + if (smu_version < 0x00361700) { 2303 + pr_err("XGMI power down control is only supported by PMFW 54.23.0 and onwards\n"); 2304 2304 return -EINVAL; 2305 2305 } 2306 2306