diff options
Diffstat (limited to 'lib/mesa/src/gallium/winsys/v3d/drm/v3d_drm_winsys.c')
-rw-r--r-- | lib/mesa/src/gallium/winsys/v3d/drm/v3d_drm_winsys.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/winsys/v3d/drm/v3d_drm_winsys.c b/lib/mesa/src/gallium/winsys/v3d/drm/v3d_drm_winsys.c index 63b7a5717..cda830f3e 100644 --- a/lib/mesa/src/gallium/winsys/v3d/drm/v3d_drm_winsys.c +++ b/lib/mesa/src/gallium/winsys/v3d/drm/v3d_drm_winsys.c @@ -31,5 +31,11 @@ struct pipe_screen * v3d_drm_screen_create(int fd) { - return v3d_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3)); + return v3d_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3), NULL); +} + +struct pipe_screen * +v3d_drm_screen_create_renderonly(struct renderonly *ro) +{ + return v3d_screen_create(ro->gpu_fd, ro); } |