drm/i915: g4x/vlv: fix dp aux interrupt mask
authorImre Deak <imre.deak@intel.com>
Thu, 16 Jan 2014 17:56:53 +0000 (19:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Jan 2014 09:34:37 +0000 (10:34 +0100)
Fix typo possibly leading to timed out DP aux transactions on ports C,D.

Introduced in:

Commmit 4aeebd7443e36b0a40032e518a9338f48bd27efc
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Oct 31 09:53:36 2013 +0100

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72210
Signed off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h

index 76126e0ae609023e4644c6aa336553a8815c7d6b..84365cd22092fc0edf39798cea4ad606c1a27df8 100644 (file)
 #define   DP_AUX_CHANNEL_D_INT_STATUS_G4X      (1 << 6)
 #define   DP_AUX_CHANNEL_C_INT_STATUS_G4X      (1 << 5)
 #define   DP_AUX_CHANNEL_B_INT_STATUS_G4X      (1 << 4)
-#define   DP_AUX_CHANNEL_MASK_INT_STATUS_G4X   (1 << 4)
+#define   DP_AUX_CHANNEL_MASK_INT_STATUS_G4X   (7 << 4)
+
 /* SDVO is different across gen3/4 */
 #define   SDVOC_HOTPLUG_INT_STATUS_G4X         (1 << 3)
 #define   SDVOB_HOTPLUG_INT_STATUS_G4X         (1 << 2)