drm/amd/display: Add polling method to handle MST reply packet
[Why] Specific TBT4 dock doesn't send out short HPD to notify source that IRQ event DOWN_REP_MSG_RDY is set. Which violates the spec and cause source can't send out streams to mst sinks. [How] To cover this misbehavior, add an additional polling method to detect DOWN_REP_MSG_RDY is set. HPD driven handling method is still kept. Just hook up our handler to drm mgr->cbs->poll_hpd_irq(). Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by:Jerry Zuo <jerry.zuo@amd.com> Acked-by:
Alan Liu <haoping.liu@amd.com> Signed-off-by:
Wayne Lin <wayne.lin@amd.com> Tested-by:
Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 31 additions, 86 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h 7 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 110 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h 11 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h
Loading