]> git.itanic.dy.fi Git - linux-stable/commit
drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 27 Aug 2018 08:07:42 +0000 (10:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 08:31:35 +0000 (10:31 +0200)
commit5ff569d8719b525d1e34fd39d5f95220aa4a93dd
treec9b3c453ee6054b7a7c17edcfec9220122b6d215
parent8d1995d71f638717ee23f257b0f7de4d5ea2f132
drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()

commit a4c30a4861c54af78c4eb8b7855524c1a96d9f80 upstream.

When parsing the reply of a DP_REMOTE_DPCD_READ DPCD command the
result is wrong due to a missing idx increment.

This was never noticed since DP_REMOTE_DPCD_READ is currently not
used, but if you enable it, then it is all wrong.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e72ddac2-1dc0-100a-d816-9ac98ac009dd@xs4all.nl
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_dp_mst_topology.c