Skip to content

Commit 89c5d08

Browse files
committed
driver: Set panel prepare_prev_first
When using DRM_PANEL_BRIDGE we want the previous bridge (the DSI host) to prepare before the panel, so that we are able to send DSI commands to the panel. Without this flag submitting DSI commands fails.
1 parent 8b9c57c commit 89c5d08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ def generate_probe(p: Panel, options: Options) -> str:
374374
375375
drm_panel_init(&ctx->panel, dev, &{p.short_id}_panel_funcs,
376376
DRM_MODE_CONNECTOR_DSI);
377+
ctx->panel.prepare_prev_first = true;
377378
'''
378379

379380
if options.backlight_fallback_dcs:

0 commit comments

Comments
 (0)