drm/amd/display: Modify Pipe Selection for Policy for ODM
authorSaaem Rizvi <syedsaaem.rizvi@amd.com>
Mon, 25 Sep 2023 04:45:25 +0000 (00:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2023 20:51:14 +0000 (16:51 -0400)
commitba85d293a30e358abe9740ac0c945211066e4273
treedb5ea526fbaf23710124e07b259b1729b1f6dc14
parent0e56de91edd0b81e2c8df98413e68bed4ef13706
drm/amd/display: Modify Pipe Selection for Policy for ODM

[Why]
There are certain cases during a transition to ODM that might cause
corruption on the display. This occurs when we choose certain pipes in a
particular state.

[How]
We now will store the pipe indexes of the any pipes that might be
problematic to switch to during an ODM transition, and only use them as
a last resort.

Reviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com>
Signed-off-by: Saaem Rizvi <syedsaaem.rizvi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c