drm/prime: support to cache mapping
authorJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 19 Jun 2013 06:03:05 +0000 (15:03 +0900)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2013 02:47:32 +0000 (12:47 +1000)
commit538d6661f5d8ad9dcf4ab66c9a99407464111e7a
treefd0ba59b8a4fdb2b05aeba16a1ac9c430f2db638
parent7e3d88f9cce3ea3350fa25b89393a6dd2b8e5ed4
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.

[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