Skip to content

Commit

Permalink
rp3: Enable DMA heap kernel patch
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed Jul 28, 2024
1 parent e1994a2 commit e6963f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/camera.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,16 @@
(callPackage ../rpicam-apps.nix { })
libcamera
];

boot.kernelPatches = [
{
name = "dma-raspberry-camera";
patch = null;
extraConfig = ''
CONFIG_DMABUF_HEAPS y
CONFIG_DMABUF_HEAPS_SYSTEM y
CONFIG_DMABUF_HEAPS_CMA y
'';
}
];
}

0 comments on commit e6963f2

Please sign in to comment.