diff options
130 files changed, 309 insertions, 210 deletions
diff --git a/drivers/gpu/pvr/Makefile b/drivers/gpu/pvr/Makefile index d537d081489..c1e7127d110 100644 --- a/drivers/gpu/pvr/Makefile +++ b/drivers/gpu/pvr/Makefile | |||
@@ -9,6 +9,8 @@ ccflags-y = -DLINUX -D__linux__ -Idrivers/gpu/pvr \ | |||
9 | -DSUPPORT_PERCONTEXT_PB \ | 9 | -DSUPPORT_PERCONTEXT_PB \ |
10 | -DTRANSFER_QUEUE \ | 10 | -DTRANSFER_QUEUE \ |
11 | -DSYS_USING_INTERRUPTS \ | 11 | -DSYS_USING_INTERRUPTS \ |
12 | -DSUPPORT_LINUX_X86_WRITECOMBINE \ | ||
13 | -DSUPPORT_LINUX_X86_PAT \ | ||
12 | -DPVR_SECURE_HANDLES \ | 14 | -DPVR_SECURE_HANDLES \ |
13 | -DPVR_SECURE_FD_EXPORT \ | 15 | -DPVR_SECURE_FD_EXPORT \ |
14 | -DLDM_PLATFORM \ | 16 | -DLDM_PLATFORM \ |
@@ -22,20 +24,14 @@ ccflags-y = -DLINUX -D__linux__ -Idrivers/gpu/pvr \ | |||
22 | -DPVR_LINUX_TIMERS_USING_WORKQUEUES \ | 24 | -DPVR_LINUX_TIMERS_USING_WORKQUEUES \ |
23 | -DFLIP_TECHNIQUE_OVERLAY \ | 25 | -DFLIP_TECHNIQUE_OVERLAY \ |
24 | -DPVR_LINUX_USING_WORKQUEUES \ | 26 | -DPVR_LINUX_USING_WORKQUEUES \ |
25 | -DSUPPORT_ANDROID_PLATFORM \ | ||
26 | -DPVR_LINUX_MISR_USING_PRIVATE_WORKQUEUE \ | 27 | -DPVR_LINUX_MISR_USING_PRIVATE_WORKQUEUE \ |
27 | -DSYS_CUSTOM_POWERLOCK_WRAP \ | ||
28 | -DSUPPORT_SGX_NEW_STATUS_VALS \ | 28 | -DSUPPORT_SGX_NEW_STATUS_VALS \ |
29 | -DSYS_OMAP3430_PIN_MEMORY_BUS_CLOCK \ | ||
30 | -DSGX_EARLYSUSPEND \ | 29 | -DSGX_EARLYSUSPEND \ |
31 | -DSUPPORT_DBGDRV_EVENT_OBJECTS \ | ||
32 | -DPVR_NO_OMAP_TIMER \ | 30 | -DPVR_NO_OMAP_TIMER \ |
33 | -DSUPPORT_DYNAMIC_GTF_TIMING \ | ||
34 | -DSUPPORT_SGX_LOW_LATENCY_SCHEDULING \ | 31 | -DSUPPORT_SGX_LOW_LATENCY_SCHEDULING \ |
35 | -DPVRSRV_MODNAME="\"pvrsrvkm"\" | 32 | -DPVRSRV_MODNAME="\"pvrsrvkm"\" |
36 | 33 | ||
37 | ccflags-$(CONFIG_SGX540) += -Idrivers/gpu/pvr/omap4 -Idrivers/gpu/pvr/sgx \ | 34 | ccflags-$(CONFIG_SGX540) += -Idrivers/gpu/pvr/omap4 -Idrivers/gpu/pvr/sgx \ |
38 | -DNO_OMAP_TIMER \ | ||
39 | -DSGX_CLK_CORE_DIV5 \ | 35 | -DSGX_CLK_CORE_DIV5 \ |
40 | -DSGX540 -DSUPPORT_SGX540 | 36 | -DSGX540 -DSUPPORT_SGX540 |
41 | 37 | ||
@@ -52,6 +48,7 @@ ccflags-$(CONFIG_SGX_530_BUILD_RELEASE) += \ | |||
52 | -DPVR_BUILD_TYPE="\"release\"" \ | 48 | -DPVR_BUILD_TYPE="\"release\"" \ |
53 | -DRELEASE \ | 49 | -DRELEASE \ |
54 | -DSUPPORT_ACTIVE_POWER_MANAGEMENT \ | 50 | -DSUPPORT_ACTIVE_POWER_MANAGEMENT \ |
51 | -DSYS_OMAP3430_PIN_MEMORY_BUS_CLOCK \ | ||
55 | -DSUPPORT_HW_RECOVERY | 52 | -DSUPPORT_HW_RECOVERY |
56 | 53 | ||
57 | ccflags-$(CONFIG_SGX_530_BUILD_DEBUG) += \ | 54 | ccflags-$(CONFIG_SGX_530_BUILD_DEBUG) += \ |
@@ -83,7 +80,8 @@ ccflags-$(CONFIG_SGX_540_BUILD_DEBUG) += \ | |||
83 | -DDEBUG_LOG_PATH_TRUNCATE="\"eurasia_km\"" | 80 | -DDEBUG_LOG_PATH_TRUNCATE="\"eurasia_km\"" |
84 | 81 | ||
85 | ccflags-$(CONFIG_SGX_PDUMP) += -Idrivers/gpu/pvr/pdump \ | 82 | ccflags-$(CONFIG_SGX_PDUMP) += -Idrivers/gpu/pvr/pdump \ |
86 | -DPDUMP | 83 | -DPDUMP \ |
84 | -DSUPPORT_DBGDRV_EVENT_OBJECTS | ||
87 | 85 | ||
88 | pvr_common-y := \ | 86 | pvr_common-y := \ |
89 | osfunc.o \ | 87 | osfunc.o \ |
diff --git a/drivers/gpu/pvr/bridged_pvr_bridge.c b/drivers/gpu/pvr/bridged_pvr_bridge.c index b06a7a394a6..b292d96b582 100644 --- a/drivers/gpu/pvr/bridged_pvr_bridge.c +++ b/drivers/gpu/pvr/bridged_pvr_bridge.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -822,7 +822,6 @@ PVRSRVMapDeviceMemoryBW(IMG_UINT32 ui32BridgeID, | |||
822 | 822 | ||
823 | NEW_HANDLE_BATCH_OR_ERROR(psMapDevMemOUT->eError, psPerProc, 2) | 823 | NEW_HANDLE_BATCH_OR_ERROR(psMapDevMemOUT->eError, psPerProc, 2) |
824 | 824 | ||
825 | |||
826 | psMapDevMemOUT->eError = PVRSRVLookupHandle(KERNEL_HANDLE_BASE, | 825 | psMapDevMemOUT->eError = PVRSRVLookupHandle(KERNEL_HANDLE_BASE, |
827 | (IMG_VOID**)&psSrcKernelMemInfo, | 826 | (IMG_VOID**)&psSrcKernelMemInfo, |
828 | psMapDevMemIN->hKernelMemInfo, | 827 | psMapDevMemIN->hKernelMemInfo, |
@@ -832,7 +831,6 @@ PVRSRVMapDeviceMemoryBW(IMG_UINT32 ui32BridgeID, | |||
832 | return 0; | 831 | return 0; |
833 | } | 832 | } |
834 | 833 | ||
835 | |||
836 | psMapDevMemOUT->eError = PVRSRVLookupHandle(psPerProc->psHandleBase, | 834 | psMapDevMemOUT->eError = PVRSRVLookupHandle(psPerProc->psHandleBase, |
837 | &hDstDevMemHeap, | 835 | &hDstDevMemHeap, |
838 | psMapDevMemIN->hDstDevMemHeap, | 836 | psMapDevMemIN->hDstDevMemHeap, |
@@ -841,20 +839,11 @@ PVRSRVMapDeviceMemoryBW(IMG_UINT32 ui32BridgeID, | |||
841 | { | 839 | { |
842 | return 0; | 840 | return 0; |
843 | } | 841 | } |
844 | |||
845 | 842 | ||
846 | if (psSrcKernelMemInfo->sShareMemWorkaround.bInUse) | 843 | if (psSrcKernelMemInfo->sShareMemWorkaround.bInUse) |
847 | { | 844 | { |
848 | PVR_DPF((PVR_DBG_MESSAGE, "using the mem wrap workaround.")); | 845 | PVR_DPF((PVR_DBG_MESSAGE, "using the mem wrap workaround.")); |
849 | 846 | ||
850 | |||
851 | |||
852 | |||
853 | |||
854 | |||
855 | |||
856 | |||
857 | |||
858 | psMapDevMemOUT->eError = BM_XProcWorkaroundSetShareIndex(psSrcKernelMemInfo->sShareMemWorkaround.ui32ShareIndex); | 847 | psMapDevMemOUT->eError = BM_XProcWorkaroundSetShareIndex(psSrcKernelMemInfo->sShareMemWorkaround.ui32ShareIndex); |
859 | if(psMapDevMemOUT->eError != PVRSRV_OK) | 848 | if(psMapDevMemOUT->eError != PVRSRV_OK) |
860 | { | 849 | { |
diff --git a/drivers/gpu/pvr/bridged_pvr_bridge.h b/drivers/gpu/pvr/bridged_pvr_bridge.h index 6106e6f8bdb..6b0dd88d938 100644 --- a/drivers/gpu/pvr/bridged_pvr_bridge.h +++ b/drivers/gpu/pvr/bridged_pvr_bridge.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/bridged_support.c b/drivers/gpu/pvr/bridged_support.c index de95ef82d0a..dad08005edc 100644 --- a/drivers/gpu/pvr/bridged_support.c +++ b/drivers/gpu/pvr/bridged_support.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/bridged_support.h b/drivers/gpu/pvr/bridged_support.h index 3c222e5b351..d027290effa 100644 --- a/drivers/gpu/pvr/bridged_support.h +++ b/drivers/gpu/pvr/bridged_support.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/buffer_manager.c b/drivers/gpu/pvr/buffer_manager.c index 7026a58d1bc..a8240585fb3 100644 --- a/drivers/gpu/pvr/buffer_manager.c +++ b/drivers/gpu/pvr/buffer_manager.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/buffer_manager.h b/drivers/gpu/pvr/buffer_manager.h index b821545e946..60d7695258b 100644 --- a/drivers/gpu/pvr/buffer_manager.h +++ b/drivers/gpu/pvr/buffer_manager.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/dbgdrvif.h b/drivers/gpu/pvr/dbgdrvif.h index dab4d13eb48..b7614ac10d7 100644 --- a/drivers/gpu/pvr/dbgdrvif.h +++ b/drivers/gpu/pvr/dbgdrvif.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/device.h b/drivers/gpu/pvr/device.h index fbc26a6a66d..86f37c6cd4e 100644 --- a/drivers/gpu/pvr/device.h +++ b/drivers/gpu/pvr/device.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/deviceclass.c b/drivers/gpu/pvr/deviceclass.c index effcdfbf055..0e4b51a57e0 100644 --- a/drivers/gpu/pvr/deviceclass.c +++ b/drivers/gpu/pvr/deviceclass.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/deviceid.h b/drivers/gpu/pvr/deviceid.h index b6fe92163ec..9a7bdb3548e 100644 --- a/drivers/gpu/pvr/deviceid.h +++ b/drivers/gpu/pvr/deviceid.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/devicemem.c b/drivers/gpu/pvr/devicemem.c index a14308b9351..3016736c5c1 100644 --- a/drivers/gpu/pvr/devicemem.c +++ b/drivers/gpu/pvr/devicemem.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/env_data.h b/drivers/gpu/pvr/env_data.h index 3d41219b797..7716529daa2 100644 --- a/drivers/gpu/pvr/env_data.h +++ b/drivers/gpu/pvr/env_data.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/env_perproc.h b/drivers/gpu/pvr/env_perproc.h index 67c8a539f00..27ffde3e9df 100644 --- a/drivers/gpu/pvr/env_perproc.h +++ b/drivers/gpu/pvr/env_perproc.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/event.c b/drivers/gpu/pvr/event.c index bb828ec7023..e8797c4ecb9 100644 --- a/drivers/gpu/pvr/event.c +++ b/drivers/gpu/pvr/event.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/event.h b/drivers/gpu/pvr/event.h index d07bc9711d9..3035283e02e 100644 --- a/drivers/gpu/pvr/event.h +++ b/drivers/gpu/pvr/event.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/handle.c b/drivers/gpu/pvr/handle.c index de80394384c..d911b38d146 100644 --- a/drivers/gpu/pvr/handle.c +++ b/drivers/gpu/pvr/handle.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/handle.h b/drivers/gpu/pvr/handle.h index 43f34a0cafd..536fa5608d6 100644 --- a/drivers/gpu/pvr/handle.h +++ b/drivers/gpu/pvr/handle.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/hash.c b/drivers/gpu/pvr/hash.c index 488bf1b20e6..78eab44fb64 100644 --- a/drivers/gpu/pvr/hash.c +++ b/drivers/gpu/pvr/hash.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/hash.h b/drivers/gpu/pvr/hash.h index 24b7da07b91..36620895d5a 100644 --- a/drivers/gpu/pvr/hash.h +++ b/drivers/gpu/pvr/hash.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/img_defs.h b/drivers/gpu/pvr/img_defs.h index 3ba2d2fc688..3ef43aad611 100644 --- a/drivers/gpu/pvr/img_defs.h +++ b/drivers/gpu/pvr/img_defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/kernelbuffer.h b/drivers/gpu/pvr/kernelbuffer.h index 5243aaf4a92..4cd36d23947 100644 --- a/drivers/gpu/pvr/kernelbuffer.h +++ b/drivers/gpu/pvr/kernelbuffer.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/kerneldisplay.h b/drivers/gpu/pvr/kerneldisplay.h index b5c1c7a1ecd..cdbef00bf25 100644 --- a/drivers/gpu/pvr/kerneldisplay.h +++ b/drivers/gpu/pvr/kerneldisplay.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/linkage.h b/drivers/gpu/pvr/linkage.h index 7e6d09abab6..e64012cc874 100644 --- a/drivers/gpu/pvr/linkage.h +++ b/drivers/gpu/pvr/linkage.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/lists.c b/drivers/gpu/pvr/lists.c index 58389bf4a16..108178180e4 100644 --- a/drivers/gpu/pvr/lists.c +++ b/drivers/gpu/pvr/lists.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/lists.h b/drivers/gpu/pvr/lists.h index 0d7478862e1..a02307a813a 100644 --- a/drivers/gpu/pvr/lists.h +++ b/drivers/gpu/pvr/lists.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/lock.h b/drivers/gpu/pvr/lock.h index e0bf5ee67d4..a0854c3b5a8 100644 --- a/drivers/gpu/pvr/lock.h +++ b/drivers/gpu/pvr/lock.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mem.c b/drivers/gpu/pvr/mem.c index 8bf28bfe122..f71644e572f 100644 --- a/drivers/gpu/pvr/mem.c +++ b/drivers/gpu/pvr/mem.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mem_debug.c b/drivers/gpu/pvr/mem_debug.c index cbe99120e21..e721fb3cd0f 100644 --- a/drivers/gpu/pvr/mem_debug.c +++ b/drivers/gpu/pvr/mem_debug.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/metrics.c b/drivers/gpu/pvr/metrics.c index ee5cabd4998..640eb04bd78 100644 --- a/drivers/gpu/pvr/metrics.c +++ b/drivers/gpu/pvr/metrics.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/metrics.h b/drivers/gpu/pvr/metrics.h index 2632f8dbe02..69e1b3df8c0 100644 --- a/drivers/gpu/pvr/metrics.h +++ b/drivers/gpu/pvr/metrics.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mm.c b/drivers/gpu/pvr/mm.c index 39efdb0c846..8ae9fb69684 100644 --- a/drivers/gpu/pvr/mm.c +++ b/drivers/gpu/pvr/mm.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mm.h b/drivers/gpu/pvr/mm.h index 62aa079dcc6..9f911869ecf 100644 --- a/drivers/gpu/pvr/mm.h +++ b/drivers/gpu/pvr/mm.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mmap.c b/drivers/gpu/pvr/mmap.c index c9a30f1c8d4..6379eb0ff03 100644 --- a/drivers/gpu/pvr/mmap.c +++ b/drivers/gpu/pvr/mmap.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mmap.h b/drivers/gpu/pvr/mmap.h index 9330da15170..224e6521d11 100644 --- a/drivers/gpu/pvr/mmap.h +++ b/drivers/gpu/pvr/mmap.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mnemedefs.h b/drivers/gpu/pvr/mnemedefs.h index 1a880312cbc..905081d8c83 100644 --- a/drivers/gpu/pvr/mnemedefs.h +++ b/drivers/gpu/pvr/mnemedefs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/module.c b/drivers/gpu/pvr/module.c index c9fc0cf44e5..cb05ea76cbf 100644 --- a/drivers/gpu/pvr/module.c +++ b/drivers/gpu/pvr/module.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mutex.c b/drivers/gpu/pvr/mutex.c index 09963ad9f00..742fa030f64 100644 --- a/drivers/gpu/pvr/mutex.c +++ b/drivers/gpu/pvr/mutex.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mutex.h b/drivers/gpu/pvr/mutex.h index b24a5990f8f..5e787b74ea3 100644 --- a/drivers/gpu/pvr/mutex.h +++ b/drivers/gpu/pvr/mutex.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mutils.c b/drivers/gpu/pvr/mutils.c index 83eab51bb1d..884635e2919 100644 --- a/drivers/gpu/pvr/mutils.c +++ b/drivers/gpu/pvr/mutils.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/mutils.h b/drivers/gpu/pvr/mutils.h index c42eadcb388..92d8e7b215e 100644 --- a/drivers/gpu/pvr/mutils.h +++ b/drivers/gpu/pvr/mutils.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/ocpdefs.h b/drivers/gpu/pvr/ocpdefs.h index 43744e3448f..3bbab7bd1df 100644 --- a/drivers/gpu/pvr/ocpdefs.h +++ b/drivers/gpu/pvr/ocpdefs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/omap4/oemfuncs.h b/drivers/gpu/pvr/omap4/oemfuncs.h index d28356463cf..1923b2666f8 100644 --- a/drivers/gpu/pvr/omap4/oemfuncs.h +++ b/drivers/gpu/pvr/omap4/oemfuncs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/omap4/sysconfig.c b/drivers/gpu/pvr/omap4/sysconfig.c index 4904f2acb01..fa78685d4dc 100644 --- a/drivers/gpu/pvr/omap4/sysconfig.c +++ b/drivers/gpu/pvr/omap4/sysconfig.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/omap4/sysconfig.h b/drivers/gpu/pvr/omap4/sysconfig.h index b3714fd7074..62fbae7a181 100644 --- a/drivers/gpu/pvr/omap4/sysconfig.h +++ b/drivers/gpu/pvr/omap4/sysconfig.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/omap4/sysinfo.h b/drivers/gpu/pvr/omap4/sysinfo.h index 42489f0c632..b6d3f5a4507 100644 --- a/drivers/gpu/pvr/omap4/sysinfo.h +++ b/drivers/gpu/pvr/omap4/sysinfo.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/omap4/syslocal.h b/drivers/gpu/pvr/omap4/syslocal.h index bc7748c4705..bc9a078fc43 100644 --- a/drivers/gpu/pvr/omap4/syslocal.h +++ b/drivers/gpu/pvr/omap4/syslocal.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/omap4/sysutils.c b/drivers/gpu/pvr/omap4/sysutils.c index 3d3def0c720..8736fcc90b4 100644 --- a/drivers/gpu/pvr/omap4/sysutils.c +++ b/drivers/gpu/pvr/omap4/sysutils.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/omap4/sysutils_linux.c b/drivers/gpu/pvr/omap4/sysutils_linux.c index 40b2cc35ccc..52ae877f05e 100644 --- a/drivers/gpu/pvr/omap4/sysutils_linux.c +++ b/drivers/gpu/pvr/omap4/sysutils_linux.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/osfunc.c b/drivers/gpu/pvr/osfunc.c index c72dd561410..9a264d23a87 100644 --- a/drivers/gpu/pvr/osfunc.c +++ b/drivers/gpu/pvr/osfunc.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/osfunc.h b/drivers/gpu/pvr/osfunc.h index 6fdb795facd..4d544cdac2b 100644 --- a/drivers/gpu/pvr/osfunc.h +++ b/drivers/gpu/pvr/osfunc.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/osfunc_common.c b/drivers/gpu/pvr/osfunc_common.c index 25ac6677fbc..e0a46da531a 100644 --- a/drivers/gpu/pvr/osfunc_common.c +++ b/drivers/gpu/pvr/osfunc_common.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/osperproc.c b/drivers/gpu/pvr/osperproc.c index 882234f5df5..0e3cc0e1651 100644 --- a/drivers/gpu/pvr/osperproc.c +++ b/drivers/gpu/pvr/osperproc.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/osperproc.h b/drivers/gpu/pvr/osperproc.h index 80a912f2488..02aa23072d7 100644 --- a/drivers/gpu/pvr/osperproc.h +++ b/drivers/gpu/pvr/osperproc.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdump.c b/drivers/gpu/pvr/pdump.c index 0b932b0ae63..99c6dc3a8e2 100644 --- a/drivers/gpu/pvr/pdump.c +++ b/drivers/gpu/pvr/pdump.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdump.h b/drivers/gpu/pvr/pdump.h index 78d907357ff..c41a6d4ce9a 100644 --- a/drivers/gpu/pvr/pdump.h +++ b/drivers/gpu/pvr/pdump.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdump/dbgdriv.c b/drivers/gpu/pvr/pdump/dbgdriv.c index e205b003baf..a1ca244f5f7 100644 --- a/drivers/gpu/pvr/pdump/dbgdriv.c +++ b/drivers/gpu/pvr/pdump/dbgdriv.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdump/dbgdriv.h b/drivers/gpu/pvr/pdump/dbgdriv.h index 438e71697c2..a285d0d919b 100644 --- a/drivers/gpu/pvr/pdump/dbgdriv.h +++ b/drivers/gpu/pvr/pdump/dbgdriv.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdump/main.c b/drivers/gpu/pvr/pdump/main.c index dd45cfab567..69c0d9b1a97 100644 --- a/drivers/gpu/pvr/pdump/main.c +++ b/drivers/gpu/pvr/pdump/main.c | |||
@@ -240,7 +240,7 @@ long dbgdrv_ioctl(struct file *file, unsigned int ioctlCmd, unsigned long arg) | |||
240 | goto init_failed; | 240 | goto init_failed; |
241 | } | 241 | } |
242 | 242 | ||
243 | cmd = ((pIP->ui32Cmd >> 2) & 0xFFF) - 0x801; | 243 | cmd = MAKEIOCTLINDEX(pIP->ui32Cmd) - DEBUG_SERVICE_IOCTL_BASE - 1; |
244 | 244 | ||
245 | if(pIP->ui32Cmd == DEBUG_SERVICE_READ) | 245 | if(pIP->ui32Cmd == DEBUG_SERVICE_READ) |
246 | { | 246 | { |
diff --git a/drivers/gpu/pvr/pdump_common.c b/drivers/gpu/pvr/pdump_common.c index 10f68171361..2c4c4408d8a 100644 --- a/drivers/gpu/pvr/pdump_common.c +++ b/drivers/gpu/pvr/pdump_common.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdump_int.h b/drivers/gpu/pvr/pdump_int.h index 3c038883a2b..9f685492fc2 100644 --- a/drivers/gpu/pvr/pdump_int.h +++ b/drivers/gpu/pvr/pdump_int.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdump_km.h b/drivers/gpu/pvr/pdump_km.h index f51910daf1e..224e92232cd 100644 --- a/drivers/gpu/pvr/pdump_km.h +++ b/drivers/gpu/pvr/pdump_km.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -54,7 +54,7 @@ extern IMG_UINT32 g_ui32EveryLineCounter; | |||
54 | 54 | ||
55 | #ifdef PDUMP | 55 | #ifdef PDUMP |
56 | 56 | ||
57 | #define MAKEUNIQUETAG(hMemInfo) ((PDumpOSIsSuspended()) ? 0 : ((BM_BUF *)(((PVRSRV_KERNEL_MEM_INFO *)(hMemInfo))->sMemBlk.hBuffer))->pMapping) | 57 | #define MAKEUNIQUETAG(hMemInfo) (((BM_BUF *)(((PVRSRV_KERNEL_MEM_INFO *)(hMemInfo))->sMemBlk.hBuffer))->pMapping) |
58 | 58 | ||
59 | IMG_IMPORT PVRSRV_ERROR PDumpMemPolKM(PVRSRV_KERNEL_MEM_INFO *psMemInfo, | 59 | IMG_IMPORT PVRSRV_ERROR PDumpMemPolKM(PVRSRV_KERNEL_MEM_INFO *psMemInfo, |
60 | IMG_UINT32 ui32Offset, | 60 | IMG_UINT32 ui32Offset, |
diff --git a/drivers/gpu/pvr/pdump_osfunc.h b/drivers/gpu/pvr/pdump_osfunc.h index fe054043f8b..facda0a815e 100644 --- a/drivers/gpu/pvr/pdump_osfunc.h +++ b/drivers/gpu/pvr/pdump_osfunc.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pdumpdefs.h b/drivers/gpu/pvr/pdumpdefs.h index 0efe3031d75..193b4648a56 100644 --- a/drivers/gpu/pvr/pdumpdefs.h +++ b/drivers/gpu/pvr/pdumpdefs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/perproc.c b/drivers/gpu/pvr/perproc.c index 7eb46a14484..1753388b1bb 100644 --- a/drivers/gpu/pvr/perproc.c +++ b/drivers/gpu/pvr/perproc.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/perproc.h b/drivers/gpu/pvr/perproc.h index e416b5a629e..842680c7740 100644 --- a/drivers/gpu/pvr/perproc.h +++ b/drivers/gpu/pvr/perproc.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/power.c b/drivers/gpu/pvr/power.c index ba203aba3c4..7afd9f9a9b8 100644 --- a/drivers/gpu/pvr/power.c +++ b/drivers/gpu/pvr/power.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/power.h b/drivers/gpu/pvr/power.h index 079f2128659..9e3dcc401b7 100644 --- a/drivers/gpu/pvr/power.h +++ b/drivers/gpu/pvr/power.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/private_data.h b/drivers/gpu/pvr/private_data.h index 0c55499220a..b8751d3a98d 100644 --- a/drivers/gpu/pvr/private_data.h +++ b/drivers/gpu/pvr/private_data.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/proc.c b/drivers/gpu/pvr/proc.c index b47acff0ad5..ac647350e6a 100644 --- a/drivers/gpu/pvr/proc.c +++ b/drivers/gpu/pvr/proc.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/proc.h b/drivers/gpu/pvr/proc.h index 823b666176b..2066d718207 100644 --- a/drivers/gpu/pvr/proc.h +++ b/drivers/gpu/pvr/proc.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvr_bridge.h b/drivers/gpu/pvr/pvr_bridge.h index 93f1bb10a8b..ab05641a3c9 100644 --- a/drivers/gpu/pvr/pvr_bridge.h +++ b/drivers/gpu/pvr/pvr_bridge.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvr_bridge_k.c b/drivers/gpu/pvr/pvr_bridge_k.c index 4b639039566..e433269f523 100644 --- a/drivers/gpu/pvr/pvr_bridge_k.c +++ b/drivers/gpu/pvr/pvr_bridge_k.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvr_bridge_km.h b/drivers/gpu/pvr/pvr_bridge_km.h index fe6b22687ce..c1fd04cb312 100644 --- a/drivers/gpu/pvr/pvr_bridge_km.h +++ b/drivers/gpu/pvr/pvr_bridge_km.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvr_debug.h b/drivers/gpu/pvr/pvr_debug.h index 5e7c77c8a39..e07103f56f5 100644 --- a/drivers/gpu/pvr/pvr_debug.h +++ b/drivers/gpu/pvr/pvr_debug.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvr_uaccess.h b/drivers/gpu/pvr/pvr_uaccess.h index 04fdcc2211a..3db3caf65b1 100644 --- a/drivers/gpu/pvr/pvr_uaccess.h +++ b/drivers/gpu/pvr/pvr_uaccess.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvrmmap.h b/drivers/gpu/pvr/pvrmmap.h index af3369aae23..242d9532979 100644 --- a/drivers/gpu/pvr/pvrmmap.h +++ b/drivers/gpu/pvr/pvrmmap.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvrmodule.h b/drivers/gpu/pvr/pvrmodule.h index 30cb2c3b5aa..3dd58455b44 100644 --- a/drivers/gpu/pvr/pvrmodule.h +++ b/drivers/gpu/pvr/pvrmodule.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvrsrv.c b/drivers/gpu/pvr/pvrsrv.c index cb05a59e8aa..53964096c52 100644 --- a/drivers/gpu/pvr/pvrsrv.c +++ b/drivers/gpu/pvr/pvrsrv.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvrsrv_errors.h b/drivers/gpu/pvr/pvrsrv_errors.h index 7c946bc2cfb..54749843702 100644 --- a/drivers/gpu/pvr/pvrsrv_errors.h +++ b/drivers/gpu/pvr/pvrsrv_errors.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/pvrversion.h b/drivers/gpu/pvr/pvrversion.h index 6b736c5dd4c..8c4505e2832 100644 --- a/drivers/gpu/pvr/pvrversion.h +++ b/drivers/gpu/pvr/pvrversion.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -30,8 +30,8 @@ | |||
30 | #define PVRVERSION_MAJ 1 | 30 | #define PVRVERSION_MAJ 1 |
31 | #define PVRVERSION_MIN 7 | 31 | #define PVRVERSION_MIN 7 |
32 | #define PVRVERSION_BRANCH 17 | 32 | #define PVRVERSION_BRANCH 17 |
33 | #define PVRVERSION_BUILD 3556 | 33 | #define PVRVERSION_BUILD 3957 |
34 | #define PVRVERSION_STRING "1.7.17.3556" | 34 | #define PVRVERSION_STRING "1.7.17.3957" |
35 | #define PVRVERSION_FILE "eurasiacon.pj" | 35 | #define PVRVERSION_FILE "eurasiacon.pj" |
36 | 36 | ||
37 | #endif | 37 | #endif |
diff --git a/drivers/gpu/pvr/queue.c b/drivers/gpu/pvr/queue.c index 9bc6186d6e4..8925d3cd852 100644 --- a/drivers/gpu/pvr/queue.c +++ b/drivers/gpu/pvr/queue.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/queue.h b/drivers/gpu/pvr/queue.h index edafaff02fd..ab895271b74 100644 --- a/drivers/gpu/pvr/queue.h +++ b/drivers/gpu/pvr/queue.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/ra.c b/drivers/gpu/pvr/ra.c index 2bd5efbdb00..e93f05fdad4 100644 --- a/drivers/gpu/pvr/ra.c +++ b/drivers/gpu/pvr/ra.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/ra.h b/drivers/gpu/pvr/ra.h index f28ce4cd755..db141f647d3 100644 --- a/drivers/gpu/pvr/ra.h +++ b/drivers/gpu/pvr/ra.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/regpaths.h b/drivers/gpu/pvr/regpaths.h index a551eff4e76..91937375573 100644 --- a/drivers/gpu/pvr/regpaths.h +++ b/drivers/gpu/pvr/regpaths.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/resman.c b/drivers/gpu/pvr/resman.c index 2daebf67317..5230952be84 100644 --- a/drivers/gpu/pvr/resman.c +++ b/drivers/gpu/pvr/resman.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/resman.h b/drivers/gpu/pvr/resman.h index 06eb24a97b6..11af49be72d 100644 --- a/drivers/gpu/pvr/resman.h +++ b/drivers/gpu/pvr/resman.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/services.h b/drivers/gpu/pvr/services.h index 595b52ffe7a..3539e26448a 100644 --- a/drivers/gpu/pvr/services.h +++ b/drivers/gpu/pvr/services.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/services_headers.h b/drivers/gpu/pvr/services_headers.h index eb00dbb30f3..2b5f197d402 100644 --- a/drivers/gpu/pvr/services_headers.h +++ b/drivers/gpu/pvr/services_headers.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/servicesext.h b/drivers/gpu/pvr/servicesext.h index 609df3138fc..9a494b3dbcf 100644 --- a/drivers/gpu/pvr/servicesext.h +++ b/drivers/gpu/pvr/servicesext.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/servicesint.h b/drivers/gpu/pvr/servicesint.h index de404249054..813a39195a1 100644 --- a/drivers/gpu/pvr/servicesint.h +++ b/drivers/gpu/pvr/servicesint.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/bridged_sgx_bridge.c b/drivers/gpu/pvr/sgx/bridged_sgx_bridge.c index c1d6979e3a3..03343e8ed14 100644 --- a/drivers/gpu/pvr/sgx/bridged_sgx_bridge.c +++ b/drivers/gpu/pvr/sgx/bridged_sgx_bridge.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/bridged_sgx_bridge.h b/drivers/gpu/pvr/sgx/bridged_sgx_bridge.h index de6cfd1bc1e..204450cc855 100644 --- a/drivers/gpu/pvr/sgx/bridged_sgx_bridge.h +++ b/drivers/gpu/pvr/sgx/bridged_sgx_bridge.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/mmu.c b/drivers/gpu/pvr/sgx/mmu.c index 67e86d92025..5a087cd449e 100644 --- a/drivers/gpu/pvr/sgx/mmu.c +++ b/drivers/gpu/pvr/sgx/mmu.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/mmu.h b/drivers/gpu/pvr/sgx/mmu.h index 3c471a4994f..d224f649667 100644 --- a/drivers/gpu/pvr/sgx/mmu.h +++ b/drivers/gpu/pvr/sgx/mmu.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/pb.c b/drivers/gpu/pvr/sgx/pb.c index b2ba005d008..d9825c726a3 100644 --- a/drivers/gpu/pvr/sgx/pb.c +++ b/drivers/gpu/pvr/sgx/pb.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/sgx_bridge_km.h b/drivers/gpu/pvr/sgx/sgx_bridge_km.h index 7a14024f4ad..8fb30021c92 100644 --- a/drivers/gpu/pvr/sgx/sgx_bridge_km.h +++ b/drivers/gpu/pvr/sgx/sgx_bridge_km.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/sgxconfig.h b/drivers/gpu/pvr/sgx/sgxconfig.h index 8cbe39bc11f..e1cd4058b34 100644 --- a/drivers/gpu/pvr/sgx/sgxconfig.h +++ b/drivers/gpu/pvr/sgx/sgxconfig.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/sgxinfokm.h b/drivers/gpu/pvr/sgx/sgxinfokm.h index fdb0f671b9d..c85b8d104fe 100644 --- a/drivers/gpu/pvr/sgx/sgxinfokm.h +++ b/drivers/gpu/pvr/sgx/sgxinfokm.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/sgxinit.c b/drivers/gpu/pvr/sgx/sgxinit.c index e73c067bd4f..f4d37fb1dab 100644 --- a/drivers/gpu/pvr/sgx/sgxinit.c +++ b/drivers/gpu/pvr/sgx/sgxinit.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -1708,7 +1708,9 @@ PVRSRV_ERROR SGXRegisterDevice (PVRSRV_DEVICE_NODE *psDeviceNode) | |||
1708 | psDeviceMemoryHeap->ui32HeapID = HEAP_ID( PVRSRV_DEVICE_TYPE_SGX, SGX_GENERAL_MAPPING_HEAP_ID); | 1708 | psDeviceMemoryHeap->ui32HeapID = HEAP_ID( PVRSRV_DEVICE_TYPE_SGX, SGX_GENERAL_MAPPING_HEAP_ID); |
1709 | psDeviceMemoryHeap->sDevVAddrBase.uiAddr = SGX_GENERAL_MAPPING_HEAP_BASE; | 1709 | psDeviceMemoryHeap->sDevVAddrBase.uiAddr = SGX_GENERAL_MAPPING_HEAP_BASE; |
1710 | psDeviceMemoryHeap->ui32HeapSize = SGX_GENERAL_MAPPING_HEAP_SIZE; | 1710 | psDeviceMemoryHeap->ui32HeapSize = SGX_GENERAL_MAPPING_HEAP_SIZE; |
1711 | psDeviceMemoryHeap->ui32Attribs = PVRSRV_HAP_WRITECOMBINE | PVRSRV_HAP_MULTI_PROCESS; | 1711 | psDeviceMemoryHeap->ui32Attribs = PVRSRV_HAP_WRITECOMBINE |
1712 | | PVRSRV_MEM_RAM_BACKED_ALLOCATION | ||
1713 | | PVRSRV_HAP_MULTI_PROCESS; | ||
1712 | psDeviceMemoryHeap->pszName = "GeneralMapping"; | 1714 | psDeviceMemoryHeap->pszName = "GeneralMapping"; |
1713 | psDeviceMemoryHeap->pszBSName = "GeneralMapping BS"; | 1715 | psDeviceMemoryHeap->pszBSName = "GeneralMapping BS"; |
1714 | #if defined(SGX_FEATURE_MULTIPLE_MEM_CONTEXTS) && defined(FIX_HW_BRN_23410) | 1716 | #if defined(SGX_FEATURE_MULTIPLE_MEM_CONTEXTS) && defined(FIX_HW_BRN_23410) |
diff --git a/drivers/gpu/pvr/sgx/sgxkick.c b/drivers/gpu/pvr/sgx/sgxkick.c index 115204f67c2..3811914a154 100644 --- a/drivers/gpu/pvr/sgx/sgxkick.c +++ b/drivers/gpu/pvr/sgx/sgxkick.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/sgxpower.c b/drivers/gpu/pvr/sgx/sgxpower.c index bea113ed354..3947cddea8b 100644 --- a/drivers/gpu/pvr/sgx/sgxpower.c +++ b/drivers/gpu/pvr/sgx/sgxpower.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/sgxreset.c b/drivers/gpu/pvr/sgx/sgxreset.c index d28898b1025..8c229be279c 100644 --- a/drivers/gpu/pvr/sgx/sgxreset.c +++ b/drivers/gpu/pvr/sgx/sgxreset.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -566,6 +566,9 @@ IMG_VOID SGXReset(PVRSRV_SGXDEV_INFO *psDevInfo, | |||
566 | #if defined(FIX_HW_BRN_30954) | 566 | #if defined(FIX_HW_BRN_30954) |
567 | EUR_CR_MASTER_SLC_CTRL_DISABLE_REORDERING_MASK | | 567 | EUR_CR_MASTER_SLC_CTRL_DISABLE_REORDERING_MASK | |
568 | #endif | 568 | #endif |
569 | #if defined(PVR_SLC_8KB_ADDRESS_MODE) | ||
570 | (4 << EUR_CR_MASTER_SLC_CTRL_ADDR_DECODE_MODE_SHIFT) | | ||
571 | #endif | ||
569 | (0xC << EUR_CR_MASTER_SLC_CTRL_ARB_PAGE_SIZE_SHIFT); | 572 | (0xC << EUR_CR_MASTER_SLC_CTRL_ARB_PAGE_SIZE_SHIFT); |
570 | OSWriteHWReg(psDevInfo->pvRegsBaseKM, EUR_CR_MASTER_SLC_CTRL, ui32RegVal); | 573 | OSWriteHWReg(psDevInfo->pvRegsBaseKM, EUR_CR_MASTER_SLC_CTRL, ui32RegVal); |
571 | PDUMPCOMMENTWITHFLAGS(ui32PDUMPFlags, "Initialise the hydra SLC control\r\n"); | 574 | PDUMPCOMMENTWITHFLAGS(ui32PDUMPFlags, "Initialise the hydra SLC control\r\n"); |
diff --git a/drivers/gpu/pvr/sgx/sgxtransfer.c b/drivers/gpu/pvr/sgx/sgxtransfer.c index ff738453c82..d0d09bf8237 100644 --- a/drivers/gpu/pvr/sgx/sgxtransfer.c +++ b/drivers/gpu/pvr/sgx/sgxtransfer.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -50,13 +50,17 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
50 | IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSFER_SGX_KICK *psKick) | 50 | IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSFER_SGX_KICK *psKick) |
51 | #endif | 51 | #endif |
52 | { | 52 | { |
53 | PVRSRV_KERNEL_MEM_INFO *psCCBMemInfo = (PVRSRV_KERNEL_MEM_INFO *)psKick->hCCBMemInfo; | 53 | PVRSRV_KERNEL_MEM_INFO *psCCBMemInfo = (PVRSRV_KERNEL_MEM_INFO *)psKick->hCCBMemInfo; |
54 | SGXMKIF_COMMAND sCommand = {0}; | 54 | SGXMKIF_COMMAND sCommand = {0}; |
55 | SGXMKIF_TRANSFERCMD_SHARED *psSharedTransferCmd; | 55 | SGXMKIF_TRANSFERCMD_SHARED *psSharedTransferCmd; |
56 | PVRSRV_KERNEL_SYNC_INFO *psSyncInfo; | 56 | PVRSRV_KERNEL_SYNC_INFO *psSyncInfo; |
57 | PVRSRV_ERROR eError; | 57 | PVRSRV_ERROR eError; |
58 | IMG_UINT32 loop; | 58 | IMG_UINT32 loop; |
59 | IMG_HANDLE hDevMemContext = IMG_NULL; | 59 | IMG_HANDLE hDevMemContext = IMG_NULL; |
60 | IMG_BOOL abSrcSyncEnable[SGX_MAX_TRANSFER_SYNC_OPS]; | ||
61 | IMG_UINT32 ui32RealSrcSyncNum = 0; | ||
62 | IMG_BOOL abDstSyncEnable[SGX_MAX_TRANSFER_SYNC_OPS]; | ||
63 | IMG_UINT32 ui32RealDstSyncNum = 0; | ||
60 | #if defined(PDUMP) | 64 | #if defined(PDUMP) |
61 | IMG_BOOL bPersistentProcess = IMG_FALSE; | 65 | IMG_BOOL bPersistentProcess = IMG_FALSE; |
62 | 66 | ||
@@ -72,6 +76,11 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
72 | hDevMemContext = psKick->hDevMemContext; | 76 | hDevMemContext = psKick->hDevMemContext; |
73 | #endif | 77 | #endif |
74 | PVR_TTRACE(PVRSRV_TRACE_GROUP_TRANSFER, PVRSRV_TRACE_CLASS_FUNCTION_ENTER, TRANSFER_TOKEN_SUBMIT); | 78 | PVR_TTRACE(PVRSRV_TRACE_GROUP_TRANSFER, PVRSRV_TRACE_CLASS_FUNCTION_ENTER, TRANSFER_TOKEN_SUBMIT); |
79 | for (loop = 0; loop < SGX_MAX_TRANSFER_SYNC_OPS; loop++) | ||
80 | { | ||
81 | abSrcSyncEnable[loop] = IMG_TRUE; | ||
82 | abDstSyncEnable[loop] = IMG_TRUE; | ||
83 | } | ||
75 | 84 | ||
76 | if (!CCB_OFFSET_IS_VALID(SGXMKIF_TRANSFERCMD_SHARED, psCCBMemInfo, psKick, ui32SharedCmdCCBOffset)) | 85 | if (!CCB_OFFSET_IS_VALID(SGXMKIF_TRANSFERCMD_SHARED, psCCBMemInfo, psKick, ui32SharedCmdCCBOffset)) |
77 | { | 86 | { |
@@ -126,49 +135,120 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
126 | psSharedTransferCmd->s3DSyncReadOpsCompleteDevVAddr.uiAddr = 0; | 135 | psSharedTransferCmd->s3DSyncReadOpsCompleteDevVAddr.uiAddr = 0; |
127 | } | 136 | } |
128 | 137 | ||
129 | psSharedTransferCmd->ui32NumSrcSyncs = psKick->ui32NumSrcSync; | 138 | |
130 | psSharedTransferCmd->ui32NumDstSyncs = psKick->ui32NumDstSync; | 139 | for (loop = 0; loop < MIN(SGX_MAX_TRANSFER_SYNC_OPS, psKick->ui32NumSrcSync); loop++) |
140 | { | ||
141 | IMG_UINT32 i; | ||
142 | |||
143 | PVRSRV_KERNEL_SYNC_INFO * psMySyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; | ||
144 | |||
145 | for (i = 0; i < loop; i++) | ||
146 | { | ||
147 | if (abSrcSyncEnable[i]) | ||
148 | { | ||
149 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[i]; | ||
150 | |||
151 | if (psSyncInfo->sWriteOpsCompleteDevVAddr.uiAddr == psMySyncInfo->sWriteOpsCompleteDevVAddr.uiAddr) | ||
152 | { | ||
153 | PVR_DPF((PVR_DBG_WARNING, "SGXSubmitTransferKM : Same src synchronized multiple times!")); | ||
154 | abSrcSyncEnable[loop] = IMG_FALSE; | ||
155 | break; | ||
156 | } | ||
157 | } | ||
158 | } | ||
159 | if (abSrcSyncEnable[loop]) | ||
160 | { | ||
161 | ui32RealSrcSyncNum++; | ||
162 | } | ||
163 | } | ||
164 | for (loop = 0; loop < MIN(SGX_MAX_TRANSFER_SYNC_OPS, psKick->ui32NumDstSync); loop++) | ||
165 | { | ||
166 | IMG_UINT32 i; | ||
167 | |||
168 | PVRSRV_KERNEL_SYNC_INFO * psMySyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[loop]; | ||
169 | |||
170 | for (i = 0; i < loop; i++) | ||
171 | { | ||
172 | if (abDstSyncEnable[i]) | ||
173 | { | ||
174 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[i]; | ||
175 | |||
176 | if (psSyncInfo->sWriteOpsCompleteDevVAddr.uiAddr == psMySyncInfo->sWriteOpsCompleteDevVAddr.uiAddr) | ||
177 | { | ||
178 | PVR_DPF((PVR_DBG_WARNING, "SGXSubmitTransferKM : Same dst synchronized multiple times!")); | ||
179 | abDstSyncEnable[loop] = IMG_FALSE; | ||
180 | break; | ||
181 | } | ||
182 | } | ||
183 | } | ||
184 | if (abDstSyncEnable[loop]) | ||
185 | { | ||
186 | ui32RealDstSyncNum++; | ||
187 | } | ||
188 | } | ||
189 | |||
190 | psSharedTransferCmd->ui32NumSrcSyncs = ui32RealSrcSyncNum; | ||
191 | psSharedTransferCmd->ui32NumDstSyncs = ui32RealDstSyncNum; | ||
131 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) | 192 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) |
132 | { | 193 | { |
133 | for (loop=0; loop<psKick->ui32NumSrcSync; loop++) | 194 | IMG_UINT32 i = 0; |
195 | |||
196 | for (loop = 0; loop < psKick->ui32NumSrcSync; loop++) | ||
197 | { | ||
198 | if (abSrcSyncEnable[loop]) | ||
134 | { | 199 | { |
135 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; | 200 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; |
136 | 201 | ||
137 | PVR_TTRACE_SYNC_OBJECT(PVRSRV_TRACE_GROUP_TRANSFER, TRANSFER_TOKEN_SRC_SYNC, | 202 | PVR_TTRACE_SYNC_OBJECT(PVRSRV_TRACE_GROUP_TRANSFER, TRANSFER_TOKEN_SRC_SYNC, |
138 | psSyncInfo, PVRSRV_SYNCOP_SAMPLE); | 203 | psSyncInfo, PVRSRV_SYNCOP_SAMPLE); |
139 | 204 | ||
140 | psSharedTransferCmd->asSrcSyncs[loop].ui32WriteOpsPendingVal = psSyncInfo->psSyncData->ui32WriteOpsPending; | 205 | psSharedTransferCmd->asSrcSyncs[i].ui32WriteOpsPendingVal = psSyncInfo->psSyncData->ui32WriteOpsPending; |
141 | psSharedTransferCmd->asSrcSyncs[loop].ui32ReadOpsPendingVal = psSyncInfo->psSyncData->ui32ReadOpsPending; | 206 | psSharedTransferCmd->asSrcSyncs[i].ui32ReadOpsPendingVal = psSyncInfo->psSyncData->ui32ReadOpsPending; |
142 | |||
143 | psSharedTransferCmd->asSrcSyncs[loop].sWriteOpsCompleteDevVAddr = psSyncInfo->sWriteOpsCompleteDevVAddr; | ||
144 | psSharedTransferCmd->asSrcSyncs[loop].sReadOpsCompleteDevVAddr = psSyncInfo->sReadOpsCompleteDevVAddr; | ||
145 | 207 | ||
208 | psSharedTransferCmd->asSrcSyncs[i].sWriteOpsCompleteDevVAddr = psSyncInfo->sWriteOpsCompleteDevVAddr; | ||
209 | psSharedTransferCmd->asSrcSyncs[i].sReadOpsCompleteDevVAddr = psSyncInfo->sReadOpsCompleteDevVAddr; | ||
210 | i++; | ||
211 | } | ||
146 | } | 212 | } |
147 | for (loop=0; loop<psKick->ui32NumDstSync; loop++) | 213 | PVR_ASSERT(i == ui32RealSrcSyncNum); |
214 | |||
215 | i = 0; | ||
216 | for (loop = 0; loop < psKick->ui32NumDstSync; loop++) | ||
217 | { | ||
218 | if (abDstSyncEnable[loop]) | ||
148 | { | 219 | { |
149 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[loop]; | 220 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[loop]; |
150 | 221 | ||
151 | PVR_TTRACE_SYNC_OBJECT(PVRSRV_TRACE_GROUP_TRANSFER, TRANSFER_TOKEN_DST_SYNC, | 222 | PVR_TTRACE_SYNC_OBJECT(PVRSRV_TRACE_GROUP_TRANSFER, TRANSFER_TOKEN_DST_SYNC, |
152 | psSyncInfo, PVRSRV_SYNCOP_SAMPLE); | 223 | psSyncInfo, PVRSRV_SYNCOP_SAMPLE); |
153 | 224 | ||
154 | psSharedTransferCmd->asDstSyncs[loop].ui32WriteOpsPendingVal = psSyncInfo->psSyncData->ui32WriteOpsPending; | 225 | psSharedTransferCmd->asDstSyncs[i].ui32WriteOpsPendingVal = psSyncInfo->psSyncData->ui32WriteOpsPending; |
155 | psSharedTransferCmd->asDstSyncs[loop].ui32ReadOpsPendingVal = psSyncInfo->psSyncData->ui32ReadOpsPending; | 226 | psSharedTransferCmd->asDstSyncs[i].ui32ReadOpsPendingVal = psSyncInfo->psSyncData->ui32ReadOpsPending; |
156 | 227 | ||
157 | psSharedTransferCmd->asDstSyncs[loop].sWriteOpsCompleteDevVAddr = psSyncInfo->sWriteOpsCompleteDevVAddr; | 228 | psSharedTransferCmd->asDstSyncs[i].sWriteOpsCompleteDevVAddr = psSyncInfo->sWriteOpsCompleteDevVAddr; |
158 | psSharedTransferCmd->asDstSyncs[loop].sReadOpsCompleteDevVAddr = psSyncInfo->sReadOpsCompleteDevVAddr; | 229 | psSharedTransferCmd->asDstSyncs[i].sReadOpsCompleteDevVAddr = psSyncInfo->sReadOpsCompleteDevVAddr; |
230 | i++; | ||
159 | 231 | ||
160 | } | 232 | } |
233 | } | ||
234 | PVR_ASSERT(i == ui32RealDstSyncNum); | ||
161 | 235 | ||
162 | 236 | ||
163 | for (loop=0; loop<psKick->ui32NumSrcSync; loop++) | 237 | for (loop = 0; loop < psKick->ui32NumSrcSync; loop++) |
238 | { | ||
239 | if (abSrcSyncEnable[loop]) | ||
164 | { | 240 | { |
165 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; | 241 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; |
166 | psSyncInfo->psSyncData->ui32ReadOpsPending++; | 242 | psSyncInfo->psSyncData->ui32ReadOpsPending++; |
167 | } | 243 | } |
168 | for (loop=0; loop<psKick->ui32NumDstSync; loop++) | 244 | } |
245 | for (loop = 0; loop < psKick->ui32NumDstSync; loop++) | ||
246 | { | ||
247 | if (abDstSyncEnable[loop]) | ||
169 | { | 248 | { |
170 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[loop]; | 249 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[loop]; |
171 | psSyncInfo->psSyncData->ui32WriteOpsPending++; | 250 | psSyncInfo->psSyncData->ui32WriteOpsPending++; |
251 | } | ||
172 | } | 252 | } |
173 | } | 253 | } |
174 | 254 | ||
@@ -187,14 +267,18 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
187 | 267 | ||
188 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) | 268 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) |
189 | { | 269 | { |
190 | for (loop=0; loop<psKick->ui32NumSrcSync ; loop++) | 270 | IMG_UINT32 i = 0; |
271 | |||
272 | for (loop = 0; loop < psKick->ui32NumSrcSync; loop++) | ||
273 | { | ||
274 | if (abSrcSyncEnable[loop]) | ||
191 | { | 275 | { |
192 | psSyncInfo = psKick->ahSrcSyncInfo[loop]; | 276 | psSyncInfo = psKick->ahSrcSyncInfo[loop]; |
193 | 277 | ||
194 | PDUMPCOMMENT("Hack src surface write op in transfer cmd\r\n"); | 278 | PDUMPCOMMENT("Hack src surface write op in transfer cmd\r\n"); |
195 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastOpDumpVal, | 279 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastOpDumpVal, |
196 | psCCBMemInfo, | 280 | psCCBMemInfo, |
197 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asSrcSyncs) + loop * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32WriteOpsPendingVal)), | 281 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asSrcSyncs) + i * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32WriteOpsPendingVal)), |
198 | sizeof(psSyncInfo->psSyncData->ui32LastOpDumpVal), | 282 | sizeof(psSyncInfo->psSyncData->ui32LastOpDumpVal), |
199 | psKick->ui32PDumpFlags, | 283 | psKick->ui32PDumpFlags, |
200 | MAKEUNIQUETAG(psCCBMemInfo)); | 284 | MAKEUNIQUETAG(psCCBMemInfo)); |
@@ -202,23 +286,25 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
202 | PDUMPCOMMENT("Hack src surface read op in transfer cmd\r\n"); | 286 | PDUMPCOMMENT("Hack src surface read op in transfer cmd\r\n"); |
203 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastReadOpDumpVal, | 287 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastReadOpDumpVal, |
204 | psCCBMemInfo, | 288 | psCCBMemInfo, |
205 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asSrcSyncs) + loop * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32ReadOpsPendingVal)), | 289 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asSrcSyncs) + i * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32ReadOpsPendingVal)), |
206 | sizeof(psSyncInfo->psSyncData->ui32LastReadOpDumpVal), | 290 | sizeof(psSyncInfo->psSyncData->ui32LastReadOpDumpVal), |
207 | psKick->ui32PDumpFlags, | 291 | psKick->ui32PDumpFlags, |
208 | MAKEUNIQUETAG(psCCBMemInfo)); | 292 | MAKEUNIQUETAG(psCCBMemInfo)); |
209 | 293 | ||
294 | i++; | ||
210 | } | 295 | } |
211 | } | 296 | } |
212 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) | 297 | i = 0; |
298 | for (loop = 0; loop < psKick->ui32NumDstSync; loop++) | ||
213 | { | 299 | { |
214 | for (loop=0; loop< psKick->ui32NumDstSync; loop++) | 300 | if (abDstSyncEnable[i]) |
215 | { | 301 | { |
216 | psSyncInfo = psKick->ahDstSyncInfo[loop]; | 302 | psSyncInfo = psKick->ahDstSyncInfo[loop]; |
217 | 303 | ||
218 | PDUMPCOMMENT("Hack dest surface write op in transfer cmd\r\n"); | 304 | PDUMPCOMMENT("Hack dest surface write op in transfer cmd\r\n"); |
219 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastOpDumpVal, | 305 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastOpDumpVal, |
220 | psCCBMemInfo, | 306 | psCCBMemInfo, |
221 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asDstSyncs) + loop * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32WriteOpsPendingVal)), | 307 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asDstSyncs) + i * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32WriteOpsPendingVal)), |
222 | sizeof(psSyncInfo->psSyncData->ui32LastOpDumpVal), | 308 | sizeof(psSyncInfo->psSyncData->ui32LastOpDumpVal), |
223 | psKick->ui32PDumpFlags, | 309 | psKick->ui32PDumpFlags, |
224 | MAKEUNIQUETAG(psCCBMemInfo)); | 310 | MAKEUNIQUETAG(psCCBMemInfo)); |
@@ -226,32 +312,34 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
226 | PDUMPCOMMENT("Hack dest surface read op in transfer cmd\r\n"); | 312 | PDUMPCOMMENT("Hack dest surface read op in transfer cmd\r\n"); |
227 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastReadOpDumpVal, | 313 | PDUMPMEM(&psSyncInfo->psSyncData->ui32LastReadOpDumpVal, |
228 | psCCBMemInfo, | 314 | psCCBMemInfo, |
229 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asDstSyncs) + loop * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32ReadOpsPendingVal)), | 315 | psKick->ui32CCBDumpWOff + (IMG_UINT32)(offsetof(SGXMKIF_TRANSFERCMD_SHARED, asDstSyncs) + i * sizeof(PVRSRV_DEVICE_SYNC_OBJECT) + offsetof(PVRSRV_DEVICE_SYNC_OBJECT, ui32ReadOpsPendingVal)), |
230 | sizeof(psSyncInfo->psSyncData->ui32LastReadOpDumpVal), | 316 | sizeof(psSyncInfo->psSyncData->ui32LastReadOpDumpVal), |
231 | psKick->ui32PDumpFlags, | 317 | psKick->ui32PDumpFlags, |
232 | MAKEUNIQUETAG(psCCBMemInfo)); | 318 | MAKEUNIQUETAG(psCCBMemInfo)); |
233 | 319 | ||
320 | i++; | ||
234 | } | 321 | } |
235 | } | 322 | } |
236 | 323 | ||
237 | 324 | ||
238 | if((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING)== 0UL) | 325 | for (loop = 0; loop < (psKick->ui32NumSrcSync); loop++) |
239 | { | 326 | { |
240 | for (loop=0; loop<(psKick->ui32NumSrcSync); loop++) | 327 | if (abSrcSyncEnable[loop]) |
241 | { | 328 | { |
242 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; | 329 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; |
243 | psSyncInfo->psSyncData->ui32LastReadOpDumpVal++; | 330 | psSyncInfo->psSyncData->ui32LastReadOpDumpVal++; |
244 | } | 331 | } |
245 | } | 332 | } |
246 | 333 | ||
247 | if((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) | 334 | for (loop = 0; loop < (psKick->ui32NumDstSync); loop++) |
248 | { | 335 | { |
249 | for (loop=0; loop<(psKick->ui32NumDstSync); loop++) | 336 | if (abDstSyncEnable[loop]) |
250 | { | 337 | { |
251 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[0]; | 338 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[0]; |
252 | psSyncInfo->psSyncData->ui32LastOpDumpVal++; | 339 | psSyncInfo->psSyncData->ui32LastOpDumpVal++; |
253 | } | 340 | } |
254 | } | 341 | } |
342 | } | ||
255 | } | 343 | } |
256 | #endif | 344 | #endif |
257 | 345 | ||
@@ -267,32 +355,36 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
267 | 355 | ||
268 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) | 356 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_KEEPPENDING) == 0UL) |
269 | { | 357 | { |
270 | if (psKick->ui32NumSrcSync > 0) | 358 | for (loop = 0; loop < psKick->ui32NumSrcSync; loop++) |
271 | { | 359 | { |
272 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[0]; | 360 | if (abSrcSyncEnable[loop]) |
361 | { | ||
362 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; | ||
273 | psSyncInfo->psSyncData->ui32ReadOpsPending--; | 363 | psSyncInfo->psSyncData->ui32ReadOpsPending--; |
274 | } | ||
275 | if (psKick->ui32NumDstSync > 0) | ||
276 | { | ||
277 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[0]; | ||
278 | psSyncInfo->psSyncData->ui32WriteOpsPending--; | ||
279 | } | ||
280 | #if defined(PDUMP) | 364 | #if defined(PDUMP) |
281 | if (PDumpIsCaptureFrameKM() | 365 | if (PDumpIsCaptureFrameKM() |
282 | || ((psKick->ui32PDumpFlags & PDUMP_FLAGS_CONTINUOUS) != 0)) | 366 | || ((psKick->ui32PDumpFlags & PDUMP_FLAGS_CONTINUOUS) != 0)) |
283 | { | 367 | { |
284 | if (psKick->ui32NumSrcSync > 0) | ||
285 | { | ||
286 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[0]; | ||
287 | psSyncInfo->psSyncData->ui32LastReadOpDumpVal--; | 368 | psSyncInfo->psSyncData->ui32LastReadOpDumpVal--; |
288 | } | 369 | } |
289 | if (psKick->ui32NumDstSync > 0) | 370 | #endif |
371 | } | ||
372 | } | ||
373 | for (loop = 0; loop < psKick->ui32NumDstSync; loop++) | ||
374 | { | ||
375 | if (abDstSyncEnable[loop]) | ||
290 | { | 376 | { |
291 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[0]; | 377 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[loop]; |
378 | psSyncInfo->psSyncData->ui32WriteOpsPending--; | ||
379 | #if defined(PDUMP) | ||
380 | if (PDumpIsCaptureFrameKM() | ||
381 | || ((psKick->ui32PDumpFlags & PDUMP_FLAGS_CONTINUOUS) != 0)) | ||
382 | { | ||
292 | psSyncInfo->psSyncData->ui32LastOpDumpVal--; | 383 | psSyncInfo->psSyncData->ui32LastOpDumpVal--; |
293 | } | 384 | } |
294 | } | ||
295 | #endif | 385 | #endif |
386 | } | ||
387 | } | ||
296 | } | 388 | } |
297 | 389 | ||
298 | 390 | ||
@@ -322,20 +414,24 @@ IMG_EXPORT PVRSRV_ERROR SGXSubmitTransferKM(IMG_HANDLE hDevHandle, PVRSRV_TRANSF | |||
322 | #if defined(NO_HARDWARE) | 414 | #if defined(NO_HARDWARE) |
323 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_NOSYNCUPDATE) == 0) | 415 | if ((psKick->ui32Flags & SGXMKIF_TQFLAGS_NOSYNCUPDATE) == 0) |
324 | { | 416 | { |
325 | IMG_UINT32 i; | ||
326 | |||
327 | 417 | ||
328 | for(i = 0; i < psKick->ui32NumSrcSync; i++) | 418 | for (loop = 0; loop < psKick->ui32NumSrcSync; loop++) |
329 | { | 419 | { |
330 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[i]; | 420 | if (abSrcSyncEnable[loop]) |
421 | { | ||
422 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahSrcSyncInfo[loop]; | ||
331 | psSyncInfo->psSyncData->ui32ReadOpsComplete = psSyncInfo->psSyncData->ui32ReadOpsPending; | 423 | psSyncInfo->psSyncData->ui32ReadOpsComplete = psSyncInfo->psSyncData->ui32ReadOpsPending; |
332 | } | 424 | } |
425 | } | ||
333 | 426 | ||
334 | for(i = 0; i < psKick->ui32NumDstSync; i++) | 427 | for (loop = 0; loop < psKick->ui32NumDstSync; loop++) |
335 | { | 428 | { |
336 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[i]; | 429 | if (abDstSyncEnable[loop]) |
430 | { | ||
431 | psSyncInfo = (PVRSRV_KERNEL_SYNC_INFO *)psKick->ahDstSyncInfo[loop]; | ||
337 | psSyncInfo->psSyncData->ui32WriteOpsComplete = psSyncInfo->psSyncData->ui32WriteOpsPending; | 432 | psSyncInfo->psSyncData->ui32WriteOpsComplete = psSyncInfo->psSyncData->ui32WriteOpsPending; |
338 | 433 | ||
434 | } | ||
339 | } | 435 | } |
340 | 436 | ||
341 | if (psKick->hTASyncInfo != IMG_NULL) | 437 | if (psKick->hTASyncInfo != IMG_NULL) |
diff --git a/drivers/gpu/pvr/sgx/sgxutils.c b/drivers/gpu/pvr/sgx/sgxutils.c index 0b205c5029f..cf7ecc68d93 100644 --- a/drivers/gpu/pvr/sgx/sgxutils.c +++ b/drivers/gpu/pvr/sgx/sgxutils.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx/sgxutils.h b/drivers/gpu/pvr/sgx/sgxutils.h index 51e8696547f..a7cbcb7193a 100644 --- a/drivers/gpu/pvr/sgx/sgxutils.h +++ b/drivers/gpu/pvr/sgx/sgxutils.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx530defs.h b/drivers/gpu/pvr/sgx530defs.h index 525f51d6569..810cb818988 100644 --- a/drivers/gpu/pvr/sgx530defs.h +++ b/drivers/gpu/pvr/sgx530defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx531defs.h b/drivers/gpu/pvr/sgx531defs.h index b0c663c2be7..c9f2899f16e 100644 --- a/drivers/gpu/pvr/sgx531defs.h +++ b/drivers/gpu/pvr/sgx531defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx535defs.h b/drivers/gpu/pvr/sgx535defs.h index 04f43be12b1..66f216668a0 100644 --- a/drivers/gpu/pvr/sgx535defs.h +++ b/drivers/gpu/pvr/sgx535defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx540defs.h b/drivers/gpu/pvr/sgx540defs.h index dadbb1eaa01..c09aa26cb5a 100644 --- a/drivers/gpu/pvr/sgx540defs.h +++ b/drivers/gpu/pvr/sgx540defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx543_v1.164defs.h b/drivers/gpu/pvr/sgx543_v1.164defs.h index e25cc5cc42c..23bd4d4286a 100644 --- a/drivers/gpu/pvr/sgx543_v1.164defs.h +++ b/drivers/gpu/pvr/sgx543_v1.164defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx543defs.h b/drivers/gpu/pvr/sgx543defs.h index 939a70ce8ba..1f54226d1fd 100644 --- a/drivers/gpu/pvr/sgx543defs.h +++ b/drivers/gpu/pvr/sgx543defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx544defs.h b/drivers/gpu/pvr/sgx544defs.h index eb9268d4ecc..ff3e1e05da6 100644 --- a/drivers/gpu/pvr/sgx544defs.h +++ b/drivers/gpu/pvr/sgx544defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx_bridge.h b/drivers/gpu/pvr/sgx_bridge.h index 3f43f76971e..926c75b69f4 100644 --- a/drivers/gpu/pvr/sgx_bridge.h +++ b/drivers/gpu/pvr/sgx_bridge.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx_mkif_km.h b/drivers/gpu/pvr/sgx_mkif_km.h index 839cb87bd66..91cab7a23c9 100644 --- a/drivers/gpu/pvr/sgx_mkif_km.h +++ b/drivers/gpu/pvr/sgx_mkif_km.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgx_options.h b/drivers/gpu/pvr/sgx_options.h index e81f3bf1d25..d2ddff6e7e3 100644 --- a/drivers/gpu/pvr/sgx_options.h +++ b/drivers/gpu/pvr/sgx_options.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgxapi_km.h b/drivers/gpu/pvr/sgxapi_km.h index 3e4b281b3f9..a0d8e5ba7c2 100644 --- a/drivers/gpu/pvr/sgxapi_km.h +++ b/drivers/gpu/pvr/sgxapi_km.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgxdefs.h b/drivers/gpu/pvr/sgxdefs.h index 3b870596fb5..b3a2583d56b 100644 --- a/drivers/gpu/pvr/sgxdefs.h +++ b/drivers/gpu/pvr/sgxdefs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -46,7 +46,7 @@ | |||
46 | #include "sgx540defs.h" | 46 | #include "sgx540defs.h" |
47 | #else | 47 | #else |
48 | #if defined(SGX543) | 48 | #if defined(SGX543) |
49 | #if SGX_CORE_REV == 113 || SGX_CORE_REV == 122 || SGX_CORE_REV == 1221 || SGX_CORE_REV == 140 | 49 | #if defined(FIX_HW_BRN_29954) |
50 | #include "sgx543_v1.164defs.h" | 50 | #include "sgx543_v1.164defs.h" |
51 | #else | 51 | #else |
52 | #include "sgx543defs.h" | 52 | #include "sgx543defs.h" |
diff --git a/drivers/gpu/pvr/sgxerrata.h b/drivers/gpu/pvr/sgxerrata.h index 8d76618accb..de8f484c8a6 100644 --- a/drivers/gpu/pvr/sgxerrata.h +++ b/drivers/gpu/pvr/sgxerrata.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
@@ -281,9 +281,9 @@ | |||
281 | #if defined(SGX_FEATURE_MP) | 281 | #if defined(SGX_FEATURE_MP) |
282 | #define FIX_HW_BRN_31425 | 282 | #define FIX_HW_BRN_31425 |
283 | #endif | 283 | #endif |
284 | #define FIX_HW_BRN_31620 | ||
285 | #define FIX_HW_BRN_31542 | 284 | #define FIX_HW_BRN_31542 |
286 | #define FIX_HW_BRN_32044 | 285 | #define FIX_HW_BRN_31671 |
286 | #define FIX_HW_BRN_32044 | ||
287 | 287 | ||
288 | #else | 288 | #else |
289 | #if SGX_CORE_REV == 140 | 289 | #if SGX_CORE_REV == 140 |
@@ -320,6 +320,13 @@ | |||
320 | #define FIX_HW_BRN_32044 | 320 | #define FIX_HW_BRN_32044 |
321 | 321 | ||
322 | #else | 322 | #else |
323 | #if SGX_CORE_REV == 142 | ||
324 | #if defined(SGX_FEATURE_MP) | ||
325 | #define FIX_HW_BRN_31425 | ||
326 | #endif | ||
327 | #define FIX_HW_BRN_32044 | ||
328 | |||
329 | #else | ||
323 | #if SGX_CORE_REV == 211 | 330 | #if SGX_CORE_REV == 211 |
324 | #define FIX_HW_BRN_31093 | 331 | #define FIX_HW_BRN_31093 |
325 | #define FIX_HW_BRN_31195 | 332 | #define FIX_HW_BRN_31195 |
@@ -333,6 +340,8 @@ | |||
333 | 340 | ||
334 | #else | 341 | #else |
335 | #if SGX_CORE_REV == 2111 | 342 | #if SGX_CORE_REV == 2111 |
343 | #define FIX_HW_BRN_30970 | ||
344 | #define FIX_HW_BRN_30982 | ||
336 | #define FIX_HW_BRN_31093 | 345 | #define FIX_HW_BRN_31093 |
337 | #define FIX_HW_BRN_31195 | 346 | #define FIX_HW_BRN_31195 |
338 | #define FIX_HW_BRN_31278 | 347 | #define FIX_HW_BRN_31278 |
@@ -341,19 +350,19 @@ | |||
341 | #endif | 350 | #endif |
342 | #define FIX_HW_BRN_31620 | 351 | #define FIX_HW_BRN_31620 |
343 | #define FIX_HW_BRN_31542 | 352 | #define FIX_HW_BRN_31542 |
344 | #define FIX_HW_BRN_30970 | ||
345 | #define FIX_HW_BRN_32044 | 353 | #define FIX_HW_BRN_32044 |
346 | #define FIX_HW_BRN_30982 | ||
347 | 354 | ||
348 | #else | 355 | #else |
349 | #if SGX_CORE_REV == 213 | 356 | #if SGX_CORE_REV == 213 |
350 | #if defined(SGX_FEATURE_MP) | 357 | #if defined(SGX_FEATURE_MP) |
351 | #define FIX_HW_BRN_31425 | 358 | #define FIX_HW_BRN_31425 |
352 | #endif | 359 | #endif |
353 | #define FIX_HW_BRN_31542 | ||
354 | #define FIX_HW_BRN_32044 | 360 | #define FIX_HW_BRN_32044 |
355 | 361 | ||
356 | #else | 362 | #else |
363 | #if SGX_CORE_REV == 216 | ||
364 | #define FIX_HW_BRN_32044 | ||
365 | #else | ||
357 | #if SGX_CORE_REV == SGX_CORE_REV_HEAD | 366 | #if SGX_CORE_REV == SGX_CORE_REV_HEAD |
358 | 367 | ||
359 | #else | 368 | #else |
@@ -368,6 +377,8 @@ | |||
368 | #endif | 377 | #endif |
369 | #endif | 378 | #endif |
370 | #endif | 379 | #endif |
380 | #endif | ||
381 | #endif | ||
371 | 382 | ||
372 | #define SGX_CORE_DEFINED | 383 | #define SGX_CORE_DEFINED |
373 | #endif | 384 | #endif |
diff --git a/drivers/gpu/pvr/sgxfeaturedefs.h b/drivers/gpu/pvr/sgxfeaturedefs.h index 97da0078e3b..341c86480ea 100644 --- a/drivers/gpu/pvr/sgxfeaturedefs.h +++ b/drivers/gpu/pvr/sgxfeaturedefs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgxinfo.h b/drivers/gpu/pvr/sgxinfo.h index 51870873eec..c72e8cef273 100644 --- a/drivers/gpu/pvr/sgxinfo.h +++ b/drivers/gpu/pvr/sgxinfo.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgxmmu.h b/drivers/gpu/pvr/sgxmmu.h index ed74f532c62..1b265f1d401 100644 --- a/drivers/gpu/pvr/sgxmmu.h +++ b/drivers/gpu/pvr/sgxmmu.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgxmpdefs.h b/drivers/gpu/pvr/sgxmpdefs.h index ace1d43ceb2..e34561a08c1 100644 --- a/drivers/gpu/pvr/sgxmpdefs.h +++ b/drivers/gpu/pvr/sgxmpdefs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/sgxscript.h b/drivers/gpu/pvr/sgxscript.h index 47c9e4830fd..df79e2f513c 100644 --- a/drivers/gpu/pvr/sgxscript.h +++ b/drivers/gpu/pvr/sgxscript.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/srvkm.h b/drivers/gpu/pvr/srvkm.h index e8e223c66d4..474a1ee8cb7 100644 --- a/drivers/gpu/pvr/srvkm.h +++ b/drivers/gpu/pvr/srvkm.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/syscommon.h b/drivers/gpu/pvr/syscommon.h index 46ac17375d1..7770b822e73 100644 --- a/drivers/gpu/pvr/syscommon.h +++ b/drivers/gpu/pvr/syscommon.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/ttrace.h b/drivers/gpu/pvr/ttrace.h index 159cbcaeb52..9e04b88bdde 100644 --- a/drivers/gpu/pvr/ttrace.h +++ b/drivers/gpu/pvr/ttrace.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/ttrace_common.h b/drivers/gpu/pvr/ttrace_common.h index b7f884e0992..5895b6c7545 100644 --- a/drivers/gpu/pvr/ttrace_common.h +++ b/drivers/gpu/pvr/ttrace_common.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |
diff --git a/drivers/gpu/pvr/ttrace_tokens.h b/drivers/gpu/pvr/ttrace_tokens.h index 530ce3e380e..21ea5fb9fd9 100644 --- a/drivers/gpu/pvr/ttrace_tokens.h +++ b/drivers/gpu/pvr/ttrace_tokens.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. | 3 | * Copyright (C) Imagination Technologies Ltd. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms and conditions of the GNU General Public License, | 6 | * under the terms and conditions of the GNU General Public License, |