[Openpvrsgx-devgroup] [PATCH] pvrsgx: set correct SGX version for Poulsbo in Makefile

Eloy Degen degeneloy at gmail.com
Mon Oct 26 00:00:08 CET 2020


The SGX used in the GMA500 is the 535, but the Makefile incorrectly used 530.

Signed-off-by: Eloy Degen <degeneloy at gmail.com>
---
 drivers/gpu/drm/pvrsgx/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/pvrsgx/Makefile b/drivers/gpu/drm/pvrsgx/Makefile
index c528d928d99e..6c3f99ce29bf 100644
--- a/drivers/gpu/drm/pvrsgx/Makefile
+++ b/drivers/gpu/drm/pvrsgx/Makefile
@@ -133,7 +133,7 @@ endif # CONFIG_SGX_OMAP
 ifneq ($(CONFIG_SGX_POULSBO),)
 	@$(kecho) "  MAKE    $(obj): poulsbo"
 # Fix versions
-	$(Q)SOC_VENDOR=intel SOC_FAMILY=poulsbo SOC=gma500 SGX=sgx530
SGX_FLAG=SGX535 SGX_REV=126 $(MAKE) TARGET_TYPE=$(CONFIG_SGX_POULSBO)
$(build)=$(SOURCE)
+	$(Q)SOC_VENDOR=intel SOC_FAMILY=poulsbo SOC=gma500 SGX=sgx535
SGX_FLAG=SGX535 SGX_REV=126 $(MAKE) TARGET_TYPE=$(CONFIG_SGX_POULSBO)
$(build)=$(SOURCE)
 	$(Q)if [ -r $(SOURCE)/modules.order ]; then cat
$(SOURCE)/modules.order >>$(obj)/modules.order; fi
 endif # CONFIG_SGX_POULSBO

-- 
2.25.1


More information about the openpvrsgx-devgroup mailing list