summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2019-11-18 19:53:57 -0800
committerIan Romanick <[email protected]>2019-12-04 15:34:03 -0800
commitc9acf0739f1dd4211744d94ce3fb33b4e4ffc900 (patch)
tree90fba5eec80a17e8467e2471bcb383b290fd4624 /src/intel
parent78409856094d58907915406ce87d385a8012eed6 (diff)
anv: Fix error message format string
See also 246261f0addf Reviewed-by: Eric Engestrom <[email protected]> CID: 1455892 Fixes: 246261f0add ("anv: prepare the driver for delayed submissions")
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_batch_chain.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c
index 9180f908379..f58299b6760 100644
--- a/src/intel/vulkan/anv_batch_chain.c
+++ b/src/intel/vulkan/anv_batch_chain.c
@@ -1687,11 +1687,8 @@ anv_queue_execbuf_locked(struct anv_queue *queue,
int ret = queue->device->no_hw ? 0 :
anv_gem_execbuffer(queue->device, &execbuf.execbuf);
- if (ret) {
- result = anv_queue_set_lost(queue,
- "execbuf2 failed: %s",
- strerror(ret));
- }
+ if (ret)
+ result = anv_queue_set_lost(queue, "execbuf2 failed: %m");
struct drm_i915_gem_exec_object2 *objects = execbuf.objects;
for (uint32_t k = 0; k < execbuf.bo_count; k++) {