I cannot reproduce the reported error, and disabling interrupts means anything waiting for the GPU to complete (the DRI3 plugin for example) has to wait for the 100ms timeout giving terrible framerates.
This also removes some dmesg-spam when interrupts are used.
Signed-off-by: David Shah dave@ds0.me --- drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile | 2 +- .../1.14.3699939/eurasia_km/services4/system/omap/sysconfig.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile b/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile index d6dbeb513566..2a1246f3c540 100644 --- a/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile +++ b/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile @@ -232,9 +232,9 @@ ccflags-y += -DPVR_DRI_DRM_PLATFORM_DEV ccflags-y += -DPVRSRV_NEED_PVR_DPF ccflags-y += -DMODULE # this disables some code in AcquireGPTimer in sysutils_linux.c ccflags-y += -DSUPPORT_DMABUF +ccflags-y += -DSYS_USING_INTERRUPTS # should probably be enabled but leads to paging errors, asynchronous external abort
# these must not be set or we can't compile successfully for omap -ccflags-n += -DSYS_USING_INTERRUPTS # should probably be enabled but leads to paging errors, asynchronous external abort ccflags-n += -DSUPPORT_DRI_DRM_EXT ccflags-n += -DSUPPORT_DRI_DRM_PLUGIN ccflags-n += -DPVR_DISPLAY_CONTROLLER_DRM_IOCTL diff --git a/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/services4/system/omap/sysconfig.c b/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/services4/system/omap/sysconfig.c index 4d50af33219d..5315eefe4069 100644 --- a/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/services4/system/omap/sysconfig.c +++ b/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/services4/system/omap/sysconfig.c @@ -984,7 +984,6 @@ IMG_VOID SysClearInterrupts(SYS_DATA* psSysData, IMG_UINT32 ui32ClearBits) { PVR_UNREFERENCED_PARAMETER(ui32ClearBits); PVR_UNREFERENCED_PARAMETER(psSysData); -printk("%s\n", __func__); #if defined(SYS_USING_INTERRUPTS) if (gpvOCPRegsLinAddr == IMG_NULL) {