diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-24 00:08:53 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-24 07:52:24 +0200 |
commit | 1bf24708347e2fa0c60c38e73f24a1afc9b60f13 (patch) | |
tree | a24eef972004e62992f169c5d93b568cf0bd10df /doc/kernel_interface.md | |
parent | 7a4cacdcce786f5ff1465b3352dbac9a1d68cfaf (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/kernel_interface.md')
-rw-r--r-- | doc/kernel_interface.md | 5 |
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: |