[Mesa-dev] [PATCH 0/6] gallium/freedreno support for context priority

Rob Clark robdclark at gmail.com
Wed Oct 4 15:44:31 UTC 2017


These apply on top of Chris Wilson's patches which add the corresponding
EGL/core bits for IMG_context_priority[1] and add the gallium and
freedreno bits.  The freedreno parts depend on some libdrm_freedreno
patches that are WIP (need updating for some last minute changes we
made to the kernel UABI), so while I don't expect the freedreno gallium
parts to change, they aren't quite ready to merge.  Just including them
for reference, and so people can begin reviewing the gallium part (first
patch).

[1] https://patchwork.freedesktop.org/series/31159/

Rob Clark (6):
  gallium: plumb context priority through to driver
  freedreno: pass context flags through to fd_context_init()
  freedreno: rename pipe -> vsc_pipe
  freedreno: per-context fd_pipe
  freedreno: context priority support
  freedreno: add debug flag to force high priority context

 src/gallium/drivers/etnaviv/etnaviv_screen.c        |  1 +
 src/gallium/drivers/freedreno/a2xx/fd2_context.c    |  2 +-
 src/gallium/drivers/freedreno/a3xx/fd3_context.c    |  2 +-
 src/gallium/drivers/freedreno/a3xx/fd3_gmem.c       |  4 ++--
 src/gallium/drivers/freedreno/a4xx/fd4_context.c    |  2 +-
 src/gallium/drivers/freedreno/a4xx/fd4_gmem.c       |  8 ++++----
 src/gallium/drivers/freedreno/a5xx/fd5_context.c    |  2 +-
 src/gallium/drivers/freedreno/a5xx/fd5_draw.c       |  2 +-
 src/gallium/drivers/freedreno/a5xx/fd5_gmem.c       |  8 ++++----
 src/gallium/drivers/freedreno/freedreno_batch.c     |  6 +++---
 src/gallium/drivers/freedreno/freedreno_context.c   | 17 ++++++++++++++---
 src/gallium/drivers/freedreno/freedreno_context.h   |  5 +++--
 src/gallium/drivers/freedreno/freedreno_fence.c     |  2 +-
 src/gallium/drivers/freedreno/freedreno_gmem.c      |  4 ++--
 src/gallium/drivers/freedreno/freedreno_query_acc.c |  6 +++---
 src/gallium/drivers/freedreno/freedreno_query_hw.c  |  4 ++--
 src/gallium/drivers/freedreno/freedreno_resource.c  |  4 ++--
 src/gallium/drivers/freedreno/freedreno_screen.c    | 12 ++++++++++++
 src/gallium/drivers/freedreno/freedreno_screen.h    |  6 ++++++
 src/gallium/drivers/freedreno/freedreno_util.h      |  1 +
 src/gallium/drivers/i915/i915_screen.c              |  1 +
 src/gallium/drivers/llvmpipe/lp_screen.c            |  1 +
 src/gallium/drivers/nouveau/nv30/nv30_screen.c      |  1 +
 src/gallium/drivers/nouveau/nv50/nv50_screen.c      |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c      |  1 +
 src/gallium/drivers/r300/r300_screen.c              |  1 +
 src/gallium/drivers/r600/r600_pipe.c                |  1 +
 src/gallium/drivers/radeonsi/si_pipe.c              |  1 +
 src/gallium/drivers/softpipe/sp_screen.c            |  1 +
 src/gallium/drivers/svga/svga_screen.c              |  1 +
 src/gallium/drivers/swr/swr_screen.cpp              |  1 +
 src/gallium/drivers/vc4/vc4_screen.c                |  1 +
 src/gallium/drivers/virgl/virgl_screen.c            |  1 +
 src/gallium/include/pipe/p_defines.h                | 21 +++++++++++++++++++++
 src/gallium/include/state_tracker/st_api.h          |  2 ++
 src/gallium/state_trackers/dri/dri_context.c        | 11 +++++++++++
 src/gallium/state_trackers/dri/dri_query_renderer.c |  8 +++++++-
 src/mesa/state_tracker/st_manager.c                 |  5 +++++
 38 files changed, 124 insertions(+), 34 deletions(-)

-- 
2.13.5



More information about the mesa-dev mailing list