summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorPaulo Zanoni2012-05-04 22:18:22 +0200
committerDaniel Vetter2012-05-08 14:15:59 +0200
commit60c5ea2dd981d929d873823433294b991d3e3cd8 (patch)
tree597935f9f440fd7b7b9438601141a7cef781b9c1 /drivers/gpu/drm/i915/i915_reg.h
parentdrm/i915: disable the infoframe before changing it (diff)
downloadkernel-qcow2-linux-60c5ea2dd981d929d873823433294b991d3e3cd8.tar.gz
kernel-qcow2-linux-60c5ea2dd981d929d873823433294b991d3e3cd8.tar.xz
kernel-qcow2-linux-60c5ea2dd981d929d873823433294b991d3e3cd8.zip
drm/i915: mask the video DIP frequency when changing it
Better safe than sorry. Currently we never change the frequency and use the same for every infoframe type, so the only way to reproduce a bug would be with the BIOS doing something. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@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 71e7af91f1b1..ce6e64dd00ff 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -1711,6 +1711,7 @@
#define VIDEO_DIP_FREQ_ONCE (0 << 16)
#define VIDEO_DIP_FREQ_VSYNC (1 << 16)
#define VIDEO_DIP_FREQ_2VSYNC (2 << 16)
+#define VIDEO_DIP_FREQ_MASK (3 << 16)
/* Panel power sequencing */
#define PP_STATUS 0x61200