drm/radeon: add a way to get and set initial buffer domains v2
authorMarek Olšák <marek.olsak@amd.com>
Sat, 1 Mar 2014 23:56:17 +0000 (00:56 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 3 Mar 2014 09:53:01 +0000 (10:53 +0100)
commitbda72d58a20120aee1f78eb17d7eddb955d6696b
tree41ee4790a9f6a92c8817f2d98ef49cc31f32338b
parent14a9579ddbf15dd1992a9481a4ec80b0b91656d5
drm/radeon: add a way to get and set initial buffer domains v2

When passing buffers between processes, the receiving process needs to know
the original buffer domain, so that it doesn't accidentally move the buffer.

v2: reserve the buffer

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/radeon_object.c
include/uapi/drm/radeon_drm.h