OSDN Git Service

drm/dp_mst: Deprecate drm_dp_find_vcpi_slots()
authorLyude Paul <lyude@redhat.com>
Tue, 23 Oct 2018 23:12:46 +0000 (19:12 -0400)
committerLyude Paul <lyude@redhat.com>
Wed, 24 Oct 2018 19:41:57 +0000 (15:41 -0400)
commite4b0c868106d7ef6a4a456a693e25e3b94942e54
tree4471cb1a347a5eaf1932c6f928d4a980212c2036
parent6542e9adc0da1e23d81ff9314265a029b961906d
drm/dp_mst: Deprecate drm_dp_find_vcpi_slots()

Because we have drm_dp_atomic_find_vcpi_slots(), which actually takes
care to update the atomic state of the MST topology, prints valuable
debugging output, and actually takes references to the ports it's
checking! This explains some incorrect usage I've been seeing across the
tree...

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181023231251.16883-2-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c