]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: disable CLKOUT_DP when it's not needed
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 23 Jul 2013 14:19:25 +0000 (11:19 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Jul 2013 08:37:09 +0000 (10:37 +0200)
commit47701c3ba26cb33ebe8a5e899ec922ab0de621a3
treea1e377050eb9359f568b3ed558375d20cd8b4e64
parent2fa86a1fea14c3019b2de16ea47e1a5363c60905
drm/i915: disable CLKOUT_DP when it's not needed

We currently don't support HDMI clock bending nor use SSC for DP or
HDMI on Haswell, so the only case where we need CLKOUT_DP is for VGA.

v2: - Replace the IS_ULT check for LPT-LP
    - Simplify GEN0/DBUFF0 check due to change on the previous patch
    - Also check for SBI_SSCCTL_DISABLE (Ben).

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c