drm/i915: Don't try to ack sink irqs when there are none
commit65fbb4e79978c88e817f22094308dcf1a3442bee
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Jul 2016 14:50:47 +0000 (28 17:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 4 Aug 2016 13:00:21 +0000 (4 16:00 +0300)
treeb735935a8bf813a1b0d1d63ea6352ab27c4cca31
parent1354f734c5f3e9f08f97d22aff97612ee7ec9d3e
drm/i915: Don't try to ack sink irqs when there are none

My ASUS PB278 at least doesn't seem to appreciate when you try to
ack sink irqs when there are none. Results in this sort of dmesg spam
[drm:drm_dp_dpcd_access] too many retries, giving up

Let's skip the ack if there are no pending irqs. I have no clue why we
do this in two places. One of them likely should just go away. Oh, and
MST has its own sink irq handler too...

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469717448-4297-12-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c