OSDN Git Service

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)
commit30512040ed8e1982e5ba16bb3e3a7f000ff65427
tree549d3611242a8273d3c20f9606ebf6881badedfa
parenta5fef535c529b64b622f9d7eafb3ab86850f5f8f
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