DRM database property: panel orientation

Back to index

Details

Name
panel orientation
Flags
immutable
Type
enum
Attached to
connector
Specification
{"Normal", "Upside Down", "Left Side Up", "Right Side Up"}

Documentation

On some devices the LCD panel is mounted in the casing in such a way
that the up/top side of the panel does not match with the top side of
the device. Userspace can use this property to check for this.
Note that input coordinates from touchscreens (input devices with
INPUT_PROP_DIRECT) will still map 1:1 to the actual LCD panel
coordinates, so if userspace rotates the picture to adjust for
the orientation it must also apply the same transformation to the
touchscreen input coordinates. This property is initialized by calling
drm_connector_set_panel_orientation() or
drm_connector_set_panel_orientation_with_quirk()

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