[Mesa-dev] [PATCH 1/6] gallium: plumb context priority through to driver

Wladimir J. van der Laan laanwj at gmail.com
Thu Oct 5 07:13:17 UTC 2017


On Wed, Oct 04, 2017 at 11:44:32AM -0400, Rob Clark wrote:
> Signed-off-by: Rob Clark <robdclark at gmail.com>

Reviewed etnaviv change only.

Reviewed-by: Wladimir J. van der Laan <laanwj at gmail.com>

> ---
>  src/gallium/drivers/etnaviv/etnaviv_screen.c        |  1 +
>  src/gallium/drivers/freedreno/freedreno_screen.c    |  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 +++++
>  20 files changed, 61 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c
> index 42905ab0620..16bd4b7c0fb 100644
> --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c
> +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c
> @@ -264,6 +264,7 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
>     case PIPE_CAP_QUERY_SO_OVERFLOW:
>     case PIPE_CAP_MEMOBJ:
>     case PIPE_CAP_LOAD_CONSTBUF:
> +   case PIPE_CAP_CONTEXT_PRIORITY_MASK:
>        return 0;
>  
>     /* Stream output. */


More information about the mesa-dev mailing list