diff options
Diffstat (limited to 'recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch')
-rw-r--r-- | recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch new file mode 100644 index 00000000..1f097909 --- /dev/null +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch @@ -0,0 +1,29 @@ +From 57c3aafacde126786077afa7bfc07ec261acffaf Mon Sep 17 00:00:00 2001 +From: Paul Barker <paul.barker@sancloud.com> +Date: Wed, 27 Oct 2021 10:34:32 +0100 +Subject: [PATCH 2/2] Fix driver config for 5.10 kernel + +See https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/issues/3. + +Upstream-Status: Pending +Ref: BSP-66 +Signed-off-by: Paul Barker <paul.barker@sancloud.com> +--- + eurasia_km/eurasiacon/build/linux2/config/core.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eurasia_km/eurasiacon/build/linux2/config/core.mk b/eurasia_km/eurasiacon/build/linux2/config/core.mk +index 3f27926..18d515a 100644 +--- a/eurasia_km/eurasiacon/build/linux2/config/core.mk ++++ b/eurasia_km/eurasiacon/build/linux2/config/core.mk +@@ -590,6 +590,7 @@ ifneq ($(BUFFERCLASS_MODULE),) + $(eval $(call BothConfigMake,BUFFERCLASS_MODULE,$(BUFFERCLASS_MODULE))) + endif + ++PVR_LINUX_MEM_AREA_USE_VMAP = 1 + ifneq ($(strip $(KERNELDIR)),) + PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 0 + ifneq ($(PVR_LINUX_MEM_AREA_POOL_MAX_PAGES),0) +-- +2.34.1 + |