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>
This commit is contained in:
@@ -65,7 +65,7 @@ static void omap_plane_atomic_update(struct drm_plane *plane,
|
||||
|
||||
memset(&info, 0, sizeof(info));
|
||||
info.rotation_type = OMAP_DSS_ROT_NONE;
|
||||
info.rotation = OMAP_DSS_ROT_0;
|
||||
info.rotation = DRM_MODE_ROTATE_0;
|
||||
info.global_alpha = 0xff;
|
||||
info.mirror = 0;
|
||||
info.zorder = state->zpos;
|
||||
|
Reference in New Issue
Block a user