Lyude Paul 693c3ec597 drm/i915/dp: Extract drm_dp_read_sink_count_cap()
Since other drivers are also going to need to be aware of the sink count
in order to do proper dongle detection, we might as well steal i915's
DP_SINK_COUNT helpers and move them into DRM helpers so that other
dirvers can use them as well.

Note that this also starts using intel_dp_has_sink_count() in
intel_dp_detect_dpcd(), which is a functional change.

v5:
* Change name from drm_dp_has_sink_count() to
  drm_dp_read_sink_count_cap()

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20200826182456.322681-16-lyude@redhat.com
2020-08-31 19:10:08 -04:00
..
2019-10-31 15:03:10 -07:00
2020-06-30 13:31:15 +02:00
2020-04-22 10:41:35 +10:00
2020-04-22 10:41:35 +10:00
2020-06-24 09:17:34 +02:00
2020-06-24 15:45:51 +10:00
2020-07-16 18:16:31 -04:00
2020-07-16 18:16:31 -04:00
2020-07-14 02:47:18 -07:00
2019-12-18 16:09:12 -05:00