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
  1. Sep 25, 2024
    • Robert Mader's avatar
      linux-postmarketos-allwinner: restore CMA size (MR 5626) · 0bf40d20
      Robert Mader authored and Robert Eckelmann's avatar Robert Eckelmann committed
      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))
      [ci:skip-build]
      Unverified
      0bf40d20
    • Robert Mader's avatar
      linux-postmarketos-allwinner: restore CMA size (MR 5626) · fbfe596b
      Robert Mader authored
      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))
      Unverified
      fbfe596b
Loading