From: Mark Hatle <[email protected]>

Signed-off-by: Mark Hatle <[email protected]>
---
 ...port-DMA_BUF-module-and-update-register_shrinker-f.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch
 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch
index f3bcd4f1..eb5406f4 100644
--- 
a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch
+++ 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch
@@ -23,7 +23,7 @@ index fcdcaac..72e28a8 100644
  #include "mali_memory_virtual.h"
  #include "mali_pp_job.h"
  
-+#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0)
 +MODULE_IMPORT_NS(DMA_BUF);
 +#endif
 +
@@ -38,7 +38,7 @@ index 7de3920..5bf08f8 100644
        dma_set_attr(DMA_ATTR_WRITE_COMBINE, &dma_attrs_wc);
  #endif
  
-+#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0)
 +      register_shrinker(&mali_mem_os_allocator.shrinker, "mali");
 +#else
        register_shrinker(&mali_mem_os_allocator.shrinker);
@@ -55,7 +55,7 @@ index cebd1c8..a9d932f 100644
  #endif
  #include <linux/dma-buf.h>
  
-+#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0)
 +MODULE_IMPORT_NS(DMA_BUF);
 +#endif
 +
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5331): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5331
Mute This Topic: https://lists.yoctoproject.org/mt/106179148/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to