Mesa (master): ilo: add a builder for building BOs for submission

Chia-I Wu olv at kemper.freedesktop.org
Tue Sep 9 05:33:15 UTC 2014


Module: Mesa
Branch: master
Commit: dab4a676f7590e94640461ad454911e09d95fa88
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dab4a676f7590e94640461ad454911e09d95fa88

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon Sep  1 12:25:53 2014 +0800

ilo: add a builder for building BOs for submission

Comparing to how we manage batch and instruction buffers, the new builder

 - does not flush
 - manages both types of buffers
 - manages STATE_BASE_ADDRESS
 - uploads kernels using unsynchronized mapping
 - has its own decoder for the buffers
 - provides more helpers

---

 src/gallium/drivers/ilo/Makefile.sources     |    2 +
 src/gallium/drivers/ilo/ilo_builder.c        |  566 +++++++++++++++++++++++++
 src/gallium/drivers/ilo/ilo_builder.h        |  490 ++++++++++++++++++++++
 src/gallium/drivers/ilo/ilo_builder_decode.c |  583 ++++++++++++++++++++++++++
 4 files changed, 1641 insertions(+)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=dab4a676f7590e94640461ad454911e09d95fa88



More information about the mesa-commit mailing list