]> 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>
Mon, 3 Apr 2017 20:09:36 +0000 (16:09 -0400)
commit9b2aa76b07f890d4616f4844917201c6383f41a2
tree549d3611242a8273d3c20f9606ebf6881badedfa
parentb07bed405ff11b61f6a9c5e07a8f3b124914dfa6
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