loader: delete unused param from pipe_loader_vk_probe_dri()

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28139>
This commit is contained in:
Mike Blumenkrantz 2024-03-12 09:15:11 -04:00 committed by Marge Bot
parent 4b81ee6418
commit 0e8202cc24
3 changed files with 5 additions and 6 deletions

View file

@ -155,8 +155,7 @@ pipe_loader_sw_probe_dri(struct pipe_loader_device **devs,
* \sa pipe_loader_probe
*/
bool
pipe_loader_vk_probe_dri(struct pipe_loader_device **devs,
const struct drisw_loader_funcs *drisw_lf);
pipe_loader_vk_probe_dri(struct pipe_loader_device **devs);
#ifdef HAVE_DRISW_KMS
/**

View file

@ -234,7 +234,7 @@ fail:
}
#ifdef HAVE_ZINK
bool
pipe_loader_vk_probe_dri(struct pipe_loader_device **devs, const struct drisw_loader_funcs *drisw_lf)
pipe_loader_vk_probe_dri(struct pipe_loader_device **devs)
{
struct pipe_loader_sw_device *sdev = CALLOC_STRUCT(pipe_loader_sw_device);
int i;
@ -247,7 +247,7 @@ pipe_loader_vk_probe_dri(struct pipe_loader_device **devs, const struct drisw_lo
for (i = 0; sdev->dd->winsys[i].name; i++) {
if (strcmp(sdev->dd->winsys[i].name, "dri") == 0) {
sdev->ws = sdev->dd->winsys[i].create_winsys_dri(drisw_lf);
sdev->ws = sdev->dd->winsys[i].create_winsys_dri(NULL);
break;
}
}

View file

@ -130,9 +130,9 @@ kopper_init_screen(struct dri_screen *screen)
if (screen->fd != -1)
success = pipe_loader_drm_probe_fd(&screen->dev, screen->fd, false);
else
success = pipe_loader_vk_probe_dri(&screen->dev, NULL);
success = pipe_loader_vk_probe_dri(&screen->dev);
#else
success = pipe_loader_vk_probe_dri(&screen->dev, NULL);
success = pipe_loader_vk_probe_dri(&screen->dev);
#endif
if (success)