fixes for bc_cat
[sgx.git] / pvr / Kconfig
1 menuconfig PVR
2         tristate "PowerVR Services"
3         depends on OMAP2_DSS
4
5 if PVR
6
7 choice
8         prompt "Build type"
9         default PVR_RELEASE
10 config PVR_RELEASE
11         bool "Release"
12 config PVR_DEBUG
13         bool "Debug"
14 config PVR_TIMING
15         bool "Timing"
16 endchoice
17
18 config PVR_DEBUG_EXTRA
19         bool "Extra debugging info"
20         depends on PVR_DEBUG
21         help
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.
26
27 config PVR_DEBUG_PDUMP
28         bool "PDUMP debug support"
29         depends on PVR && DEBUG_FS && PVR_DEBUG_EXTRA
30         default n
31         help
32             This enables Pdump logging.
33
34 choice
35         prompt "Pdump initial debugging mode"
36         depends on PVR_DEBUG_PDUMP
37         default PVR_PDUMP_MODE_STANDARD
38
39 config PVR_PDUMP_MODE_DISABLED
40         bool "Disabled"
41         help
42             In this pdump mode, no information will be captured.
43
44 config PVR_PDUMP_MODE_STANDARD
45         bool "Standard"
46         help
47             This PDumpmode catches some of the information generated by both
48             kernel and pvr userspace.
49
50 config PVR_PDUMP_MODE_FULL
51         bool "Full"
52         help
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.
56
57 endchoice
58
59 config PVR_PDUMP_INITIAL_MAX_FRAME_COUNT
60         int "Pdump max frame count"
61         range 1 1024
62         default 16
63         depends on PVR_DEBUG_PDUMP
64         help
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.
67
68 config PVR_EDM_DEBUG
69         depends on PVR
70         bool "Enable EDM trace"
71         default n
72         help
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.
76
77 config PVR_TRACE_CMD
78         depends on PVR
79         bool "Enable GPU command tracing"
80         default n
81         help
82             This will enable a lightweight tracer of commands submitted
83             to the GPU.
84
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
88             given command.
89
90             The trace can help for example in debugging dead-lock
91             situations caused by circular lock dependencies.
92
93 config PVR_TRACE_CMD_BUF_SHIFT
94         int "Command tracing buf size"
95         range 1 10
96         default 3
97         depends on PVR_TRACE_CMD
98         help
99             Select the number of pages (as a power of 2) set aside for
100             the command trace buffer.
101             Examples:
102                     1  -> 4kB
103                     3  -> 32kB
104                     10 -> 4MB
105
106 config PVR_NO_HARDWARE
107         bool
108         default n
109
110 config PVR_FORCE_CLOCKS_ON
111         bool "Force clocks on"
112         depends on !PVR_NO_HARDWARE
113         default n
114
115 config PVR_EXAMPLES
116         tristate "Example code"
117         default n
118
119 endif
120