drm/amd/display: Use min transition for all SubVP plane add/remove
authorAlvin Lee <Alvin.Lee2@amd.com>
Wed, 2 Nov 2022 16:38:12 +0000 (12:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 16:53:14 +0000 (11:53 -0500)
commite4c1b01bc35b04e15782608165aa85b9e1724f7b
tree8398c993f1c03b0415843781a7aee2bff2e6dcbe
parent1cb69b43550b6c20819decba870db34175677b2a
drm/amd/display: Use min transition for all SubVP plane add/remove

[Description]
- Whenever disabling a phantom pipe, we must run through the
  minimal transition sequence
- In the case where SetVisibility = false for the main pipe,
  we also need to run through the min transtion when disabling
  the phantom pipes

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@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