• Archit Taneja's avatar
    drm/msm/mdp5: Prepare Layer Mixers for source split · ed78560d
    Archit Taneja authored
    In order to enable Source Split in HW, we need to add/modify
    a few LM register configurations:
    
    - Configure the LM width to be half the mode width, so that
      each LM manages one half of the scanout.
    - Tell the 'right' LM that it is configured to be the 'right'
      LM in source split mode.
    - Since we now have 2 places where REG_MDP5_LM_BLEND_COLOR_OUT is
      configured, do a read-update-store for the register instead of
      directly writing a value to it.
    Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    ed78560d
mdp5_crtc.c 29.9 KB