[Mesa-dev] [PATCH 0/4] Some prep work for fixing multi context issues in Nouveau
Karol Herbst
kherbst at redhat.com
Tue Nov 20 19:21:54 UTC 2018
This series cleans up some code in preparation for the real fix and contains
cleanups we want to have regardless.
The approach in soon to follow patches is to give each contexts its own
nouveau_client, nouveau_pushbuf and fence list and have operations triggered
through a context only use objects owned by the context.
Karol Herbst (4):
nouveau: include all compile dependencies for nouveau_context.h
nouveau: extract nouveau_context functions into a new file
nv50,nvc0: simplify screen.fence
nouveau: access client and pushbuf from context directly
src/gallium/drivers/nouveau/Makefile.sources | 1 +
src/gallium/drivers/nouveau/meson.build | 1 +
src/gallium/drivers/nouveau/nouveau_context.c | 19 +++++++++++++++++++
src/gallium/drivers/nouveau/nouveau_context.h | 5 +++++
src/gallium/drivers/nouveau/nouveau_screen.c | 18 ------------------
.../drivers/nouveau/nv30/nv30_context.c | 4 ++--
src/gallium/drivers/nouveau/nv30/nv30_draw.c | 4 ++--
.../drivers/nouveau/nv50/nv50_compute.c | 4 ++--
.../drivers/nouveau/nv50/nv50_context.c | 8 ++++----
.../drivers/nouveau/nv50/nv50_query_hw.c | 4 ++--
.../drivers/nouveau/nv50/nv50_screen.c | 4 ++--
.../drivers/nouveau/nv50/nv50_screen.h | 1 -
.../drivers/nouveau/nv50/nv50_transfer.c | 3 +--
.../drivers/nouveau/nvc0/nvc0_context.c | 10 +++++-----
.../drivers/nouveau/nvc0/nvc0_query_hw.c | 10 +++++-----
.../drivers/nouveau/nvc0/nvc0_screen.c | 4 ++--
.../drivers/nouveau/nvc0/nvc0_screen.h | 1 -
.../drivers/nouveau/nvc0/nvc0_transfer.c | 2 +-
18 files changed, 54 insertions(+), 49 deletions(-)
create mode 100644 src/gallium/drivers/nouveau/nouveau_context.c
--
2.19.1
More information about the mesa-dev
mailing list