* this map is no longer valid. Pair this with anv_gem_mmap().
*/
void
-anv_gem_munmap(void *p, uint64_t size)
+anv_gem_munmap(struct anv_device *device, void *p, uint64_t size)
{
munmap(p, size);
}
return 0;
}
+int
+anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle)
+{
+ return 0;
+}
+
int
anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle,
uint32_t caching)
unreachable("Unused");
}
-int
-anv_gem_get_aperture(int fd, uint64_t *size)
-{
- unreachable("Unused");
-}
-
int
anv_gem_gpu_get_reset_stats(struct anv_device *device,
uint32_t *active, uint32_t *pending)
}
int
-anv_gem_reg_read(struct anv_device *device,
- uint32_t offset, uint64_t *result)
+anv_gem_reg_read(int fd, uint32_t offset, uint64_t *result)
{
unreachable("Unused");
}