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
drm-rp1-dsi
evdi
exynos
gma500
i915
imx-dcss
imx-drm
imx-lcdif
jmgpu
kirin
mediatek
meson
mga2
msm
mxsfb-drm
nouveau
nvidia-drm
omapdrm
panel-mipi-dbi
pvr
qxl
radeon
rcar-du
rockchip
simpledrm
smifb
spacemit
starfive
sun4i-drm
sunxi-drm
tegra
tilcdc
vboxvideo
vc4
virtio_gpu
vkms
vmwgfx
vs-drm
xe
xlnx