]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: use DRM_MODE_ROTATE_* instead of OMAP_DSS_ROT_*
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 16 May 2017 08:05:09 +0000 (11:05 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 08:05:32 +0000 (11:05 +0300)
commitbd929a5057a07f9f7eebff39f1f3985c05a5831f
tree2cf19d4c4d1b8adf187e463cd2f7a54c09826bba
parentd04f3460ff2866f13f5d1a625326a3697eda7f33
drm/omap: use DRM_MODE_ROTATE_* instead of OMAP_DSS_ROT_*

At the moment the dispc driver uses a custom enum for rotation. Change
it to use the DRM's DRM_MODE_ROTATE_*.

Note that mirroring is at the moment handled as a separate boolean in
the dispc driver, so we only use the DRM_MODE_ROTATE_* values.

Note, DSS HW uses clockwise rotation, DRM counter-clockwise.

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