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)
commit95651cd926bfa37036d7011a65421ab0db1b4959
tree8954e4dd1013b4e2e47520126fea394f3292e9bb
parent0afbe59edd3fd3618da67b4835b57ebcc4ac3abd
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