summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorPaulo Zanoni2012-10-05 17:05:57 +0200
committerDaniel Vetter2012-10-10 16:06:30 +0200
commitee2b0b382a7e6cbf3549559ec7dc86c63f5aa3d1 (patch)
tree1622293948061a4510ac3cb285b4fdf2a6a09440 /drivers/gpu/drm/i915/i915_reg.h
parentdrm/i915: add proper CPU/PCH checks to crtc_mode_set functions (diff)
downloadkernel-qcow2-linux-ee2b0b382a7e6cbf3549559ec7dc86c63f5aa3d1.tar.gz
kernel-qcow2-linux-ee2b0b382a7e6cbf3549559ec7dc86c63f5aa3d1.tar.xz
kernel-qcow2-linux-ee2b0b382a7e6cbf3549559ec7dc86c63f5aa3d1.zip
drm/i915: add haswell_set_pipeconf
It's a copy of ironlake_set_pipeconf with 2 differences: - There is no BPC field to set. - The interlaced mask is now 2 bits instead of 3. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index d1b58d047e76..fd9a319b86a7 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -2639,6 +2639,7 @@
#define PIPECONF_GAMMA (1<<24)
#define PIPECONF_FORCE_BORDER (1<<25)
#define PIPECONF_INTERLACE_MASK (7 << 21)
+#define PIPECONF_INTERLACE_MASK_HSW (3 << 21)
/* Note that pre-gen3 does not support interlaced display directly. Panel
* fitting must be disabled on pre-ilk for interlaced. */
#define PIPECONF_PROGRESSIVE (0 << 21)