Mesa (master): freedreno/ir3: inline const emit
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 30 20:21:11 UTC 2020
Module: Mesa
Branch: master
Commit: 710537b19c04492939b11b2a19b010552c937477
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=710537b19c04492939b11b2a19b010552c937477
Author: Rob Clark <robdclark at chromium.org>
Date: Wed Apr 22 11:51:42 2020 -0700
freedreno/ir3: inline const emit
Drop vfunc callbacks for per-gen packet emit, and instead have a header
that is #include'd once per gen.
We'll end up with multiple copies of some of this, but since we never
have multiple gen's of adreno on a single device, only one copy will be
paged in (and hopefully in the I-cache for hot-paths)
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4813>
---
src/gallium/drivers/freedreno/Makefile.sources | 1 +
src/gallium/drivers/freedreno/a3xx/fd3_emit.c | 32 +-
src/gallium/drivers/freedreno/a4xx/fd4_emit.c | 32 +-
src/gallium/drivers/freedreno/a5xx/fd5_compute.c | 2 +-
src/gallium/drivers/freedreno/a5xx/fd5_emit.c | 39 +-
src/gallium/drivers/freedreno/a5xx/fd5_emit.h | 2 +
src/gallium/drivers/freedreno/a6xx/fd6_const.c | 34 +-
src/gallium/drivers/freedreno/a6xx/fd6_const.h | 6 -
src/gallium/drivers/freedreno/a6xx/fd6_emit.c | 2 -
src/gallium/drivers/freedreno/freedreno_screen.h | 8 -
src/gallium/drivers/freedreno/ir3/ir3_const.h | 577 +++++++++++++++++++++++
src/gallium/drivers/freedreno/ir3/ir3_gallium.c | 552 ----------------------
src/gallium/drivers/freedreno/ir3/ir3_gallium.h | 42 --
src/gallium/drivers/freedreno/meson.build | 1 +
14 files changed, 711 insertions(+), 619 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=710537b19c04492939b11b2a19b010552c937477
More information about the mesa-commit
mailing list