Module: Mesa Branch: master Commit: 2855f3f7bcd9b36a275e942c9c7d0eb8e485c16f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2855f3f7bcd9b36a275e942c9c7d0eb8e485c16f
Author: Rob Clark <[email protected]> Date: Sun May 26 17:13:44 2013 -0400 freedreno: add a3xx support The adreno a3xx GPU is found in newer snapdragon devices, such as the nexus4. The a3xx is GLESv3 and OpenCL capable, although that is not enabled yet in gallium. Compared to a2xx, it introduces an entirely new unified shader ISA, and re-shuffles all or nearly all of the registers. The good news is that (for the most part) the registers are more orthogonal, not combining unrelated state in a single register. And that there is a lot more flexibility, so we don't need to patch and re-emit the shader like we did on a2xx. The shader compiler is currently quite dumb, there would be a lot of room for improvement with an optimizing pass. Despite that, with the a320 in my nexus4 it seems to be ~2-3x faster compared to the a220 in my HP touchpad. Signed-off-by: Rob Clark <[email protected]> --- configure.ac | 1 + src/gallium/drivers/freedreno/Makefile.am | 4 +- src/gallium/drivers/freedreno/a3xx/Makefile.am | 27 + src/gallium/drivers/freedreno/a3xx/a3xx.xml.h | 1838 ++++++++++++++++++++ src/gallium/drivers/freedreno/a3xx/disasm-a3xx.c | 946 ++++++++++ src/gallium/drivers/freedreno/a3xx/fd3_blend.c | 87 + src/gallium/drivers/freedreno/a3xx/fd3_blend.h | 52 + src/gallium/drivers/freedreno/a3xx/fd3_compiler.c | 1240 +++++++++++++ src/gallium/drivers/freedreno/a3xx/fd3_compiler.h | 38 + src/gallium/drivers/freedreno/a3xx/fd3_context.c | 118 ++ src/gallium/drivers/freedreno/a3xx/fd3_context.h | 68 + src/gallium/drivers/freedreno/a3xx/fd3_draw.c | 236 +++ src/gallium/drivers/freedreno/a3xx/fd3_draw.h | 38 + src/gallium/drivers/freedreno/a3xx/fd3_emit.c | 581 ++++++ src/gallium/drivers/freedreno/a3xx/fd3_emit.h | 89 + src/gallium/drivers/freedreno/a3xx/fd3_gmem.c | 486 ++++++ src/gallium/drivers/freedreno/a3xx/fd3_gmem.h | 36 + src/gallium/drivers/freedreno/a3xx/fd3_program.c | 642 +++++++ src/gallium/drivers/freedreno/a3xx/fd3_program.h | 116 ++ .../drivers/freedreno/a3xx/fd3_rasterizer.c | 92 + .../drivers/freedreno/a3xx/fd3_rasterizer.h | 56 + src/gallium/drivers/freedreno/a3xx/fd3_screen.c | 105 ++ src/gallium/drivers/freedreno/a3xx/fd3_screen.h | 36 + src/gallium/drivers/freedreno/a3xx/fd3_texture.c | 140 ++ src/gallium/drivers/freedreno/a3xx/fd3_texture.h | 68 + src/gallium/drivers/freedreno/a3xx/fd3_util.c | 348 ++++ src/gallium/drivers/freedreno/a3xx/fd3_util.h | 56 + src/gallium/drivers/freedreno/a3xx/fd3_zsa.c | 100 ++ src/gallium/drivers/freedreno/a3xx/fd3_zsa.h | 56 + src/gallium/drivers/freedreno/a3xx/instr-a3xx.h | 532 ++++++ src/gallium/drivers/freedreno/a3xx/ir-a3xx.c | 527 ++++++ src/gallium/drivers/freedreno/a3xx/ir-a3xx.h | 190 ++ src/gallium/drivers/freedreno/adreno_common.xml.h | 2 +- src/gallium/drivers/freedreno/adreno_pm4.xml.h | 2 +- src/gallium/drivers/freedreno/freedreno_screen.c | 4 + src/gallium/drivers/freedreno/freedreno_util.c | 2 + 36 files changed, 8956 insertions(+), 3 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=2855f3f7bcd9b36a275e942c9c7d0eb8e485c16f _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
