summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-12-12 12:47:56 +0300
committerRob Clark <robdclark@gmail.com>2017-02-06 19:28:44 +0300
commit106f9727dda49e8047d56b4916e912cff30d4bff (patch)
treeba08972f2109fcc1e116a23951cccd0b32839974 /init
parente5366ffe50cc1fff906d7bb45a670861a2174395 (diff)
downloadlinux-106f9727dda49e8047d56b4916e912cff30d4bff.tar.xz
drm/msm/mdp5: Prepare CRTC/LM for empty stages
Use SSPP_NONE in mdp5_plane_pipe() if there is now hwpipe allocated for the drm_plane. Returning '0' means we are returning VIG0 pipe. Also, use the mdp5_pipe enum to pass around the stage array. Initialize the stage to SSPP_NONE by default. We do the above because 1) Cursor plane has to be staged at the topmost blender of the LM, which can result in empty stages in between 2) In the future, when we support multiple LMs per CRTC. We could have stages which don't have any pipe assigned to them. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions