pipe-loader: allow to load multiple zink devices
authorKarol Herbst <git@karolherbst.de>
Tue, 19 Sep 2023 12:44:26 +0000 (14:44 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sat, 14 Oct 2023 01:01:16 +0000 (01:01 +0000)
commit6c268cdf051ecbcf7fa10c17508b50d566ae0c40
tree0a406bdd19e2c96c9646126b2707ae189d75f642
parent65848d445c49ed6125a782627f728601c7f3cb76
pipe-loader: allow to load multiple zink devices

Rusticl needs to be able to create a zink_screen on all renderer nodes.
This adds the infrastructure of doing so.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24839>
15 files changed:
src/gallium/auxiliary/pipe-loader/pipe_loader.c
src/gallium/auxiliary/pipe-loader/pipe_loader.h
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
src/gallium/auxiliary/vl/vl_winsys_dri.c
src/gallium/auxiliary/vl/vl_winsys_dri3.c
src/gallium/auxiliary/vl/vl_winsys_drm.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/frontends/clover/core/platform.cpp
src/gallium/frontends/dri/dri2.c
src/gallium/frontends/dri/kopper.c
src/gallium/frontends/rusticl/mesa/pipe/device.rs
src/gallium/frontends/xa/xa_tracker.c
src/gallium/targets/d3dadapter9/drm.c
src/gallium/tests/trivial/quad-tex.c
src/gallium/tests/trivial/tri.c