Skip to content

Commit

Permalink
fixup! arm64: dts: qcom: sdm660-xiaomi-lavender: Split by display
Browse files Browse the repository at this point in the history
  • Loading branch information
minlexx committed Jul 14, 2024
1 parent 6d07b94 commit 3c11dca
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,22 @@

/* In order to allow simledrm framebuffer to know
* physical dimensions */
panel = <&panel>;
panel = <&fb_panel>;

/* HACK:
* Fake panel node for simple-framebuffer to calculate DPI from. Only
* needs width & height specified. This allows us to break device link
* from simplefb to mdss (implicitly via panel->mdp->mdss) to fix drm
* device probe ordering. Without this, simpledrm would probe second
* after msm-drm, and confuse userspace with 2 GPUs in /dev/dri.
* Alternative workaround is to boot with kernel parameter
* `fw_devlink=permissive`, which is worse, because it can hide other
* issues with device dependencies.
*/
fb_panel: fb-panel {
width-mm = <67>;
height-mm = <145>;
};
};
};

Expand Down Expand Up @@ -183,9 +198,6 @@
pinctrl-names = "default";
pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;

width-mm = <67>;
height-mm = <145>;

port {
panel_in: endpoint {
remote-endpoint = <&mdss_dsi0_out>;
Expand Down

0 comments on commit 3c11dca

Please sign in to comment.