Skip to content

Commit 0bff93e

Browse files
panel: parse qcom,mdss_mdp3 for msm8909 devices
1 parent 7be56b6 commit 0bff93e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

panel.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,10 @@ def parse(fdt: Fdt2, node: int) -> Panel:
315315

316316
@staticmethod
317317
def find(fdt: Fdt2) -> Iterator[int]:
318-
for mdp in fdt.find_by_compatible('qcom,mdss_mdp'):
319-
for sub in fdt.subnodes(mdp):
320-
yield sub
321-
322-
for mdp in fdt.find_by_compatible('qcom,sde-kms'):
323-
for sub in fdt.subnodes(mdp):
324-
yield sub
318+
for compatible in ['qcom,mdss_mdp', 'qcom,mdss_mdp3', 'qcom,sde-kms']:
319+
for mdp in fdt.find_by_compatible(compatible):
320+
for sub in fdt.subnodes(mdp):
321+
yield sub
325322

326323
# Newer device trees do not necessarily have panels below MDP,
327324
# search for qcom,dsi-display node instead

0 commit comments

Comments
 (0)