drm/amd/display: Only commit SubVP state after pipe programming
authorAlvin Lee <Alvin.Lee2@amd.com>
Wed, 17 Aug 2022 14:47:59 +0000 (10:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:45:57 +0000 (17:45 -0400)
commite990bd60716d64d18e8c5785865e15783a90cee8
tree268a62d51d412af2d832c05e9f78e182b530477b
parentd84f5d6562b2f068ec7011f50e702e8a60ec7932
drm/amd/display: Only commit SubVP state after pipe programming

[Description]
We only want to commit the SubVP config to DMCUB
after the main and phantom pipe programming has
completed. Commiting the state early can cause
issues such as P-State being allowed by the HW
early which causes the SubVP state machine to
go into a bad state

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c