]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit87878d2627a5fe1668591f7767306ee81693593f
tree7e3eb473f17e6668e45237074feecdfbd4dd9d15
parent8e25a0e266b05f414a63bf04b30d9a7e085e94fc
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