--- kernel-2.6.27.orig/drivers/gpu/pvr/Kconfig +++ kernel-2.6.27/drivers/gpu/pvr/Kconfig @@ -0,0 +1,255 @@ +# +# PowerVR Services framework from Imagination Technologies +# + +menuconfig PVR + tristate "PowerVR Services framework" + help + Kernel-level support for the Imagination PowerVR Services framework. + This module provides support for resource handling for a PVR + compatible 2D/3D graphics accelerator like the Imagination MBX and + SGX accelerator cores. + +if PVR + +config PVR_TRANSFER_QUEUE + depends on PVR_SERVICES4 + bool + +config PVR_SUPPORT_SRVINIT + depends on PVR_SERVICES4 + bool + +config PVR_SUPPORT_SECURE_HANDLES + bool + depends on PVR_SERVICES4 + default y + +config PVR_NEW_TRANSFER_QUEUE + bool + depends on !PVR_SERVICES4 + default y + + +choice PVR_SERVICES + prompt "Services version" + +config PVR_SERVICES4 + bool "Version 4" + select PVR_TRANSFER_QUEUE + select PVR_SUPPORT_SRVINIT + +endchoice + + +choice PVR_SGXCORE + prompt "SGX core" + +config PVR_SGXCORE_530 + bool "530" + +endchoice + + +choice PVR_SGX_CORE_REV + prompt "SGX core revision" + +config PVR_SGX_CORE_REV_103 + bool "103" + +endchoice + +config PVR_PVR2D_ALT_2DHW + bool + default y + +config PVR_NO_HARDWARE + bool + +choice PVR_SYSTEM + prompt "PVR system" + +config PVR_SYSTEM_OMAP3430 + bool "OMAP3430" + select PVR_SGXCORE_530 + select PVR_SGX_CORE_REV_103 + select PVR_PVR2D_ALT_2DHW + +config PVR_SYSTEM_NO_HARDWARE + bool "No hardware" + select PVR_NO_HARDWARE +endchoice + +config PVR_BUFFERCLASS_EXAMPLE + bool "Buffer class example" + +config PVR_USE_PTHREADS + bool + default y + +config PVR_OPTIMISE_NON_NPTL_SINGLE_THREAD_TLS_LOOKUP + bool + +config PVR_DISABLE_THREADS + bool + +config PVR_SUPPORT_DRI2 + bool + +config PVR_PDUMP + bool + +config PVR_SUPPORT_XWS + bool + +config PVR_SUPPORT_POWER_MANAGEMENT + bool + +config PVR_SUPPORT_BUFFER_CLASS + bool + + +config PVR_SUPPORT_DYNAMIC_PBRESIZE + bool + +config PVR_USE_FBDEV + bool + +config PVR_FBDEV_NAME + string + depends on PVR_USE_FBDEV + +config PVR_SUPPORT_DYNAMIC_3DCLOCKGATING + bool + +config PVR_REENTRANCY_PROTECTION + bool + +config PVR_SCHEDULER_CONTROL_SUPPORT + bool + +config PVR_USE_IMG_POWER_DOMAIN_FUNCTION + bool + +config PVR_USE_DMALLOC + bool + +config PVR_SUPPORT_LINUX_X86_WRITECOMBINE + bool + +config PVR_SGX_PDS_EVENTS_DISABLED + bool + +config PVR_USE_SUPPORT_NO_TA3D_OVERLAP + bool + +config PVR_SUPPORT_SGX_TILING + bool + +config PVR_TRANSFER_QUEUE + bool + default y + +config PVR_SUPPORT_SGX_EVENT_OBJECT + bool + default y if PVR_SERVICES4 + +config PVR_SUPPORT_SGX_MMU_DUMMY_PAGE + bool + +config PVR_PVRSRV_USSE_EDM_STATUS_DEBUG + bool + +config PVR_SYS_USING_INTERRUPTS + depends on !PVR_NO_HARDWARE + default y + bool + +config PVR_SUPPORT_HW_RECOVERY + depends on !PVR_NO_HARDWARE + default y + bool + +config PVR_SUPPORT_ACTIVE_POWER_MANAGEMENT + depends on !PVR_NO_HARDWARE + default y + bool + +config PVR_USE_GCC__thread_KEYWORD + bool + +config PVR_SUPPORT_SGX_EVENT_OBJECT + default y + bool + +config PVR_LDM_PLATFORM + bool + +config PVR_LDM_PCI + bool + +config PVR_PVR_MANUAL_POWER_CONTROL + bool + +choice PVR_BUILD + bool "Type of build" + +config PVR_BUILD_RELEASE + bool "Release" + help + Release build. + +config PVR_BUILD_DEBUG + bool "Debugging" + help + Debug build. + +config PVR_BUILD_TIMING + bool "Timing" + help + Timing build. + +endchoice + +if PVR_BUILD_DEBUG + +config PVR_DEBUG_LINUX_MEMORY_ALLOCATIONS + bool "Debug memory allocations" + default y + +config PVR_DEBUG_LINUX_MEM_AREAS + bool "Debug memory areas" + default y + +config PVR_DEBUG_LINUX_MMAP_AREAS + bool "Debug mmap areas" + default y + +config PVR_DEBUG_LINUX_XML_PROC_FILES + bool "Debug XML proc files" + default n + +config PVR_DEBUG_LINUX_SLAB_ALLOCATIONS + bool "Debug SLAB allocations" + default n + +config PVR_DEBUG_BRIDGE_KM + bool "Debug brdige module" + default y + +config PVR_DEBUG_TRACE_BRIDGE_KM + bool "Debug trace bridge module" + default n + +config PVR_DEBUG_BEIDGE_KM_DISPATCH_TABLE + bool "Debug bridge module's dispatch table" + default n + +endif # PVR_BUILD_DEBUG + +config PVR_SUPPORT_SGX1 + bool + default y + +endif # PVR +