aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
diff options
context:
space:
mode:
authorAustin Zheng <[email protected]>2024-11-05 15:22:02 +0000
committerAlex Deucher <[email protected]>2024-11-20 14:39:58 +0000
commitc3ea03c2a1557644386e38aaf2b5a9c261e0be1a (patch)
tree8b606f808fef897fb269e7b5eed29ee2f2ac77e9 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
parentdrm/amd/display: add public taps API in SPL (diff)
downloadkernel-c3ea03c2a1557644386e38aaf2b5a9c261e0be1a.tar.gz
kernel-c3ea03c2a1557644386e38aaf2b5a9c261e0be1a.zip
drm/amd/display: Populate Power Profile In Case of Early Return
Early return possible if context has no clk_mgr. This will lead to an invalid power profile being returned which looks identical to a profile with the lowest power level. Add back logic that populated the power profile and overwrite the value if needed. Cc: [email protected] Fixes: d016d0dd5a57 ("drm/amd/display: Update Interface to Check UCLK DPM") Reviewed-by: Dillon Varone <[email protected]> Signed-off-by: Austin Zheng <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions