drm/prime: support to cache mapping
authorJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 19 Jun 2013 06:03:05 +0000 (15:03 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:08 +0000 (10:29 +0900)
commitad073e3f6b629f9dd05ba918eef48fc73b83a534
tree03b9c4f5ebf70c9107fb02477f04c82347a54f9d
parent9ba784f3d70a27f087469fffce24e22a89fc6444
drm/prime: support to cache mapping

The drm prime also can support it like GEM CMA supports to cache
mapping. It doesn't allow multiple mappings for one attachment.

Change-Id: Ia73a42efed8ff7c4df7ec7475ec71f433483e87a
[airlied: rebased on top of other prime changes]
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_prime.c