drm/i915: Skip SINK_COUNT read on CH7511
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 May 2019 14:06:50 +0000 (17:06 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 12 Jul 2019 15:59:13 +0000 (18:59 +0300)
commiteaa2b31be152514f638e7c1c482e0ea0920a6aab
tree59dfaabf9b27503fbf4706662426529be0de0268
parentf774f09649192f326fa030564afd3f8f5d82c1e4
drm/i915: Skip SINK_COUNT read on CH7511

CH7511 doesn't update SINK_COUNT properly so in order to detect
the device as connected we have to ignore SINK_COUNT.

In order to have access to the quirk list early enough we
must move the drm_dp_read_desc() call to happen earlier.
We can also skip re-reading this on eDP since we know it
won't change.

Cc: David S. <david@majinbuu.com>
Cc: Peteris Rudzusiks <peteris.rudzusiks@gmail.com>
Tested-by: Peteris Rudzusiks <peteris.rudzusiks@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105406
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190528140650.19230-2-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com> #irc
drivers/gpu/drm/i915/display/intel_dp.c