]> git.baikalelectronics.ru Git - kernel.git/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)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 31 Aug 2018 08:20:38 +0000 (10:20 +0200)
commit054894631b87cdbe147c226827278c92f2a63044
tree4044926a7c503496d84b238a8d9882b83ab2d869
parente5b566f95efdfe36c17e61d858e649d5eecffba9
drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()

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
drivers/gpu/drm/drm_dp_mst_topology.c