]> git.baikalelectronics.ru Git - kernel.git/commit
drm: omapdrm: Store the rotation property in dev->mode_config
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Mar 2015 15:16:43 +0000 (17:16 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:44 +0000 (22:52 +0300)
commit5b833eaaf9ebfbba3ca542ed1bd657b34ea012d2
tree6294741b5af173bf15e9d708644dbb07a6be113e
parent1154ee87b1dc99f62882e322305346628d2a9e93
drm: omapdrm: Store the rotation property in dev->mode_config

Rotation is a standard property, store it in
dev->mode_config.rotation_property. While at it, extract the properties
initialization code to a separate function instead of running it for
every plane.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/gpu/drm/omapdrm/omap_plane.c