{linux-postmarketos-allwinner,linux-purism-librem5}: restore CMA size
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
Activity
mentioned in merge request !5624 (merged)
By Robert Mader on 2024-09-24T22:45:12
added 17 commits
-
b04ce4b5...3f779fdf - 15 commits from branch
postmarketOS:master
- 68bc5ce5 - linux-postmarketos-allwinner: restore CMA size
- 7c340552 - linux-purism-librem5: restore CMA size
By Robert Mader on 2024-09-25T14:17:49
-
b04ce4b5...3f779fdf - 15 commits from branch
@pabloyoyoista sorry for the noise, but you read this, mind quickly pushing the button to avoid more rebases? :)
By Robert Mader on 2024-09-26T23:03:15
Edited by Ghost Userenabled an automatic merge when all merge checks for fecef232 pass
By Robert Eckelmann on 2024-09-25T14:25:12
enabled an automatic merge when all merge checks for 0bf40d20 pass
By Robert Eckelmann on 2024-09-25T14:32:39