]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Stage border out on base stage if CRTC has 2 LMs
authorArchit Taneja <architt@codeaurora.org>
Thu, 23 Mar 2017 10:28:14 +0000 (15:58 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:36 +0000 (06:59 -0400)
commit3485df8ac04347d51b13d7601c8672b1027f5ff0
treeb7b564b7b73a313a7ff713205ad6b0208c746c2a
parentc08e95c00ad515417bf0e823e8e466d4124ef8e6
drm/msm/mdp5: Stage border out on base stage if CRTC has 2 LMs

If a CRTC comprises of 2 LMs, it is mandatory to enable border out
and assign it to the base stage.

We had to enable border out also when the base plane wasn't fullscreen.
Club these checks and put them in a separate function called
get_start_stage() that returns the starting stage for assigning planes.

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