Skip to content

Commit

Permalink
drm/i915: Implement pwrite without struct-mutex
Browse files Browse the repository at this point in the history
We only need struct_mutex within pwrite for a brief window where we need
to serialise with rendering and control our cache domains. Elsewhere we
can rely on the backing storage being pinned, and forgive userspace any
races against us.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161028125858.23563-17-chris@chris-wilson.co.uk
  • Loading branch information
Chris Wilson committed Oct 28, 2016
1 parent bb6dc8d commit fe11562
Showing 1 changed file with 122 additions and 231 deletions.
Loading

0 comments on commit fe11562

Please sign in to comment.