linux-stable/drivers/gpu/drm/display
Imre Deak 33f960e23c drm/display/dp_mst: Fix payload addition on a disconnected sink
If an MST stream is enabled on a disconnected sink, the payload for the
stream is not created and the MST manager's payload count/next start VC
slot is not updated. Since the payload's start VC slot may still contain
a valid value (!= -1) the subsequent disabling of such a stream could
cause an incorrect decrease of the payload count/next start VC slot in
drm_dp_remove_payload() and hence later payload additions will fail.

Fix the above by marking the payload as invalid in the above case, so
that it's skipped during payload removal. While at it add a debug print
for this case.

Cc: Lyude Paul <lyude@redhat.com>
Cc: <stable@vger.kernel.org> # v6.1+
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221214184258.2869417-3-imre.deak@intel.com
2022-12-16 16:55:29 +02:00
..
drm_display_helper_mod.c
drm_dp_aux_bus.c
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c drm/display: Don't assume dual mode adaptors support i2c sub-addressing 2022-11-15 23:31:02 +02:00
drm_dp_helper.c Driver core changes for 6.1-rc1 2022-10-07 17:04:10 -07:00
drm_dp_helper_internal.h
drm_dp_mst_topology.c drm/display/dp_mst: Fix payload addition on a disconnected sink 2022-12-16 16:55:29 +02:00
drm_dp_mst_topology_internal.h
drm_dsc_helper.c
drm_hdcp_helper.c
drm_hdmi_helper.c
drm_scdc_helper.c drm/scdc: Document hotplug gotchas 2022-09-13 16:25:00 +01:00
Kconfig drm/display: Fix build error without CONFIG_OF 2022-06-23 16:18:02 +02:00
Makefile drm: split build lists one per line and sort 2022-10-12 17:00:05 +03:00