intel: update kmd
intel_winsys_import_userptr() was added.
intel_winsys_read_reset_stats() was renamed to intel_winsys_get_reset_stats().
intel_bo_reference()/intel_bo_unreference() was replaced by
intel_bo_ref()/intel_bo_unref().
intel_winsys_alloc_buffer() was renamed to intel_winsys_alloc_bo(). The
old intel_winsys_alloc_bo() was removed and intel_bo_set_tiling() was
added.
diff --git a/icd/intel/mem.c b/icd/intel/mem.c
index 94f21a0..91b0cef 100644
--- a/icd/intel/mem.c
+++ b/icd/intel/mem.c
@@ -41,7 +41,7 @@
if (!mem)
return XGL_ERROR_OUT_OF_MEMORY;
- mem->bo = intel_winsys_alloc_buffer(dev->winsys,
+ mem->bo = intel_winsys_alloc_bo(dev->winsys,
"xgl-gpu-memory", info->allocationSize, 0);
if (!mem->bo) {
intel_mem_free(mem);
@@ -57,8 +57,7 @@
void intel_mem_free(struct intel_mem *mem)
{
- if (mem->bo)
- intel_bo_unreference(mem->bo);
+ intel_bo_unref(mem->bo);
intel_base_destroy(&mem->base);
}