DRM database property: CTM

Back to index

Details

Name
CTM
Flags
<none>
Type
blob
Attached to
CRTC
Specification
<none>

Documentation

Blob property to set the current transformation matrix (CTM) apply to
pixel data after the lookup through the degamma LUT and before the
lookup through the gamma LUT. The data is interpreted as a struct
&drm_color_ctm.

Setting this to NULL (blob property value set to 0) means a
unit/pass-thru matrix should be used. This is generally the driver
boot-up state too. Drivers can access the blob for the color conversion
matrix through &drm_crtc_state.ctm.

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
✗ mgag200
✓ msm
✗ msm_drm
✗ mxsfb-drm
✓ nouveau
✓ nvidia-drm
✗ omapdrm
✗ panel-mipi-dbi
✗ pvr
✗ qxl
✗ radeon
✗ rcar-du
✗ rockchip
✗ rvdisplay
✗ simpledrm
✗ smifb
✗ spacemit
✗ starfive
✗ stm
✗ sun4i-drm
✗ sunxi-drm
✗ tegra
✗ tilcdc
✗ v3d
✗ vboxvideo
✓ vc4
✗ virtio_gpu
✗ vivante
✗ vkms
✗ vmwgfx
✗ vs-drm
✓ xe
✗ xlnx