modetest

Linux Drivers

Release Date
2023-07-22

Modetest is a test tool which can be found as part of the libdrm suite of test tools. We will use this tool to ensure proper configuration and operation of the Mixer IP. Modetest can be used to activate overlay layers and alter layer properties (e.g. layer alpha, layer scaling, background color) & coefficient register programming for csc by passing color encoding and range properties. Following table captures the property values of encoding and range .

COLOR_ENCODING Value COLOR_RANGE Value
DRM_COLOR_YCBCBR_BT601 0 DRM_COLOR_YCBCR_LIMITED_RANGE 0
DRM_COLOR_YCBCR_BT709 1 DRM_COLOR_YCBCR_FULL_RANGE 1
DRM_COLOR_YCBCR_BT2020 2