]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf0b2d085a9d0a21383759cc88bd2b873578414a
tree5f600ab5e2126e131141f325a89e5bbab93dda24
parent75e951d26051829d82ca7d6702d391cbcee85eff
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