summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-07-24 00:08:53 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-07-24 07:52:24 +0200
commit1bf24708347e2fa0c60c38e73f24a1afc9b60f13 (patch)
treea24eef972004e62992f169c5d93b568cf0bd10df /doc
parent7a4cacdcce786f5ff1465b3352dbac9a1d68cfaf (diff)
etna: more robust cmdbuffer flush handling
When something goes wrong during reserve, abort with an error, as it means that the command buffer is in inconsistent state. Also work around an apparent Vivante kernel driver bug that results in hangs.
Diffstat (limited to 'doc')
-rw-r--r--doc/kernel_interface.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/kernel_interface.md b/doc/kernel_interface.md
index fb33e93..a2b2ef5 100644
--- a/doc/kernel_interface.md
+++ b/doc/kernel_interface.md
@@ -423,8 +423,9 @@ To enable profiling, the kernel most have been built with `VIVANTE_PROFILER` ena
HW profiling registers can be read using the command `READ_ALL_PROFILE_REGISTERS`.
-There are also the commands `GET_PROFILE_SETTING` and `SET_PROFILE_SETTING`, apparently for logging to files,
-but these aren't even implemented in the kernel drivers.
+There are also the commands `GET_PROFILE_SETTING` and `SET_PROFILE_SETTING`, which set a flag for
+logging to a file (`vprofiler.xml` by default), but this flag doesn't do anything in the kernel driver,
+likely it's meant to be read out by the user space driver.
This will return a structure `gcsPROFILER_COUNTERS`, defined in `GC_HAL_PROFILER.h`, which has the following timers: