]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: ti-sn65dsi83: add test pattern generation support
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Thu, 16 Apr 2026 13:59:55 +0000 (15:59 +0200)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Mon, 4 May 2026 10:20:03 +0000 (12:20 +0200)
commit55a412e3a78104036bbb1036e2ebe8fa4fb41770
tree3991791ae079af05d981d77bfccd758fa933ef71
parent528578941a240e0916942bbb5b910c57bbfb3614
drm/bridge: ti-sn65dsi83: add test pattern generation support

Generation of a test pattern output is a useful tool for panel bringup and
debugging, and very simple to support with this chip.

The value of REG_VID_CHA_ACTIVE_LINE_LENGTH_LOW needs to be divided by two
for the test pattern to work in dual LVDS mode. While not clearly stated in
the datasheet, this is needed according to the DSI Tuner [0] output. And
some dual-LVDS panels refuse to show any picture without this division by
two.

[0] https://www.ti.com/tool/DSI-TUNER

Reviewed-by: Louis Chauvet <louis.chauvet@boootlin.com>
Link: https://patch.msgid.link/20260416-ti-sn65dsi83-dual-lvds-fixes-and-test-pattern-v3-1-143886aebc6b@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/bridge/ti-sn65dsi83.c