Skip to content

Commit 850eae9

Browse files
committed
panel: Chain in post-panel-on-command
This is a perfect contended for the `.prepare()` -> `.enable()` split; on Sony panels the unblank command is typically in `post-panel-on` to make it happen after the panel is prepared, the bridge is on, and pixel data is flowing. Without this pretty much all our panels are generated with a driver that never unblanks the panel.
1 parent 89c5d08 commit 850eae9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

panel.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ def __init__(self, fdt: Fdt2, node: int, cmd: str) -> None:
151151
if init:
152152
itr = itertools.chain(init, itr)
153153

154+
on = fdt.getprop_or_none(node, 'qcom,mdss-dsi-post-panel-on-command')
155+
if on:
156+
itr = itertools.chain(itr, on)
157+
154158
on = fdt.getprop_or_none(node, 'lge,display-on-cmds')
155159
if on:
156160
itr = itertools.chain(itr, on)

0 commit comments

Comments
 (0)