Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307413
b: refs/heads/master
c: 60c5ea2
h: refs/heads/master
i:
  307411: dd3482f
v: v3
  • Loading branch information
Paulo Zanoni authored and Daniel Vetter committed May 8, 2012
1 parent 5c90f9a commit f4266b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ecb978515c88183b111b8994acd6b572b1361a72
refs/heads/master: 60c5ea2dd981d929d873823433294b991d3e3cd8
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/i915/i915_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ static void i9xx_write_infoframe(struct drm_encoder *encoder,
}

val |= intel_infoframe_enable(frame);
val &= ~VIDEO_DIP_FREQ_MASK;
val |= intel_infoframe_frequency(frame);

I915_WRITE(VIDEO_DIP_CTL, val);
Expand Down Expand Up @@ -203,6 +204,7 @@ static void ironlake_write_infoframe(struct drm_encoder *encoder,
}

val |= intel_infoframe_enable(frame);
val &= ~VIDEO_DIP_FREQ_MASK;
val |= intel_infoframe_frequency(frame);

I915_WRITE(reg, val);
Expand Down Expand Up @@ -236,6 +238,7 @@ static void vlv_write_infoframe(struct drm_encoder *encoder,
}

val |= intel_infoframe_enable(frame);
val &= ~VIDEO_DIP_FREQ_MASK;
val |= intel_infoframe_frequency(frame);

I915_WRITE(reg, val);
Expand Down

0 comments on commit f4266b7

Please sign in to comment.