• Clint Taylor's avatar
    drm/i915: Enable pixel replicated modes on BDW and HSW. · ebb69c95
    Clint Taylor authored
    Haswell and later silicon has added a new pixel replication register
    to the pipe timings for each transcoder. Now in addition to the
    DPLL_A_MD register for the pixel clock double, we also need to write
    to the TRANS_MULT_n (0x6002c) register to double the pixel data. Writing
    to the DPLL only double the pixel clock.
    
    ver2: Macro name change from MULTIPLY to PIPE_MULTI. (Daniel)
    ver3: Do not set pixel multiplier if transcoder is eDP (Ville)
    ver4: Macro name change to PIPE_MULT and default else pixel_multiplier
    
    Cc: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= <ville.syrjala@linux.intel.com>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: default avatarClint Taylor <clinton.a.taylor@intel.com>
    Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
    [danvet: Appease checkpatch and move one hunk back into the right
    place that git am misplace!?]
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    ebb69c95
intel_display.c 380 KB