Re: [Intel-gfx] [PATCH v4 13/61] drm/i915: Reject more ioctls for userptr

2020-10-30 Thread Intel
Hi, Maarten, On 10/30/20 10:56 AM, Maarten Lankhorst wrote: Op 30-10-2020 om 10:22 schreef Thomas Hellström (Intel): On 10/16/20 12:43 PM, Maarten Lankhorst wrote: Allow set_domain to fail silently, waiting for idle should be good enough. set_tiling and set_caching are rejected with -ENXIO, th

Re: [Intel-gfx] [PATCH v4 13/61] drm/i915: Reject more ioctls for userptr

2020-10-30 Thread Maarten Lankhorst
Op 30-10-2020 om 10:22 schreef Thomas Hellström (Intel): > > On 10/16/20 12:43 PM, Maarten Lankhorst wrote: >> Allow set_domain to fail silently, waiting for idle should be good enough. >> set_tiling and set_caching are rejected with -ENXIO, there's no valid reason >> to allow it. > > Please list a

Re: [Intel-gfx] [PATCH v4 13/61] drm/i915: Reject more ioctls for userptr

2020-10-30 Thread Intel
On 10/16/20 12:43 PM, Maarten Lankhorst wrote: Allow set_domain to fail silently, waiting for idle should be good enough. set_tiling and set_caching are rejected with -ENXIO, there's no valid reason to allow it. Please list all affected ioctls affected by the IS_PROXY flag. We also need user

[Intel-gfx] [PATCH v4 13/61] drm/i915: Reject more ioctls for userptr

2020-10-16 Thread Maarten Lankhorst
Allow set_domain to fail silently, waiting for idle should be good enough. set_tiling and set_caching are rejected with -ENXIO, there's no valid reason to allow it. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_domain.