OK3568 4.19.206 Display Color Temperature Adjustment

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Revision History

Date

Version

Revision History

04/08/2022

V1.0

Initial Version

Display Color Temperature Adjustment

Modify the default values in the driver file kernel/drivers/gpu/drm/rockchip/rockchip_drm_drv.c:

Image

hue corresponds to color tone

saturation corresponds to saturation

contrast corresponds to contrast

brightness corresponds to brightness

You can use the modetest command in the terminal to test appropriate values:

  1. Check the display ID

For example, if an LVDS display is connected, its ID may be 152.

Image

  1. Adjust parameters via command

modetest -M rockchip -a -w 152:hue:0

modetest -M rockchip -a -w 152:hue:100

modetest -M rockchip -a -w 152:hue:50

Use the following commands to test and observe changes in screen color temperature:

Note:

hue corresponds to color tone;

saturation corresponds to saturation;

contrast corresponds to contrast;

brightness corresponds to brightness.