~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal

« back to all changes in this revision

Viewing changes to drivers/gpu/drm/i915/intel_sdvo.c

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-04kado7d1u2er2rl
Tags: 3.2.0-16.25
Add new lowlatency kernel flavour

Show diffs side-by-side

added added

removed removed

Lines of Context:
1066
1066
 
1067
1067
        /* Set the SDVO control regs. */
1068
1068
        if (INTEL_INFO(dev)->gen >= 4) {
1069
 
                sdvox = 0;
 
1069
                /* The real mode polarity is set by the SDVO commands, using
 
1070
                 * struct intel_sdvo_dtd. */
 
1071
                sdvox = SDVO_VSYNC_ACTIVE_HIGH | SDVO_HSYNC_ACTIVE_HIGH;
1070
1072
                if (intel_sdvo->is_hdmi)
1071
1073
                        sdvox |= intel_sdvo->color_range;
1072
1074
                if (INTEL_INFO(dev)->gen < 5)
1073
1075
                        sdvox |= SDVO_BORDER_ENABLE;
1074
 
                if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC)
1075
 
                        sdvox |= SDVO_VSYNC_ACTIVE_HIGH;
1076
 
                if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC)
1077
 
                        sdvox |= SDVO_HSYNC_ACTIVE_HIGH;
1078
1076
        } else {
1079
1077
                sdvox = I915_READ(intel_sdvo->sdvo_reg);
1080
1078
                switch (intel_sdvo->sdvo_reg) {