diff options
author | Tapani Pälli <[email protected]> | 2017-08-25 09:50:11 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2017-09-12 09:41:10 +0300 |
commit | 73638be11f4fbb016f6c6d2934134c0d2455d798 (patch) | |
tree | d94f5d1f3a06706c10a4537224c5c0cb8530435a /src/intel/vulkan/anv_device.c | |
parent | 086cfa5652ec202f87c14d11e0f6c959d75987d8 (diff) |
anv: wire up anv_perf_warn macro to do debug reporting
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 1a6ed8c919c..f246e0ee6b4 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -64,7 +64,8 @@ anv_compute_heap_size(int fd, uint64_t *heap_size) /* If, for whatever reason, we can't actually get the GTT size from the * kernel (too old?) fall back to the aperture size. */ - anv_perf_warn("Failed to get I915_CONTEXT_PARAM_GTT_SIZE: %m"); + anv_perf_warn(NULL, NULL, + "Failed to get I915_CONTEXT_PARAM_GTT_SIZE: %m"); if (anv_gem_get_aperture(fd, >t_size) == -1) { return vk_errorf(VK_ERROR_INITIALIZATION_FAILED, |