Re: [Intel-gfx] [PATCH i-g-t] tests/i915/gem_exec_params: check available memory earlier

2022-03-01 Thread Dixit, Ashutosh
On Tue, 01 Mar 2022 03:03:59 -0800, Matthew Auld wrote: > > The shmem mmap and pwrite interfaces conveniently let us probe just a > few pages, without needing to populate the entire object. On discrete > and newer platforms the kernel has dropped support for both, leaving us > with MMAP_OFFSET,

[Intel-gfx] [PATCH i-g-t] tests/i915/gem_exec_params: check available memory earlier

2022-03-01 Thread Matthew Auld
The shmem mmap and pwrite interfaces conveniently let us probe just a few pages, without needing to populate the entire object. On discrete and newer platforms the kernel has dropped support for both, leaving us with MMAP_OFFSET, which will always populate the entire object, for now at least.