anv: fix minor gen_ioctl(I915_PERF_IOCTL_CONFIG) error handling issue
Found by Coverity.
Fixes: 2001a80d4a
("anv: Implement VK_KHR_performance_query")
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6667>
This commit is contained in:
parent
265a3b9624
commit
d3cd24999f
|
@ -1821,7 +1821,7 @@ anv_queue_execbuf_locked(struct anv_queue *queue,
|
|||
if (ret < 0) {
|
||||
result = anv_device_set_lost(device,
|
||||
"i915-perf config failed: %s",
|
||||
strerror(ret));
|
||||
strerror(errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue