drm/msm/mdp5: use 2 memory clients for YUV formats on newer mdp5
authorWentao Xu <wentaox@codeaurora.org>
Mon, 6 Jul 2015 20:35:30 +0000 (16:35 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:19 +0000 (18:27 -0400)
commit9cc137a3ffa3162a0d5af822149a5cec1b42c24e
tree830712f2bc8db685462047ad520dea49e66deb54
parentff78a6b3771f48d1d5585e5d08ab4ae6fd606ab0
drm/msm/mdp5: use 2 memory clients for YUV formats on newer mdp5

Newer MDP5 uses 2 shared memory pool clients for certain YUV formats.
For example, if VIG0 is used to fetch data in YUYV format, it will use
VIG0_Y for Y component, and VIG0_Cr for UV packed.

Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
[rebase]
Signed-off-by: Stephane Viau <sviau@codeaurora.org>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.h