drm: GEM CMA: Split object creation into object alloc and DMA memory alloc
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 17 Feb 2013 00:54:26 +0000 (01:54 +0100)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:03 +0000 (10:29 +0900)
commit62c6ffcd947314c010fe4628db8dab6c46488e3c
treeecdecde144aa3b244553a4a8107bdf7d6ee4ebf3
parent2d6b2d718018e2328cca4130f00ab324e2b2641c
drm: GEM CMA: Split object creation into object alloc and DMA memory alloc

This allows creating a GEM CMA object without an associated DMA memory
buffer, and will be used to implement DRM PRIME support.

Change-Id: I9e9e25f7323829939dae993bb7b343e3dfdd8014
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/drm_gem_cma_helper.c