drm/i915: Warn before mmaping a purgeable buffer.
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Sep 2009 17:46:17 +0000 (18:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Sep 2009 00:10:39 +0000 (01:10 +0100)
commitab18282d58ce67ee5cd720d99a91c1a2bbf3e693
treec6463246f1c90f93dfee5b309645c7627fd8cc0e
parentbb6baf76f45708dbba651ed76a7ad94462f30c0b
drm/i915: Warn before mmaping a purgeable buffer.

Only allow the user to mmap buffers that have not been marked as
purgeable.

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