[Mesa-dev] [PATCH 2/2] anv: document that anv_gem_mmap returns MAP_FAILED on error
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Fri May 5 07:06:48 UTC 2017
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
On Thu, 2017-05-04 at 15:55 +0100, Emil Velikov wrote:
> 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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170505/ff8c0acc/attachment.sig>
More information about the mesa-dev
mailing list