DRM database property: scaling mode

Back to index

Details

Name
scaling mode
Flags
<none>
Type
enum
Attached to
connector
Specification
{"Full", "Center", "Full aspect", "None"}

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

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