Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts: 2712: Reduce default cma usage on Pi5 #6361

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/vc4-kms-v3d-pi5-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "cma-overlay.dts"

&frag0 {
size = <((320-4)*1024*1024)>;
size = <(64*1024*1024)>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that this is a multiple of 64MB means it will not be automatically capped to the platform-limit, but this is way below all the limits so not an issue.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - I spent a while reading the firmware code and came to same conclusion.

};

/ {
Expand Down