]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Set sync polarity from adjusted mode for TRANS_DP_CTL
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Oct 2015 19:25:51 +0000 (21:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Nov 2015 14:22:53 +0000 (16:22 +0200)
commit3ff8d35d7d6b2859769618e4cf6187ad2b99bcf4
tree6ce2ffb362bc6efc1f5cd28fb9035f05015adea6
parent515ee6cc1242fa0629b7328778ee35768eb1a708
drm/i915: Set sync polarity from adjusted mode for TRANS_DP_CTL

Rather than looking at crtc->mode (which is the user mode) dig up the
sync polarity settings from the adjusted_mode when programming
TRANS_DP_CTL on CPT/PPT.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446146763-31821-3-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/intel_display.c