mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue