]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panel: nt35510: Make new commands optional
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 8 Sep 2024 21:50:30 +0000 (23:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 22 Sep 2024 20:16:22 +0000 (22:16 +0200)
commit2418aa8516b26c5e332a1a8c216d4d620f965a56
tree8b31aba69f2459d3a2f3dbf7f8a3068e2889c083
parentf673055a46784ccea04465b9213e999f7bc5187e
drm/panel: nt35510: Make new commands optional

The commit introducing the Frida display started to write the
SETVCMOFF registers unconditionally, and some (not all!) Hydis
display seem to be affected by ghosting after the commit.

Make SETVCMOFF optional and only send these commands on the
Frida display for now.

Reported-by: Stefan Hansson <newbyte@postmarketos.org>
Fixes: 219a1f49094f ("drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK")
Acked-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Tested-by: Stefan Hansson <newbyte@postmarketos.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240908-fix-nt35510-v2-1-d4834b9cdb9b@linaro.org
drivers/gpu/drm/panel/panel-novatek-nt35510.c