drm: mali-dp: Refactor plane initialisation
authorBrian Starkey <brian.starkey@arm.com>
Tue, 11 Oct 2016 14:26:07 +0000 (15:26 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 4 Nov 2016 17:09:19 +0000 (17:09 +0000)
commit15807780684646949ba9e8f6f56cc3542b04c1ae
tree6bab2c4e495e862c220ca6f56035acb48ce6d3f5
parentde9c4810abc6a2e38c93a31bddfa9c0a502f7212
drm: mali-dp: Refactor plane initialisation

As we add more features, it makes sense to skip all the features not
supported by the smart layer together, instead of checking each one
individually. Achieve this by refactoring the plane init loop.

Signed-off-by: Brian Starkey <brian.starkey@arm.com>
[re-factor code after upstream changed rotation property to be per-plane]
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_planes.c