• Paulo Zanoni's avatar
    drm/i915: add lpt_init_pch_refclk · dde86e2d
    Paulo Zanoni authored
    We need this code to init the PCH SSC refclk and the FDI registers.
    The BIOS does this too and that's why VGA worked before this patch,
    until you tried to suspend the machine...
    
    This patch implements the "Sequence to enable CLKOUT_DP for FDI usage
    and configure PCH FDI/IO" from our documentation.
    
    v2:
    - Squash Damien Lespiau's reset spelling fix on top.
    - Add a comment that we don't need to bother about the ULT special
      case Damien noticed, since ULT won't have VGA.
    - Add a comment to rip out the SDV codepaths once haswell ships for
      real.
    
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> (v1)
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    dde86e2d
i915_drv.c 37.3 KB