drm/msm/mdp5: Configure 'right' hwpipe
authorArchit Taneja <architt@codeaurora.org>
Thu, 23 Mar 2017 10:28:11 +0000 (15:58 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:35 +0000 (06:59 -0400)
commitc26b4f6cfb2774d13f9ae41cbaaf30f30ac417c6
tree5f600ab5e2126e131141f325a89e5bbab93dda24
parent7a10ee9b579e04241f981d8e237124aa8762c4c4
drm/msm/mdp5: Configure 'right' hwpipe

Now that we have a right hwpipe in mdp5_plane_state, configure it
mdp5_plane_mode_set(). The only parameters that vary between the
left and right hwpipes are the src_w, src_img_w, src_x and crtc_x
as we just even chop the fb into left and right halves.

Add a mdp5_plane_right_pipe() which will be used by the crtc code
to set up LM stages.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c