DRM database property: IN_FORMATS

Back to index

Details

Name
IN_FORMATS
Flags
immutable
Type
blob
Attached to
plane
Specification
<none>

Documentation

Blob property which contains the set of buffer format and modifier
pairs supported by this plane. The blob is a struct
drm_format_modifier_blob. Without this property the plane doesn't
support buffers with modifiers. Userspace cannot change this property.

Note that userspace can check the &DRM_CAP_ADDFB2_MODIFIERS driver
capability for general modifier support. If this flag is set then every
plane will have the IN_FORMATS property, even when it only supports
DRM_FORMAT_MOD_LINEAR. Before linux kernel release v5.1 there have been
various bugs in this area with inconsistencies between the capability
flag and per-plane properties.

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