Skip to content

Commit

Permalink
drm/fkms: Add clk_ignore_unused to bootargs (raspberrypi#25)
Browse files Browse the repository at this point in the history
The kernel will disable clocks it knows about that aren't
otherwise set.

This causes fkms to hang when hdmi state machine clock is
disabled.

Disable that behaviour when using the fkms overlay

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
  • Loading branch information
popcornmix authored Apr 21, 2023
1 parent 55540a1 commit 473b70d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/overlays/vc4-fkms-v3d-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@
status = "okay";
};
};
fragment@5 {
target-path = "/chosen";
__overlay__ {
bootargs = "clk_ignore_unused";
};
};
};
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/overlays/vc4-fkms-v3d-pi4-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@
status = "okay";
};
};
fragment@5 {
target-path = "/chosen";
__overlay__ {
bootargs = "clk_ignore_unused";
};
};
};

0 comments on commit 473b70d

Please sign in to comment.