]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: add drm_rotation_to_tiler helper()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 15 May 2017 09:57:46 +0000 (12:57 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 08:04:07 +0000 (11:04 +0300)
commit6e50a34f7f85435d718537b39318e266db42963a
treebbf72ddaa42c2a22457be9a23c38dccf7743cee0
parent6d7f735c77de82335058edf55da9f71a2588e97e
drm/omap: add drm_rotation_to_tiler helper()

Add a helper function to convert DRM rotation to TILER rotation.

Also drop a error print that can never happen, as the DRM framework
makes sure the rotation is valid.

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