drm/dp_mst: Check payload count in drm_dp_mst_atomic_check()
authorLyude Paul <lyude@redhat.com>
Fri, 11 Jan 2019 00:53:42 +0000 (19:53 -0500)
committerLyude Paul <lyude@redhat.com>
Fri, 11 Jan 2019 01:45:25 +0000 (20:45 -0500)
commit5e187a01426d220df1ab3c58f40cefd40094695e
treee7f324b71eb6eb7b8c56bf98cc4349d83a9d54b5
parenteceae147246749c6dbaeefda802b30f804a3c54c
drm/dp_mst: Check payload count in drm_dp_mst_atomic_check()

It occurred to me that we never actually check this! So let's start
doing that.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@redhat.com>
Cc: Jerry Zuo <Jerry.Zuo@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Juston Li <juston.li@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190111005343.17443-20-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c