Re: [Intel-gfx] [PATCH 2/2] drm/i915/overlay: Use the ioctl parameters directly

2018-09-11 Thread Ville Syrjälä
On Thu, Sep 06, 2018 at 08:01:44PM +0100, Chris Wilson wrote: > The user parameters to put_image are not copied back to userspace > (DRM_IOW), and so we can modify the ioctl parameters (having already been > copied to a temporary kernel struct) directly and use those in place, > avoiding another te

[Intel-gfx] [PATCH 2/2] drm/i915/overlay: Use the ioctl parameters directly

2018-09-06 Thread Chris Wilson
The user parameters to put_image are not copied back to userspace (DRM_IOW), and so we can modify the ioctl parameters (having already been copied to a temporary kernel struct) directly and use those in place, avoiding another temporary malloc and lots of manual copying. Signed-off-by: Chris Wilso