drm/amd/display: fix HW block PG sequence
authorCharlene Liu <charlene.liu@amd.com>
Wed, 6 Dec 2023 19:52:33 +0000 (14:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2023 20:09:54 +0000 (15:09 -0500)
commit7253c36b1febe7e76be3da26fbf875978b37e92c
treefdccb5f7f1d6c0992d0750850d7c5bcec8bb2257
parent9a902a9073c287353e25913c0761bfed49d75a88
drm/amd/display: fix HW block PG sequence

[why]
Power up and power down has reverted programming order.
also make sure disable root clock last.

Reviewed-by: Muhammad Ahmed <ahmed.ahmed@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.h
drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h