mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
kopper: Explicitly choose zink
If we pass zink=false to pipe_loader_drm_probe_fd, it could happen that a Gallium driver that had been already discarded because of not supporting the graphics CAP will be chosen. To avoid that, explicitly ask pipe_loader_drm_probe_fd to choose the zink Gallium driver. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30096>
This commit is contained in:
parent
7e76c67632
commit
854bc2ee05
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ kopper_init_screen(struct dri_screen *screen, bool driver_name_is_inferred)
|
|||
bool success;
|
||||
#ifdef HAVE_LIBDRM
|
||||
if (screen->fd != -1)
|
||||
success = pipe_loader_drm_probe_fd(&screen->dev, screen->fd, false);
|
||||
success = pipe_loader_drm_probe_fd(&screen->dev, screen->fd, true);
|
||||
else
|
||||
success = pipe_loader_vk_probe_dri(&screen->dev);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue