diff options
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/iris/drm/iris_drm_public.h | 4 | ||||
-rw-r--r-- | src/gallium/winsys/iris/drm/iris_drm_winsys.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/winsys/iris/drm/iris_drm_public.h b/src/gallium/winsys/iris/drm/iris_drm_public.h index 17c0b2e1a8f..f942e05ad8b 100644 --- a/src/gallium/winsys/iris/drm/iris_drm_public.h +++ b/src/gallium/winsys/iris/drm/iris_drm_public.h @@ -25,7 +25,9 @@ #define IRIS_DRM_PUBLIC_H struct pipe_screen; +struct pipe_screen_config; -struct pipe_screen *iris_drm_screen_create(int drm_fd); +struct pipe_screen * +iris_drm_screen_create(int drm_fd, const struct pipe_screen_config *config); #endif /* IRIS_DRM_PUBLIC_H */ diff --git a/src/gallium/winsys/iris/drm/iris_drm_winsys.c b/src/gallium/winsys/iris/drm/iris_drm_winsys.c index 49c7c0f41e2..9903f40a843 100644 --- a/src/gallium/winsys/iris/drm/iris_drm_winsys.c +++ b/src/gallium/winsys/iris/drm/iris_drm_winsys.c @@ -28,7 +28,7 @@ #include "iris/iris_screen.h" struct pipe_screen * -iris_drm_screen_create(int fd) +iris_drm_screen_create(int fd, const struct pipe_screen_config *config) { - return iris_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3)); + return iris_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3), config); } |