[Mesa-dev] [PATCH] gallium: set PIPE_CAP_MAX_FRAMES_IN_FLIGHT to 2 for all drivers
Kenneth Graunke
kenneth at whitecape.org
Wed Apr 24 03:02:05 UTC 2019
On Tuesday, April 23, 2019 6:23:32 PM PDT Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
> src/gallium/auxiliary/util/u_screen.c | 4 +++-
> src/gallium/drivers/freedreno/freedreno_screen.c | 3 ---
> src/gallium/drivers/i915/i915_screen.c | 3 ---
> src/gallium/drivers/nouveau/nv30/nv30_screen.c | 3 ---
> src/gallium/drivers/nouveau/nv50/nv50_screen.c | 3 ---
> src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 ---
> src/gallium/drivers/r300/r300_screen.c | 3 ---
> src/gallium/drivers/r600/r600_pipe.c | 3 ---
> src/gallium/drivers/radeonsi/si_get.c | 3 ---
> src/gallium/drivers/svga/svga_screen.c | 2 --
> 10 files changed, 3 insertions(+), 27 deletions(-)
This seems like a good idea. The old default drm config specified 2,
so this is basically the equivalent now that it's a PIPE_CAP. If
some driver wants a different value, they can override it.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190423/400ac13e/attachment.sig>
More information about the mesa-dev
mailing list