Files
linux/drivers/gpu/drm
Roman Li 58e16c752e 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>
2022-04-06 11:42:32 -04:00
..
2022-02-07 16:35:35 -08:00
2021-08-10 20:14:01 +02:00
2022-03-15 15:01:12 -04:00
2022-02-07 16:35:35 -08:00
2021-08-10 20:14:01 +02:00
2022-02-07 16:35:35 -08:00
2021-11-30 09:41:28 +01:00
2021-10-01 15:55:47 +02:00
2021-11-30 09:41:28 +01:00
2022-02-07 16:35:35 -08:00
2021-08-19 09:02:55 +09:00
2021-08-10 20:14:01 +02:00