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

adp
amdgpu
apple
ast
bochs-drm
evdi
exynos
gma500
i915
imx-dcss
imx-drm
imx-lcdif
kirin
mediatek
meson
msm
mxsfb-drm
nouveau
nvidia-drm
omapdrm
panel-mipi-dbi
pvr
qxl
radeon
rcar-du
rockchip
simpledrm
starfive
sun4i-drm
tegra
tilcdc
vboxvideo
vc4
virtio_gpu
vkms
vmwgfx
xe
xlnx