]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Use the newly introduced enum mdp_component_type
authorStephane Viau <sviau@codeaurora.org>
Tue, 15 Sep 2015 12:41:51 +0000 (08:41 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 22 Oct 2015 19:39:56 +0000 (15:39 -0400)
commitbe1becf048cbbbf9952bbdb6014583c1ab159624
tree8954e4dd1013b4e2e47520126fea394f3292e9bb
parent8330eb14fccec6554434bbe8977a6ea85cfbebb2
drm/msm/mdp5: Use the newly introduced enum mdp_component_type

When calculating phase steps, let's use the same enum
mdp_component_type in order to ease the readability; 0/1 indexes
are a bit confusing and we now have explicit values to index
this type of arrays.

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c