summaryrefslogtreecommitdiff
path: root/src/intel/vulkan/anv_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_perf.c')
-rw-r--r--src/intel/vulkan/anv_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_perf.c b/src/intel/vulkan/anv_perf.c
index 7e8a3c53853..e7bf30bb059 100644
--- a/src/intel/vulkan/anv_perf.c
+++ b/src/intel/vulkan/anv_perf.c
@@ -285,7 +285,7 @@ VkResult anv_QueueSetPerformanceConfigurationINTEL(
int ret = intel_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG,
(void *)(uintptr_t) config->config_id);
if (ret < 0)
- return anv_device_set_lost(device, "i915-perf config failed: %m");
+ return vk_device_set_lost(&device->vk, "i915-perf config failed: %m");
}
}