diff options
author | Roman Li <[email protected]> | 2022-03-15 16:31:14 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-04-06 11:42:32 -0400 |
commit | 58e16c752e9540b28a873c44c3bee83e022007c1 (patch) | |
tree | 996fdea7caa44273a07b9fc6dab0e83881b97e44 /lib/mpi/mpiutil.c | |
parent | 95707203407c4cf0b7e520a99d6f46d8aed4b57f (diff) |
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 <[email protected]>
Reviewed-by: Eric Yang <[email protected]>
Acked-by: Alex Hung <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions