help
xxxxxxxxxxxxxxxxxxxxxxxxxx
-choice
- prompt "Build IMG kernel service as "
+choice
+ prompt "PVR ABI version"
depends on DRM_INTEL_MID
- default DRM_MID_RELEASE
+ default PVR_ABI_RELEASE
-config DRM_MID_RELEASE
- bool "Release"
+config PVR_ABI_RELEASE
+ bool "Release ABI"
depends on DRM_INTEL_MID
help
- Build IMG kernel services as release
+ Select release mode for the IOCTL and firmware ABI. Note
+ that this will work only with the PVR user space libraries
+ built with the release mode ABI option too.
-config DRM_MID_DEBUG
- bool "Debug"
+
+config PVR_ABI_DEBUG
+ bool "Debug ABI"
depends on DRM_INTEL_MID
help
- Build IMG kernel services as debug
+ Select debug mode for the IOCTL and firmware ABI. This will
+ enable extra debugging options with the help of the user space
+ libraries, like PDUMP (PDUMP needs to be enabled separately).
+
+ Note that this will work only with the PVR user space libraries
+ built with the debug mode ABI option too.
endchoice
+config PVR_DEBUG
+ bool "PVR debug messages/asserts"
+ depends on DRM_INTEL_MID
+ help
+ Enable debug messages and asserts.
+
config DRM_MDFLD
tristate "Intel Medfield"
depends on DRM_INTEL_MID && PCI
ccflags-$(RES_MAN_EXTEND) += -DRES_MAN_EXTEND
ccflags-$(PVRSRV_OS_MEM_INFO) += -DPVRSRV_OS_MEM_INFO
-ccflags-$(CONFIG_DRM_MID_RELEASE) += -DBUILD="\"release\"" -DPVR_BUILD_TYPE="\"release\"" -DRELEASE
-ccflags-$(CONFIG_DRM_MID_DEBUG) += -DBUILD="\"debug\"" -DPVR_BUILD_TYPE="\"debug\"" -DPVR_DEBUG_EXT -DDEBUG_LINUX_MEM_AREAS -DDEBUG_LINUX_MEMORY_ALLOCATIONS -DDEBUG_LINUX_MMAP_AREAS -DDEBUG_BRIDGE_KM
+ccflags-$(CONFIG_PVR_ABI_RELEASE) += -DBUILD="\"release\"" -DPVR_BUILD_TYPE="\"release\"" -DRELEASE
+ccflags-$(CONFIG_PVR_ABI_DEBUG) += -DBUILD="\"debug\"" -DPVR_BUILD_TYPE="\"debug\"" -DPVR_DEBUG_EXT -DDEBUG_LINUX_MEM_AREAS -DDEBUG_LINUX_MEMORY_ALLOCATIONS -DDEBUG_LINUX_MMAP_AREAS -DDEBUG_BRIDGE_KM
+ccflags-$(CONFIG_PVR_DEBUG) += -DDEBUG
ccflags-$(CONFIG_PCI_MSI) += -DCONFIG_PCI_MSI
PVRDIR = ../pvr
#define PVR_DBGDRIV_MESSAGE DBGPRIV_DBGDRV_MESSAGE, "", 0
-#if !defined(PVRSRV_NEED_PVR_ASSERT) && defined(PVR_DEBUG_EXT)
+#if !defined(PVRSRV_NEED_PVR_ASSERT) && defined(DEBUG)
#define PVRSRV_NEED_PVR_ASSERT
#endif