Loading arch/arm64/configs/vendor/lahaina_QGKI.config +1 −0 Original line number Diff line number Diff line Loading @@ -10,3 +10,4 @@ CONFIG_QCOM_SECURE_BUFFER=y CONFIG_EDAC_KRYO_ARM64=y CONFIG_EDAC_KRYO_ARM64_PANIC_ON_UE=y CONFIG_SPARSEMEM_VMEMMAP=y CONFIG_ION_MSM_HEAPS=y drivers/staging/android/ion/ion.c +5 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <linux/vmalloc.h> #include "ion.h" #include "msm_ion_priv.h" static struct ion_device *internal_dev; Loading Loading @@ -427,7 +428,11 @@ static struct dma_buf *ion_alloc_dmabuf(size_t len, unsigned int heap_id_mask, if (IS_ERR(buffer)) return ERR_CAST(buffer); #if IS_ENABLED(CONFIG_ION_MSM_HEAPS) exp_info.ops = &msm_ion_dma_buf_ops; #else exp_info.ops = &dma_buf_ops; #endif exp_info.size = buffer->size; exp_info.flags = O_RDWR; exp_info.priv = buffer; Loading Loading
arch/arm64/configs/vendor/lahaina_QGKI.config +1 −0 Original line number Diff line number Diff line Loading @@ -10,3 +10,4 @@ CONFIG_QCOM_SECURE_BUFFER=y CONFIG_EDAC_KRYO_ARM64=y CONFIG_EDAC_KRYO_ARM64_PANIC_ON_UE=y CONFIG_SPARSEMEM_VMEMMAP=y CONFIG_ION_MSM_HEAPS=y
drivers/staging/android/ion/ion.c +5 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <linux/vmalloc.h> #include "ion.h" #include "msm_ion_priv.h" static struct ion_device *internal_dev; Loading Loading @@ -427,7 +428,11 @@ static struct dma_buf *ion_alloc_dmabuf(size_t len, unsigned int heap_id_mask, if (IS_ERR(buffer)) return ERR_CAST(buffer); #if IS_ENABLED(CONFIG_ION_MSM_HEAPS) exp_info.ops = &msm_ion_dma_buf_ops; #else exp_info.ops = &dma_buf_ops; #endif exp_info.size = buffer->size; exp_info.flags = O_RDWR; exp_info.priv = buffer; Loading