[igt-dev] [PATCH i-g-t] tests/i915/gem_mmap: test for non pagealingned mmaps

C, Ramalingam ramalingam.c at intel.com
Mon Apr 8 16:01:17 UTC 2019


> -----Original Message-----
> From: Chris Wilson [mailto:chris at chris-wilson.co.uk]
> Sent: Monday, April 8, 2019 9:23 PM
> To: C, Ramalingam <ramalingam.c at intel.com>; igt-dev at lists.freedesktop.org;
> tvrtko.ursulin at linux.intel.com
> Subject: Re: [igt-dev] [PATCH i-g-t] tests/i915/gem_mmap: test for non
> pagealingned mmaps
> 
> Quoting Ramalingam C (2019-04-08 16:50:38)
> > Kernel supports the non page aligned mmaps. Hence this new subtest
> > helps to maintain the sanity of such support.
> 
> No. That was sloppiness.
Chris,

Thanks for looking into this.
But at present, isn’t the kernel handles the non page aligned mmap request at present!?

-Ram.
> 
> mmap(2):
>        EINVAL We don't like addr, length, or offset (e.g., they are too large,
>               or not aligned on a page boundary).
> -Chris


More information about the igt-dev mailing list