Skip to content
Snippets Groups Projects

{linux-postmarketos-allwinner,linux-purism-librem5}: restore CMA size

Merged Imported Administrator requested to merge librem5-pp-restore-cma into master

This partly reverts the commit mentioned below. When disabling CMA I thought that libcamera was the only user of it, which is only true for userspace, though. In fact CMA is used and often even required by the kernel for HW video decoders, display engines and other hardware that might not have a MMU.

Thus restore the previously established value.

Fixes: 196ece02 (linux-postmarketos-allwinner: enable CONFIG_UDMABUF (MR 5585)) Fixes: d53e8a7e (linux-purism-librem5: enable CONFIG_UDMABUF (MR 5584))


Sorry for not researching this directly - TIL a lot :) Note that this might explain issues we're seeing on other devices as well. Values like 256MB will often not be enough to allocate the required number of buffers by modern codecs for 4K@60FPS - and a bunch of other devices don't have CMA enabled in the first place. But that need further investigations.

Merge request reports

Checking pipeline status.

Approved by

Merged by AdministratorAdministrator 6 months ago (Sep 25, 2024 2:35pm UTC)

Merge details

  • Changes merged into master with 0bf40d20.
  • Deleted the source branch.

Pipeline #205673 passed

Pipeline passed for 0bf40d20 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading