drm/i915: extend lpt_enable_clkout_dp
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 23 Jul 2013 14:19:24 +0000 (11:19 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Jul 2013 08:37:09 +0000 (10:37 +0200)
commit2fa86a1fea14c3019b2de16ea47e1a5363c60905
tree303fe032dbf809d94ca8cefc8814b6ce2a308f76
parentbc6bc15bd7d6bbe3dd2da65d1a81a6dec5d0fa94
drm/i915: extend lpt_enable_clkout_dp

Now it implements 3 different sequences from BSpec and also has
support for ULT.

v2: - Change IS_ULT checks for LPT-LP checks
    - Add check for LPT-LP + with_fdi (Ben)
    - Merge DBUFF0/GEN0 bit definitions since they're the same
      register (Ben)
    - DBUFF0 (1<<0) is Disable, not Enable

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/i915_reg.h
drivers/gpu/drm/i915/intel_display.c