| /*************************************************************************/ /*! |
| @File |
| @Title Project-global include header |
| @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved |
| @Description OS functions who's implementation are processor specific |
| @License MIT |
| |
| The contents of this file are subject to the MIT license as set out below. |
| |
| Permission is hereby granted, free of charge, to any person obtaining a copy |
| of this software and associated documentation files (the "Software"), to deal |
| in the Software without restriction, including without limitation the rights |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| copies of the Software, and to permit persons to whom the Software is |
| furnished to do so, subject to the following conditions: |
| |
| The above copyright notice and this permission notice shall be included in |
| all copies or substantial portions of the Software. |
| |
| This License is also included in this distribution in the file called |
| "MIT-COPYING". |
| |
| EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS |
| PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
| BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
| PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR |
| COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| */ /**************************************************************************/ |
| |
| #define DEVICE_MEMSETCPY_ALIGN_IN_BYTES 8 |
| #define GPUVIRT_VALIDATION_NUM_OS 8 |
| #define GPUVIRT_VALIDATION_NUM_REGIONS 2 |
| #define HWR_DEFAULT_ENABLED |
| #define NO_HARDWARE |
| #define PDUMP_STREAMBUF_MAX_SIZE_MB 16 |
| #define PVR_ANNOTATION_MAX_LEN 96 |
| #define PVR_BUILD_DIR "img_rgx_no_hardware" |
| #define PVR_BUILD_TYPE "release" |
| #define PVR_DIRTY_BYTES_FLUSH_THRESHOLD 524288 |
| #define PVR_POWER_ACTOR |
| #define PVRSRV_APPHINT_ASSERTONHWRTRIGGER IMG_FALSE |
| #define PVRSRV_APPHINT_ASSERTOUTOFMEMORY IMG_FALSE |
| #define PVRSRV_APPHINT_BIFTILINGMODE 4 |
| #define PVRSRV_APPHINT_CACHEOPCONFIG 0 |
| #define PVRSRV_APPHINT_CACHEOPGFTHRESHOLDSIZE 0 |
| #define PVRSRV_APPHINT_CACHEOPUMKMHRESHOLDSIZE 0 |
| #define PVRSRV_APPHINT_CHECKMLIST APPHNT_BLDVAR_DEBUG |
| #define PVRSRV_APPHINT_CLEANUPTHREADPRIORITY 5 |
| #define PVRSRV_APPHINT_CLEANUPTHREADWEIGHT 0 |
| #define PVRSRV_APPHINT_DISABLECLOCKGATING 0 |
| #define PVRSRV_APPHINT_DISABLEDMOVERLAP 0 |
| #define PVRSRV_APPHINT_DISABLEFEDLOGGING IMG_FALSE |
| #define PVRSRV_APPHINT_DISABLEPDUMPPANIC IMG_FALSE |
| #define PVRSRV_APPHINT_DRIVERMODE 0x7FFFFFFF |
| #define PVRSRV_APPHINT_DUSTREQUESTINJECT IMG_FALSE |
| #define PVRSRV_APPHINT_EMUMAXFREQ 0 |
| #define PVRSRV_APPHINT_ENABLEAPM RGX_ACTIVEPM_DEFAULT |
| #define PVRSRV_APPHINT_ENABLECDMKILLINGRANDMODE 0 |
| #define PVRSRV_APPHINT_ENABLEFTRACEGPU IMG_FALSE |
| #define PVRSRV_APPHINT_ENABLEFWCONTEXTSWITCH RGXFWIF_INICFG_CTXSWITCH_DM_ALL |
| #define PVRSRV_APPHINT_ENABLEFWPOISONONFREE IMG_FALSE |
| #define PVRSRV_APPHINT_ENABLEHTBLOGGROUP 0 |
| #define PVRSRV_APPHINT_ENABLELOGGROUP RGXFWIF_LOG_TYPE_NONE |
| #define PVRSRV_APPHINT_ENABLERDPOWERISLAND RGX_RD_POWER_ISLAND_DEFAULT |
| #define PVRSRV_APPHINT_ENABLESIGNATURECHECKS APPHNT_BLDVAR_ENABLESIGNATURECHECKS |
| #define PVRSRV_APPHINT_ENABLETRUSTEDDEVICEACECONFIG IMG_FALSE |
| #define PVRSRV_APPHINT_FIRMWARELOGTYPE 0 |
| #define PVRSRV_APPHINT_FIRMWAREPERF FW_PERF_CONF_NONE |
| #define PVRSRV_APPHINT_FWCONTEXTSWITCHPROFILE RGXFWIF_CTXSWITCH_PROFILE_MEDIUM_EN |
| #define PVRSRV_APPHINT_FWPOISONONFREEVALUE 0xBD |
| #define PVRSRV_APPHINT_GENERAL_NON4K_HEAP_PAGE_SIZE 0x4000 |
| #define PVRSRV_APPHINT_GPIOVALIDATIONMODE 0 |
| #define PVRSRV_APPHINT_HTBOPERATIONMODE HTB_OPMODE_DROPOLDEST |
| #define PVRSRV_APPHINT_HTBUFFERSIZE 64 |
| #define PVRSRV_APPHINT_HWPERFCLIENTBUFFERSIZE 786432 |
| #define PVRSRV_APPHINT_HWPERFCLIENTFILTER_EGL 0 |
| #define PVRSRV_APPHINT_HWPERFCLIENTFILTER_OPENCL 0 |
| #define PVRSRV_APPHINT_HWPERFCLIENTFILTER_OPENGLES 0 |
| #define PVRSRV_APPHINT_HWPERFCLIENTFILTER_OPENRL 0 |
| #define PVRSRV_APPHINT_HWPERFCLIENTFILTER_SERVICES 0 |
| #define PVRSRV_APPHINT_HWPERFCLIENTFILTER_VULKAN 0 |
| #define PVRSRV_APPHINT_HWPERFDISABLECUSTOMCOUNTERFILTER 0 |
| #define PVRSRV_APPHINT_HWPERFFWBUFSIZEINKB 2048 |
| #define PVRSRV_APPHINT_HWPERFFWFILTER 0 |
| #define PVRSRV_APPHINT_HWPERFHOSTBUFSIZEINKB 2048 |
| #define PVRSRV_APPHINT_HWPERFHOSTFILTER 0 |
| #define PVRSRV_APPHINT_HWRDEBUGDUMPLIMIT APPHNT_BLDVAR_DBGDUMPLIMIT |
| #define PVRSRV_APPHINT_JONESDISABLEMASK 0 |
| #define PVRSRV_APPHINT_NEWFILTERINGMODE 1 |
| #define PVRSRV_APPHINT_OSIDREGION0MAX "0x3FFFFFFF 0x0FFFFFFF 0x17FFFFFF 0x1FFFFFFF 0x27FFFFFF 0x2FFFFFFF 0x37FFFFFF 0x3FFFFFFF" |
| #define PVRSRV_APPHINT_OSIDREGION0MIN "0x00000000 0x04000000 0x10000000 0x18000000 0x20000000 0x28000000 0x30000000 0x38000000" |
| #define PVRSRV_APPHINT_OSIDREGION1MAX "0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF" |
| #define PVRSRV_APPHINT_OSIDREGION1MIN "0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000" |
| #define PVRSRV_APPHINT_RGXBVNC "" |
| #define PVRSRV_APPHINT_SIGNATURECHECKSBUFSIZE RGXFW_SIG_BUFFER_SIZE_MIN |
| #define PVRSRV_APPHINT_TIMECORRCLOCK 0 |
| #define PVRSRV_APPHINT_TRUNCATEMODE 0 |
| #define PVRSRV_APPHINT_USEMETAT1 RGX_META_T1_OFF |
| #define PVRSRV_APPHINT_VDMCONTEXTSWITCHMODE RGXFWIF_INICFG_VDM_CTX_STORE_MODE_INDEX |
| #define PVRSRV_APPHINT_WATCHDOGTHREADPRIORITY 0 |
| #define PVRSRV_APPHINT_WATCHDOGTHREADWEIGHT 0 |
| #define PVRSRV_APPHINT_ZEROFREELIST IMG_FALSE |
| #define PVRSRV_ENABLE_CCCB_UTILISATION_INFO |
| #define PVRSRV_ENABLE_CCCB_UTILISATION_INFO_THRESHOLD 90 |
| #define PVRSRV_ENABLE_PROCESS_STATS |
| #define PVRSRV_FULL_SYNC_TRACKING_HISTORY_LEN 256 |
| #define PVRSRV_MODNAME "pvrsrvkm" |
| #define PVRSRV_NEED_PVR_ASSERT |
| #define PVRSRV_NEED_PVR_DPF |
| #define PVRSRV_NEED_PVR_STACKTRACE_NATIVE |
| #define PVRSRV_POISON_ON_ALLOC_VALUE 0xd9 |
| #define PVRSRV_POISON_ON_FREE_VALUE 0x63 |
| #define PVRSRV_RGX_LOG2_CLIENT_CCB_SIZE_3D 16 |
| #define PVRSRV_RGX_LOG2_CLIENT_CCB_SIZE_CDM 13 |
| #define PVRSRV_RGX_LOG2_CLIENT_CCB_SIZE_KICKSYNC 13 |
| #define PVRSRV_RGX_LOG2_CLIENT_CCB_SIZE_RTU 15 |
| #define PVRSRV_RGX_LOG2_CLIENT_CCB_SIZE_TA 15 |
| #define PVRSRV_RGX_LOG2_CLIENT_CCB_SIZE_TQ2D 14 |
| #define PVRSRV_RGX_LOG2_CLIENT_CCB_SIZE_TQ3D 14 |
| #define PVRSRV_VZ_NUM_OSID |
| #define RELEASE |
| #define RGX_BNC_CONFIG_KM_HEADER "configs/rgxconfig_km_22.V.54.30.h" |
| #define RGX_BVNC_CORE_KM_HEADER "cores/rgxcore_km_22.40.54.30.h" |
| #define RGX_FW_FILENAME "rgx.fw" |
| #define RGX_FW_HEAP_SHIFT 25 |
| #define SUPPORT_DBGDRV_EVENT_OBJECTS |
| #define SUPPORT_DEVICEMEMHISTORY_BRIDGE |
| #define SUPPORT_GPUTRACE_EVENTS 1 |
| #define SUPPORT_MMU_PENDING_FAULT_PROTECTION |
| #define SUPPORT_PAGE_FAULT_DEBUG |
| #define SUPPORT_PERCONTEXT_FREELIST |
| #define SUPPORT_RGX 1 |
| #define SUPPORT_VDM_CONTEXT_STORE_BUFFER_AB |