[Openpvrsgx-devgroup] kmscube running on dm3730 (GTA04) and omap5 (Pyra)

H. Nikolaus Schaller hns at goldelico.com
Sat Feb 29 09:26:35 CET 2020


> Am 29.02.2020 um 09:23 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> 
> <0001-gpu-pvr-Fix-1.17.4948957-Makefile-for-OMAP5.patch>

Sorry, patch was broken. Here is a new version:
---


From 5893968019607ecd90f86f287db6093689d254a8 Mon Sep 17 00:00:00 2001
From: "H. Nikolaus Schaller" <hns at goldelico.com>
Date: Sat, 29 Feb 2020 09:20:27 +0100
Subject: [PATCH] gpu: pvr: Fix 1.17.4948957 Makefile for OMAP5

It appears as if the ddk-1.17-um files have been compiled
without SUPPORT_ACTIVE_POWER_MANAGEMENT.

The symptom is:

[ 3775.600571] PVR_K: Extra options present in KM: (0x8000). Please check sgx_options.h

So remove it from compile options.

Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
---
 drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile b/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile
index dfda7c41786f..fb5507bf5ba3 100644
--- a/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile
+++ b/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile
@@ -215,7 +215,7 @@ ccflags-y += -DSGX_FEATURE_MP_CORE_COUNT=2
 ccflags-y += -DSGX_FEATURE_SYSTEM_CACHE	# assumed by client libs
 ccflags-n += -DSYS_OMAP_HAS_DVFS_FRAMEWORK	# sgxfreq extension
 # may be broken...
-ccflags-y += -DSUPPORT_ACTIVE_POWER_MANAGEMENT
+#ccflags-y += -DSUPPORT_ACTIVE_POWER_MANAGEMENT
 ccflags-y += -DAMVERSION=5
 # PVR_OMAPLFB_DRM_FB			:= 0
 endif
-- 
2.23.0




More information about the openpvrsgx-devgroup mailing list