summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_bufmgr.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-13 12:16:04 -0700
committerEric Anholt <[email protected]>2017-10-17 12:35:16 -0700
commitb202f90f65efd33de5ffa382c5b60f35cad0c036 (patch)
tree4c6c4bd5ad3f8375d0c92c7eb19f5d16bb311d21 /src/gallium/drivers/vc4/vc4_bufmgr.c
parentd623a34ab2f69bd18b8a6aaac1b4e4f6f5dcdc32 (diff)
broadcom/vc4: Skip BO labeling when in simulator mode.
It was calling down into i915 trying to label the BO, which is definitely not the right thing.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_bufmgr.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_bufmgr.c b/src/gallium/drivers/vc4/vc4_bufmgr.c
index b300fa5bd02..d06d55f8645 100644
--- a/src/gallium/drivers/vc4/vc4_bufmgr.c
+++ b/src/gallium/drivers/vc4/vc4_bufmgr.c
@@ -69,7 +69,7 @@ vc4_bo_label(struct vc4_screen *screen, struct vc4_bo *bo, const char *fmt, ...)
.len = strlen(name),
.name = (uintptr_t)name,
};
- drmIoctl(screen->fd, DRM_IOCTL_VC4_LABEL_BO, &label);
+ vc4_ioctl(screen->fd, DRM_IOCTL_VC4_LABEL_BO, &label);
ralloc_free(name);
}