[Intel-gfx] [RFC i-g-t 1/6] tests/gem_pread: drop stolen memory related subtests

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Tue Oct 3 15:36:37 UTC 2017



On 03/10/17 04:08, Chris Wilson wrote:
> Quoting Daniele Ceraolo Spurio (2017-10-03 00:00:13)
>> The feature was never merged and there has been no progress in the
>> last year. The subtests are currently skipping on all platforms by
>> checking a field in the get_aperture ioctl structure that doesn't
>> exist in the kernel version of the struct.
> 
> The interface for this is upstream, fix the test to exercise the kernel
> code (hint dmabuf).
> -Chris
> 

I'm not very familiar with the dmabuf interface, but looking at it I 
couldn't find any way of allocating and/or accessing an object in stolen 
memory from userspace. A grep for "create_stolen" also didn't show 
anything. Can you point me in the right direction?

Thanks,
Daniele


More information about the Intel-gfx mailing list