• Vandana Kannan's avatar
    drm/i915/bxt: add display initialize/uninitialize sequence (PHY) · 5c6706e5
    Vandana Kannan authored
    Add PHY specific display initialization sequence as per BSpec.
    
    Note that the PHY initialization/uninitialization are done
    at their current place only for simplicity, in a future patch - when more
    of the runtime PM features will be enabled - these will be moved to
    power well#1 and modeset encoder enabling/disabling hooks respectively.
    
    The call to uninitialize the PHY during system/runtime suspend will be
    added later in this patchset.
    
    v1: Added function definitions in header files
    v2: Imre's review comments addressed
    - Moved CDCLK related definitions to i915_reg.h
    - Removed defintions for CDCLK frequency
    - Split uninit_cdclk() by adding a phy_uninit function
    - Calculate freq and decimal based on input frequency
    - Program SSA precharge based on input frequency
    - Use wait_for 1ms instead 200us udelay for DE PLL locking
    - Removed initial value for divider, freq, decimal, ratio.
    - Replaced polling loops with wait_for
    - Parameterized latency opt...
    5c6706e5
i915_reg.h 286 KB