]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2023 10:08:25 +0000 (12:08 +0200)
commit56562676102e135e7aebada26c2aea146a5b5ad0
treea68052076f4e60b23b9073a8bb0e2829898cfb2c
parent63eeb50fa11009cc4c82919b040c361c4ea0f14e
drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0

commit a1c9a1e27022d13c70a14c4faeab6ce293ad043b upstream.

[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>
[ 6.1.y doesn't have the file rename from
  54618888d1ea7 ("drm/amd/display: break down dc_link.c") ]
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/core/dc_link.c