diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-28 18:46:37 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-28 18:46:37 +0200 |
commit | 6b685fdade1a23d2783aaaaabf46704ca9479363 (patch) | |
tree | 7f15a79c5ea4a4384a8744fcc3c275107e2a0df1 /README.md | |
parent | 4c2257ed0548be400d64eb670bc41ec7fa0f8c63 (diff) |
documentation and comment updates
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 28 insertions, 3 deletions
@@ -39,7 +39,7 @@ Compatibility - GC860 (GCW Zero/v2) - GC880 (i.MX6) -Support for GC2000 (i.MX6) and others with multiple pixel pipes planned. +Support for GC2000 (i.MX6) and others with multiple pixel pipes requires a few changes. Building ========= @@ -60,8 +60,8 @@ of headers is most similar, and adapt that. General -------- -If you just need `libetnaviv.a` for building Mesa and are not planning to do reverse engineering, -it is sufficient to run make in `native/etnaviv`. +If the goal is to build Mesa and you are not planning to do reverse engineering, only `libetnaviv.a` needs to be built. +In this case it is sufficient to run make in `native/etnaviv`. Otherwise, run `make` and `make rev` in `native/` (see the README.md in `native` for a description of all the directories contained within). @@ -209,6 +209,31 @@ from the madness of kernel-specific headers and defines. Currently used only by the 3D driver in `native/driver`. A future 2D, SVG or OpenCL driver can share this code. +Debugging support +------------------ + +Etnaviv comes with a GDB plugin for `etna` driver debugging. GDB 7.5+ with Python support (usually enabled +by default in distributions) is needed for it to work. This plugin adds a few custom commands. + +Usage (from gdb): + + source /path/to/etnaviv_gdb.py + +Commands: + +- gpu-state [<prefix>] + gpu-state uniforms + + Show full GPU state by default or a subset of the registers with a certain prefix. + The special prefix 'uniforms' shows the shader uniforms. + +- gpu-dis + + Disassemble the currently bound fragment and vertex shaders. + +These commands will automatically find the gallium pipe and screen from the current Mesa +context. + State map ---------- |