summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/renderonly
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-09-09 09:59:16 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-09-09 09:59:16 +0000
commit884abe30143f8f6bceb6f3fc7febec2c07d51821 (patch)
tree21cfa7f0f49cdb4a078e8bfd76b4cc5a8711c444 /lib/mesa/src/gallium/auxiliary/renderonly
parent17251c8fe97e6c8f1f6e21767313ce4bfa80a547 (diff)
Merge Mesa 21.1.8
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/renderonly')
-rw-r--r--lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
index 00c8a7eeb..56dc06bca 100644
--- a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
+++ b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
@@ -134,10 +134,8 @@ renderonly_create_gpu_import_for_resource(struct pipe_resource *rsc,
err = drmPrimeFDToHandle(ro->kms_fd, fd, &scanout->handle);
close(fd);
- if (err < 0) {
- fprintf(stderr, "drmPrimeFDToHandle() failed: %s\n", strerror(errno));
+ if (err < 0)
goto free_scanout;
- }
return scanout;