aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2025-02-04 06:32:41 +0000
committerAlex Deucher <[email protected]>2025-02-13 02:04:06 +0000
commita53cbd9e6f520a252ecce31f8b555203674a3413 (patch)
tree9b91b7103910a15be8189e372e0d5d15366cb62a /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/pm: Fix get_if_active usage (diff)
downloadkernel-a53cbd9e6f520a252ecce31f8b555203674a3413.tar.gz
kernel-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 <[email protected]> Reviewed-by: Feifei Xu <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions