]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17be9d1b4108be7b336b5f89a743204fe1c28d39
tree33efb0040c863689fba07dfab86cdb79631800ed
parent66ddb4edf928e04dfe91216a1e91d3e490c86ce9
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