diff options
| author | 2021-10-29 16:09:26 -0500 | |
|---|---|---|
| committer | 2021-11-03 12:22:07 -0400 | |
| commit | a750559132c64f3fa40418876bc43881e169a8f0 (patch) | |
| tree | eb2b40948022c4324849864e1f63075d8a56d858 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | drm/amd/pm: Adjust returns when power_profile_mode is not supported (diff) | |
| download | linux-dev-a750559132c64f3fa40418876bc43881e169a8f0.tar.xz linux-dev-a750559132c64f3fa40418876bc43881e169a8f0.zip | |
drm/amdgpu/pm: Don't show pp_power_profile_mode for unsupported devices
For ASICs not supporting power profile mode, don't show the attribute.
Verify that the function has been implemented by the subsystem.
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions
