linux-megous: configure with better DMABUF_HEAPS/CMA flags, which seems to help libcamera?
This commit is contained in:
parent
38c2db0333
commit
2d67b78ca4
|
@ -108,7 +108,13 @@ let
|
|||
RC_CORE = lib.mkForce module;
|
||||
DRM_KMS_HELPER = lib.mkForce module;
|
||||
# AGP = lib.mkForce no; # "Accelerated Graphics Port" (idk)
|
||||
#
|
||||
|
||||
# borrowed from postmarketOS, "to enable libcamera development"
|
||||
DMABUF_HEAPS = yes;
|
||||
DMABUF_HEAPS_CMA = yes;
|
||||
# borrowed from postmarketOS, speculatively, as i debug megapixels camera
|
||||
CMA_AREAS = freeform "7";
|
||||
# consider: `DMA_SUN6I = yes;` (instead of the default, module)
|
||||
### RELEVANT CONFIGS INHERITED FROM NIXOS DEFAULTS (OR ABOVE ADDITIONS):
|
||||
#
|
||||
# CONFIG_BT=m
|
||||
|
|
Loading…
Reference in New Issue
Block a user