drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0
authorPeichen Huang <PeiChen.Huang@amd.com>
Mon, 20 Mar 2023 01:34:23 +0000 (09:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 Mar 2023 15:18:54 +0000 (11:18 -0400)
commita1c9a1e27022d13c70a14c4faeab6ce293ad043b
tree9a5318f9466677a90298993c2efd06ad36f152c2
parent0cdf91bf67b782bf3548cb3cce8ab923a13ca6fe
drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0

[Why]
Some dock and mst monitor don't like to receive CLEAR_PAYLOAD_ID_TABLE
when mst_en is set to 0. It doesn't make sense to do so in source
side, either.

[How]
Don't send CLEAR_PAYLOAD_ID_TABLE if mst_en is 0

Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Peichen Huang <PeiChen.Huang@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/link/link_dpms.c