OSDN Git Service

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>
Thu, 6 Oct 2022 15:55:28 +0000 (11:55 -0400)
commit8ab1d7a27eff87001ebd0977db600e4187f63f78
tree00905286281d695cfc9abf944e4d9cc76b059528
parent91954c6c904b515baafaee6a1f35c94409a3bb68
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