diff options
author | Emil Velikov <[email protected]> | 2017-05-04 15:54:04 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-11 13:58:20 +0100 |
commit | 4c22b99953ca798962ad254c82f65ffd2c00804c (patch) | |
tree | 18530ea828b554426ee4301257a34f68e8b3243a /src/intel/vulkan | |
parent | 1ce58536ec23e1253a9bf5949ad3f3396d160b83 (diff) |
anv: document that anv_gem_mmap returns MAP_FAILED on error
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |