Mesa (master): vc4: Move RCL generation into the kernel.

Eric Anholt anholt at kemper.freedesktop.org
Thu Jun 18 06:55:06 UTC 2015


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 10 12:36:47 2015 -0700

vc4: Move RCL generation into the kernel.

There weren't that many variations of RCL generation, and this lets us
skip all the in-kernel validation for what we generated.

---

 src/gallium/drivers/vc4/Makefile.sources       |    1 +
 src/gallium/drivers/vc4/kernel/vc4_drv.h       |   28 +-
 src/gallium/drivers/vc4/kernel/vc4_gem.c       |   70 ++--
 src/gallium/drivers/vc4/kernel/vc4_render_cl.c |  446 ++++++++++++++++++++++++
 src/gallium/drivers/vc4/kernel/vc4_validate.c  |  306 +++-------------
 src/gallium/drivers/vc4/vc4_blit.c             |  107 +-----
 src/gallium/drivers/vc4/vc4_context.c          |  289 ++-------------
 src/gallium/drivers/vc4/vc4_context.h          |   15 +-
 src/gallium/drivers/vc4/vc4_draw.c             |    2 +
 src/gallium/drivers/vc4/vc4_drm.h              |   40 ++-
 src/gallium/drivers/vc4/vc4_job.c              |   97 +++++-
 11 files changed, 725 insertions(+), 676 deletions(-)

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



More information about the mesa-commit mailing list