linux-megous: configure with better DMABUF_HEAPS/CMA flags, which seems to help libcamera?
This commit is contained in:
@@ -108,7 +108,13 @@ let
|
|||||||
RC_CORE = lib.mkForce module;
|
RC_CORE = lib.mkForce module;
|
||||||
DRM_KMS_HELPER = lib.mkForce module;
|
DRM_KMS_HELPER = lib.mkForce module;
|
||||||
# AGP = lib.mkForce no; # "Accelerated Graphics Port" (idk)
|
# 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):
|
### RELEVANT CONFIGS INHERITED FROM NIXOS DEFAULTS (OR ABOVE ADDITIONS):
|
||||||
#
|
#
|
||||||
# CONFIG_BT=m
|
# CONFIG_BT=m
|
||||||
|
Reference in New Issue
Block a user