[Mesa-dev] [PATCH 2/2] anv: document that anv_gem_mmap returns MAP_FAILED on error
Emil Velikov
emil.l.velikov at gmail.com
Thu May 4 14:55:56 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/intel/vulkan/anv_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c
index 185086fefcc..68c5e611342 100644
--- a/src/intel/vulkan/anv_gem.c
+++ b/src/intel/vulkan/anv_gem.c
@@ -74,7 +74,7 @@ anv_gem_close(struct anv_device *device, uint32_t gem_handle)
}
/**
- * Wrapper around DRM_IOCTL_I915_GEM_MMAP.
+ * Wrapper around DRM_IOCTL_I915_GEM_MMAP. Returns MAP_FAILED on error.
*/
void*
anv_gem_mmap(struct anv_device *device, uint32_t gem_handle,
--
2.12.2
More information about the mesa-dev
mailing list