2 tristate "PowerVR Services"
18 config PVR_DEBUG_EXTRA
19 bool "Extra debugging info"
22 This enables extra debugging facilities on top of what you
23 get with setting debug build type above. This effectively
24 changes the driver's ABI, so the user space clients using
25 the driver need to be built in debug mode as well.
27 config PVR_DEBUG_PDUMP
28 bool "PDUMP debug support"
29 depends on PVR && DEBUG_FS && PVR_DEBUG_EXTRA
32 This enables Pdump logging.
35 prompt "Pdump initial debugging mode"
36 depends on PVR_DEBUG_PDUMP
37 default PVR_PDUMP_MODE_STANDARD
39 config PVR_PDUMP_MODE_DISABLED
42 In this pdump mode, no information will be captured.
44 config PVR_PDUMP_MODE_STANDARD
47 This PDumpmode catches some of the information generated by both
48 kernel and pvr userspace.
50 config PVR_PDUMP_MODE_FULL
53 This PDumpmode catches all information generated by both kernel
54 and pvr userspace. This mode is needed for allowing Imagination
55 Technologies to run a pdump log through their simulator.
59 config PVR_PDUMP_INITIAL_MAX_FRAME_COUNT
60 int "Pdump max frame count"
63 depends on PVR_DEBUG_PDUMP
65 This value sets how many frames will be retained at any time; the oldest
66 frames will be removed first. This value can be set from 1 to 1024.
70 bool "Enable EDM trace"
73 This will print the micro kernel (EDM) tracing buffer in case
74 of a HW recovery event. You also need a micro kernel that was
75 configured to generate this trace.
79 bool "Enable GPU command tracing"
82 This will enable a lightweight tracer of commands submitted
85 Besides the command type the trace output will provide the
86 timestamp, id and name of the submitting process and a
87 a snapshots of the synchronization counters related to the
90 The trace can help for example in debugging dead-lock
91 situations caused by circular lock dependencies.
93 config PVR_TRACE_CMD_BUF_SHIFT
94 int "Command tracing buf size"
97 depends on PVR_TRACE_CMD
99 Select the number of pages (as a power of 2) set aside for
100 the command trace buffer.
106 config PVR_NO_HARDWARE
110 config PVR_FORCE_CLOCKS_ON
111 bool "Force clocks on"
112 depends on !PVR_NO_HARDWARE
116 tristate "Example code"