diff options
author | Roman Li <Roman.Li@amd.com> | 2022-03-15 16:31:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-31 23:05:53 -0400 |
commit | 384bd90d1cc1168dc845ad2735d7a3d49459fbba (patch) | |
tree | 40abd34800f092a15117b9bc784cf23bb4912002 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 75c95f4550e3d4584ff100fef53c240f3291f7cd (diff) | |
download | linux-384bd90d1cc1168dc845ad2735d7a3d49459fbba.tar.gz linux-384bd90d1cc1168dc845ad2735d7a3d49459fbba.tar.bz2 linux-384bd90d1cc1168dc845ad2735d7a3d49459fbba.zip |
drm/amd/display: Enable power gating before init_pipes
[Why]
In init_hw() we call init_pipes() before enabling power gating.
init_pipes() tries to power gate dsc but it may fail because
required force-ons are not released yet.
As a result with dsc config the following errors observed on resume:
"REG_WAIT timeout 1us * 1000 tries - dcn20_dsc_pg_control"
"REG_WAIT timeout 1us * 1000 tries - dcn20_dpp_pg_control"
"REG_WAIT timeout 1us * 1000 tries - dcn20_hubp_pg_control"
[How]
Move enable_power_gating_plane() before init_pipes() in init_hw()
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions