summaryrefslogtreecommitdiff
path: root/doc/kernel_interface.md
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-01-12 16:57:21 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-01-12 16:57:21 +0100
commitca2c00723e3697d85b6abc3e400979720a0d3a96 (patch)
tree4c67eb1a35e2d8255c643a26353cb2bd183e819e /doc/kernel_interface.md
parentd6d6098c28b17fac8f1abdb5f1292524212625a9 (diff)
mipmapping state
Diffstat (limited to 'doc/kernel_interface.md')
-rw-r--r--doc/kernel_interface.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/kernel_interface.md b/doc/kernel_interface.md
index 8980c71..b819b7b 100644
--- a/doc/kernel_interface.md
+++ b/doc/kernel_interface.md
@@ -197,10 +197,11 @@ What are these used for? Seems they are the last parameters of a 'LOAD_STATE' co
At least in the v2 kernel driver they are not used. They are used for building the buffer from the
userspace driver, but not for using it.
-
Profiling
===============
+To enable profiling, the kernel most have been built with `VIVANTE_PROFILER` enabled in `gc_hal_options.h`.
+
HW profiling registers can be read using the ioctl:
gcvHAL_READ_ALL_PROFILE_REGISTERS
@@ -290,3 +291,4 @@ HI (Host interface)
hi_axi_cycles_write_request_stalled
hi_axi_cycles_write_data_stalled
+