DRM database property: rotation

Back to index

Details

Name
rotation
Flags
<none>
Type
bitmask
Attached to
plane
Specification
{"rotate-0", "rotate-180", "reflect-x", "reflect-y", "rotate-90", "rotate-270"}

Documentation

Rotation is set up with drm_plane_create_rotation_property(). It adds a
rotation and reflection step between the source and destination rectangles.
Without this property the rectangle is only scaled, but not rotated or
reflected.

Possbile values:

"rotate-<degrees>":
	Signals that a drm plane is rotated <degrees> degrees in counter
	clockwise direction.

"reflect-<axis>":
	Signals that the contents of a drm plane is reflected along the
	<axis> axis, in the same way as mirroring.

reflect-x::

		|o |    | o|
		|  | -> |  |
		| v|    |v |

reflect-y::

		|o |    | ^|
		|  | -> |  |
		| v|    |o |

Driver support

amdgpu
ast
evdi
exynos
gma500
i915
imx-drm
kirin
meson
msm
mxsfb-drm
nouveau
omapdrm
qxl
radeon
rockchip
sun4i-drm
vc4
virtio_gpu
vkms
vmwgfx