diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-28 11:03:04 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-28 11:03:13 +0200 |
commit | 8fb32e9edf4f06246f0b1106c3440bd8de7d871f (patch) | |
tree | 63a7f33647159f2c9c9b9146dcd0c168e02802fc /doc/kernel_interface.md | |
parent | 86005df66face701e2104daf0e0afb0349618493 (diff) |
etnaviv: profile 2D
Diffstat (limited to 'doc/kernel_interface.md')
-rw-r--r-- | doc/kernel_interface.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/kernel_interface.md b/doc/kernel_interface.md index a2b2ef5..0906099 100644 --- a/doc/kernel_interface.md +++ b/doc/kernel_interface.md @@ -419,8 +419,15 @@ uninteresting from a viewpoint of understanding the kernel interface. Profiling =============== -To enable profiling, the kernel most have been built with `VIVANTE_PROFILER` enabled in `gc_hal_options.h`. - +To enable profiling, the kernel most have been built with `VIVANTE_PROFILER` enabled in `gc_hal_options.h` or the appropriate +`config` file. + + USE_PROFILER = 1 + +Vivante also recommends disabling power management features while profiling, + + USE_POWER_MANAGEMENT = 0 + 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`, which set a flag for |