From 4c22b99953ca798962ad254c82f65ffd2c00804c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 4 May 2017 15:54:04 +0100 Subject: anv: document that anv_gem_mmap returns MAP_FAILED on error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emil Velikov Reviewed-by: Samuel Iglesias Gonsálvez --- src/intel/vulkan/anv_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c index 4b6ee580702..ac47da41171 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, -- cgit v1.2.3