mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
iris: warn if execbuf fails
This commit is contained in:
parent
a50a3a8edf
commit
f3150e9ecd
1 changed files with 5 additions and 1 deletions
|
|
@ -508,8 +508,12 @@ submit_batch(struct iris_batch *batch, int in_fence_fd, int *out_fence_fd)
|
|||
|
||||
#if 1
|
||||
int ret = drm_ioctl(batch->screen->fd, cmd, &execbuf);
|
||||
if (ret != 0)
|
||||
if (ret != 0) {
|
||||
ret = -errno;
|
||||
DBG("execbuf FAILED: errno = %d\n", -ret);
|
||||
} else {
|
||||
DBG("execbuf succeeded\n");
|
||||
}
|
||||
#else
|
||||
int ret = 0;
|
||||
fprintf(stderr, "execbuf disabled for now\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue