]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: fix PIPE_DDI_PORT_MASK
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Jun 2012 18:39:32 +0000 (15:39 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jul 2012 07:58:10 +0000 (09:58 +0200)
Only bits 30:28, bit 31 is PIPE_DDI_FUNC_ENABLE.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h

index 4ddc62ecf839d01d3392da70c5f878c541b67762..1bd17e7dd479d0d848e0f52c70164adafdda343d 100644 (file)
                                        PIPE_DDI_FUNC_CTL_B)
 #define  PIPE_DDI_FUNC_ENABLE          (1<<31)
 /* Those bits are ignored by pipe EDP since it can only connect to DDI A */
-#define  PIPE_DDI_PORT_MASK                            (0xf<<28)
+#define  PIPE_DDI_PORT_MASK                    (7<<28)
 #define  PIPE_DDI_SELECT_PORT(x)               ((x)<<28)
 #define  PIPE_DDI_MODE_SELECT_HDMI             (0<<24)
 #define  PIPE_DDI_MODE_SELECT_DVI              (1<<24)