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
amdgpu
apple
ast
bochs-drm
drm-rp1-dsi
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
sunxi-drm
tegra
tilcdc
vboxvideo
vc4
virtio_gpu
vkms
vmwgfx
xe
xlnx