[PATCH v5 16/20] drm/i915/dp: Extract drm_dp_read_sink_count()