mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
anv: Fix error message format string
See also246261f0adReviewed-by: Eric Engestrom <eric.engestrom@intel.com> CID: 1455892 Fixes:246261f0ad("anv: prepare the driver for delayed submissions")
This commit is contained in:
parent
7840985609
commit
c9acf0739f
1 changed files with 2 additions and 5 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue