[Mesa-dev] [PATCH] anv: Add three more GEM stubs

Jason Ekstrand jason at jlekstrand.net
Wed Apr 5 16:26:28 UTC 2017


Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100574
---
 src/intel/vulkan/anv_gem_stubs.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/intel/vulkan/anv_gem_stubs.c b/src/intel/vulkan/anv_gem_stubs.c
index 30b40ce..74794d4 100644
--- a/src/intel/vulkan/anv_gem_stubs.c
+++ b/src/intel/vulkan/anv_gem_stubs.c
@@ -139,11 +139,30 @@ anv_gem_destroy_context(struct anv_device *device, int context)
 }
 
 int
+anv_gem_get_context_param(int fd, int context, uint32_t param, uint64_t *value)
+{
+   unreachable("Unused");
+}
+
+int
 anv_gem_get_aperture(int fd, uint64_t *size)
 {
    unreachable("Unused");
 }
 
+bool
+anv_gem_supports_48b_addresses(int fd)
+{
+   unreachable("Unused");
+}
+
+int
+anv_gem_gpu_get_reset_stats(struct anv_device *device,
+                            uint32_t *active, uint32_t *pending)
+{
+   unreachable("Unused");
+}
+
 int
 anv_gem_handle_to_fd(struct anv_device *device, uint32_t gem_handle)
 {
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list