[PATCH] staging: drm/omap: add rotation properties
Tomi Valkeinen
tomi.valkeinen at ti.com
Fri Jun 29 03:46:03 PDT 2012
On Wed, 2012-06-27 at 09:06 -0500, Rob Clark wrote:
> From: Rob Clark <rob at ti.com>
>
> Use tiled buffers for rotated/reflected scanout, with CRTC and plane
> properties as the interface for userspace to configure rotation.
>
> Signed-off-by: Rob Clark <rob at ti.com>
> +/* this should probably be in drm-core to standardize amongst drivers */
> +#define DRM_ROTATE_0 0
> +#define DRM_ROTATE_90 1
> +#define DRM_ROTATE_180 2
> +#define DRM_ROTATE_270 3
> +#define DRM_REFLECT_X 4
> +#define DRM_REFLECT_Y 5
Are both reflect X and Y needed? You can get all the possible
orientations with just one of the reflects.
And I think the word "mirror" represents nicely what the reflect does,
i.e. if you look at the mirror, the image you see is flipped
horizontally.
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120629/8c147b25/attachment.pgp>
More information about the dri-devel
mailing list