drm/amdgpu/pm: Print od status info
Print the od status info if it's not supported. Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
939c475181
commit
e6f1a1946c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user