]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Update SSPP_MAX value
authorArchit Taneja <architt@codeaurora.org>
Fri, 17 Mar 2017 03:39:48 +0000 (09:09 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:33 +0000 (06:59 -0400)
commite979d5860083f8d6948b834d99f9cfd6512f7a7c
tree7e3eb473f17e6668e45237074feecdfbd4dd9d15
parent36bb3f67bc16cffbff15f8ea0828beb986d4b342
drm/msm/mdp5: Update SSPP_MAX value

'SSPP_MAX + 1' is the max number of hwpipes that can be present on a
MDP5 platform. Recently, 2 new cursor hwpipes were added, which
caused overflows in arrays that used SSPP_MAX to represent the number
of elements. Update the SSPP_MAX value to incorporate the extra
hwpipes.

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