aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorMa Jun <[email protected]>2024-04-16 07:35:25 +0000
committerAlex Deucher <[email protected]>2024-04-23 16:08:30 +0000
commite6f1a1946c4d46220b11fce0006264e478cdcbee (patch)
treee3346f6f24e3361d7a78d62418978ae95ed0007a /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentdrm/amdgpu: Support setting reset_method at runtime (diff)
downloadkernel-e6f1a1946c4d46220b11fce0006264e478cdcbee.tar.gz
kernel-e6f1a1946c4d46220b11fce0006264e478cdcbee.zip
drm/amdgpu/pm: Print od status info
Print the od status info if it's not supported. Signed-off-by: Ma Jun <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/pm/amdgpu_pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 569bc6e61b77..c11952a4389b 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -4406,6 +4406,8 @@ int amdgpu_pm_sysfs_init(struct amdgpu_device *adev)
ret = amdgpu_od_set_init(adev);
if (ret)
goto err_out1;
+ } else if (adev->pm.pp_feature & PP_OVERDRIVE_MASK) {
+ dev_info(adev->dev, "overdrive feature is not supported\n");
}
adev->pm.sysfs_initialized = true;