DRM database property: scaling mode
Back to index
Details
- Name
scaling mode
- Flags
- <none>
- Type
- enum
- Attached to
- connector
- Specification
- {"None", "Full", "Center", "Full aspect"}
Documentation
This property defines how a non-native mode is upscaled to the native
mode of an LCD panel:
None:
No upscaling happens, scaling is left to the panel. Not all
drivers expose this mode.
Full:
The output is upscaled to the full resolution of the panel,
ignoring the aspect ratio.
Center:
No upscaling happens, the output is centered within the native
resolution the panel.
Full aspect:
The output is upscaled to maximize either the width or height
while retaining the aspect ratio.
This property should be set up by calling
drm_connector_attach_scaling_mode_property(). Note that drivers
can also expose this property to external outputs, in which case they
must support "None", which should be the default (since external screens
have a built-in scaler).
Driver support
✗
adp
✗
apple
✗
ast
✗
bochs-drm
✗
drm-rp1-dsi
✗
evdi
✗
exynos
✗
imx-dcss
✗
imx-drm
✗
imx-lcdif
✗
jmgpu
✗
kirin
✗
mediatek
✗
meson
✗
mga2
✗
msm
✗
mxsfb-drm
✗
nvidia-drm
✗
omapdrm
✗
panel-mipi-dbi
✗
pvr
✗
qxl
✗
rcar-du
✗
rockchip
✗
simpledrm
✗
smifb
✗
spacemit
✗
starfive
✗
sun4i-drm
✗
sunxi-drm
✗
tegra
✗
tilcdc
✗
vboxvideo
✗
vc4
✗
virtio_gpu
✗
vkms
✗
vmwgfx
✗
vs-drm
✗
xe
✗
xlnx