drm/amd/display: Ignore First MST Sideband Message Return Error
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Wed, 6 Jul 2022 19:52:46 +0000 (15:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jul 2022 16:20:26 +0000 (12:20 -0400)
commitacea108fa067d140bd155161a79b1fcd967f4137
tree33efb0040c863689fba07dfab86cdb79631800ed
parent3590b44b9434af1b9c81c3f40189087ed4fe3635
drm/amd/display: Ignore First MST Sideband Message Return Error

[why]
First MST sideband message returns AUX_RET_ERROR_HPD_DISCON
on certain intel platform. Aux transaction considered failure
if HPD unexpected pulled low. The actual aux transaction success
in such case, hence do not return error.

[how]
Not returning error when AUX_RET_ERROR_HPD_DISCON detected
on the first sideband message.

v2: squash in additional DMI entries
v3: squash in static fix

Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c