Mesa (master): ilo: convert GPE GEN7 command functions to use ilo_builder

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


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

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Sun Sep  7 23:45:03 2014 +0800

ilo: convert GPE GEN7 command functions to use ilo_builder

Make these changes

  ilo_cp_begin()    -> ilo_builder_batch_pointer()
  ilo_cp_write()    -> direct memory set
  ilo_cp_write_bo() -> ilo_builder_batch_reloc()

and use this chance to drop the "_emit_" infix.

---

 src/gallium/drivers/ilo/ilo_3d.c               |   15 +
 src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c |    4 +-
 src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c |  176 +++---
 src/gallium/drivers/ilo/ilo_gpe_gen7.h         |  801 +++++++++++-------------
 4 files changed, 479 insertions(+), 517 deletions(-)

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



More information about the mesa-commit mailing list