OSDN Git Service

amdgpu: add helper for VM mapping v2
authorChristian König <christian.koenig@amd.com>
Mon, 18 May 2015 14:10:10 +0000 (16:10 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Aug 2015 17:47:50 +0000 (13:47 -0400)
commit12a23b1964f04d7451bad4ef246f3daebe2ef12a
treeac6c65ab7f6c3eb5459af22aac664998d2b34f67
parentd5c0b2a172126c0de116bfc8863953b13e0ed5df
amdgpu: add helper for VM mapping v2

Less code and also provides the map_size parameter.

v2: Also set offset_in_bo, use *_handle defines.

Signed-off-by: Christian König <christian.koenig@amd.com>
amdgpu/amdgpu_bo.c