• Rob Clark's avatar
    drm/msm: add mdp5/apq8x74 · 06c0dd96
    Rob Clark authored
    Add support for the new MDP5 display controller block.  The mapping
    between parts of the display controller and KMS is:
    
      plane   -> PIPE{RGBn,VIGn}             \
      crtc    -> LM (layer mixer)            |-> MDP "device"
      encoder -> INTF                        /
      connector -> HDMI/DSI/eDP/etc          --> other device(s)
    
    Unlike MDP4, it appears we can get by with a single encoder, rather
    than needing a different implementation for DTV, DSI, etc.  (Ie. the
    register interface is same, just different bases.)
    
    Also unlike MDP4, all the IRQs for other blocks (HDMI, DSI, etc) are
    routed through MDP.
    
    And finally, MDP5 has this "Shared Memory Pool" (called "SMP"), from
    which blocks need to be allocated to the active pipes based on fetch
    stride.
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    06c0dd96
mdp5_smp.c 5.22 KB