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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Oct 30 09:56:41 UTC 2020


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 all affected ioctls affected by the IS_PROXY flag. We also need userspace maintainer acks for this.

set_caching, set_domain and set_tiling. set_domain turns into a gem_wait for coherent userptr, since the other ioctl's that affect placement and caching are no longer allowed. :)

~Maarten

>> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>




More information about the Intel-gfx mailing list