diff options
author | Erico Nunes <[email protected]> | 2022-10-27 09:32:00 +0200 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2022-11-14 19:08:21 +0800 |
commit | e17a025a47c66ca8499ae88d8046c4f0d7c9c057 (patch) | |
tree | fab2362320af10f6c3ddd365aeeef131a39c3440 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h | |
parent | 4979524f5a2a8210e87fde2f642b0dc060860821 (diff) |
drm/lima: Fix opp clkname setting in case of missing regulator
Commit d8c32d3971e4 ("drm/lima: Migrate to dev_pm_opp_set_config()")
introduced a regression as it may undo the clk_names setting in case
the optional regulator is missing. This resulted in test and performance
regressions with lima.
Restore the old behavior where clk_names is set separately so it is not
undone in case of a missing optional regulator.
Fixes: d8c32d3971e4 ("drm/lima: Migrate to dev_pm_opp_set_config()")
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Erico Nunes <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h')
0 files changed, 0 insertions, 0 deletions