[igt-dev] [PATCH i-g-t] i915: Handle the case where legacy mmap is not available, v2.

Dixit, Ashutosh ashutosh.dixit at intel.com
Thu Jun 24 18:34:29 UTC 2021


On Thu, 24 Jun 2021 02:14:14 -0700, Maarten Lankhorst wrote:
> @@ -84,6 +93,7 @@ void *__gem_mmap__gtt(int fd, uint32_t handle, uint64_t size, unsigned prot)
>  {
>	struct drm_i915_gem_mmap_gtt mmap_arg;
>	void *ptr;
> +	int ret;

Deleted this unnecessary extra ret and merged.


More information about the igt-dev mailing list