drm/i915: Skip pread/pwrite if size to copy is 0.
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 26 Sep 2010 19:23:38 +0000 (20:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Oct 2010 09:07:46 +0000 (10:07 +0100)
commit35b62a89b0723ca05831f2edfff6deebe1806f21
tree39a62777f29a4c814991d317b83562ccda961f41
parentdf6d075a4d8b151f2c011de01c09bdc92a7bb935
drm/i915: Skip pread/pwrite if size to copy is 0.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c