[Intel-gfx] [PATCH] drm/i915: Only copy back the modified fields to userspace from execbuffer

2014-05-23 Thread Chris Wilson
We only want to modifiy a single field in the userspace view of the execbuffer command buffer, so explicitly change that rather than copy everything back again. This serves two purposes: 1. The single fields are much cheaper to copy (constant size so the copy uses special case code) and much

Re: [Intel-gfx] [PATCH] drm/i915: Only copy back the modified fields to userspace from execbuffer

2014-05-23 Thread Daniel Vetter
On Fri, May 23, 2014 at 10:45:52AM +0100, Chris Wilson wrote: We only want to modifiy a single field in the userspace view of the execbuffer command buffer, so explicitly change that rather than copy everything back again. This serves two purposes: 1. The single fields are much cheaper to