aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-02-04 12:02:41 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-02-12 21:04:06 -0500
commita53cbd9e6f520a252ecce31f8b555203674a3413 (patch)
tree9b91b7103910a15be8189e372e0d5d15366cb62a /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/pm: Fix get_if_active usage (diff)
downloadlinux-a53cbd9e6f520a252ecce31f8b555203674a3413.tar.gz
linux-a53cbd9e6f520a252ecce31f8b555203674a3413.zip
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