diff options
| author | Vladimir Zapolskiy <vz@kernel.org> | 2026-11-01 23:24:57 +0200 |
|---|---|---|
| committer | Neil Armstrong <neil.armstrong@linaro.org> | 2026-11-02 14:42:02 +0100 |
| commit | 00fe6be187ffde738fdb71ea7deb671fc939e583 (patch) | |
| tree | 816225b385baaec9f82bf24623e26d8da56213d1 /scripts | |
| parent | 994ba6e5c87d6a3d471ea987fe8622168f092334 (diff) | |
| download | linux-next-00fe6be187ffde738fdb71ea7deb671fc939e583.tar.gz linux-next-00fe6be187ffde738fdb71ea7deb671fc939e583.zip | |
drm/panel: visionox-r66451: Send the brightness value MSB first
The panel expects to get two bytes of the DCS Set Display Brightness
command with the most significant byte first, and it uses the lower
12 bits of the value, use mipi_dsi_dcs_set_display_brightness_large()
to correct the programmed brightness values.
Tested on the SM8350-HDK display card, the display brightness increases
gradually with:
for v in $(seq 16 16 4095); do sleep 0.1; \
echo $v > /sys/class/backlight/ae94000.dsi.0/brightness; \
done
while without the change the display is dark during all writes.
Fixes: a6dfab2738fc ("drm/panel: Add driver for Visionox r66451 panel")
Signed-off-by: Vladimir Zapolskiy <vz@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20261101212458.2431191-2-vz@kernel.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
