diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2025-02-04 09:32:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-13 05:04:06 +0300 |
commit | a53cbd9e6f520a252ecce31f8b555203674a3413 (patch) | |
tree | 9b91b7103910a15be8189e372e0d5d15366cb62a /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 543f6e7163d781eb989db0c32331e5d5ade68fdd (diff) | |
download | linux-a53cbd9e6f520a252ecce31f8b555203674a3413.tar.xz |
drm/amd/pm: Remove unnecessary device state checks
For amdgpu_get_pp_force_state, amdgpu_get_pp_cur_state already takes
care of device state check. In other cases, values are returned from
driver cached variables and are not dependent on device state.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <feifei.xu@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions