Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174550
b: refs/heads/master
c: d271817
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson authored and Eric Anholt committed Nov 30, 2009
1 parent f9ad4e4 commit 107708d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9bedb9743fd906e4160468663ee6e1bbdc4412b8
refs/heads/master: d271817baecbccb47da0d9f28c285a0dae8a06b7
11 changes: 4 additions & 7 deletions trunk/drivers/gpu/drm/i915/intel_tv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1213,20 +1213,17 @@ intel_tv_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode,
tv_ctl |= TV_TRILEVEL_SYNC;
if (tv_mode->pal_burst)
tv_ctl |= TV_PAL_BURST;

scctl1 = 0;
/* dda1 implies valid video levels */
if (tv_mode->dda1_inc) {
if (tv_mode->dda1_inc)
scctl1 |= TV_SC_DDA1_EN;
}

if (tv_mode->dda2_inc)
scctl1 |= TV_SC_DDA2_EN;

if (tv_mode->dda3_inc)
scctl1 |= TV_SC_DDA3_EN;

scctl1 |= tv_mode->sc_reset;
scctl1 |= video_levels->burst << TV_BURST_LEVEL_SHIFT;
if (video_levels)
scctl1 |= video_levels->burst << TV_BURST_LEVEL_SHIFT;
scctl1 |= tv_mode->dda1_inc << TV_SCDDA1_INC_SHIFT;

scctl2 = tv_mode->dda2_size << TV_SCDDA2_SIZE_SHIFT |
Expand Down

0 comments on commit 107708d

Please sign in to comment.