Skip to content

Commit

Permalink
drm/i915: Implement pread without struct-mutex
Browse files Browse the repository at this point in the history
We only need struct_mutex within pread 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-16-chris@chris-wilson.co.uk
  • Loading branch information
Chris Wilson committed Oct 28, 2016
1 parent 7dd737f commit bb6dc8d
Showing 1 changed file with 157 additions and 208 deletions.
Loading

0 comments on commit bb6dc8d

Please sign in to comment.