drm/amdgpu: improve AMDGPU_GEM_CREATE_VRAM_CLEARED handling (v2)
authorChristian König <christian.koenig@amd.com>
Thu, 17 Nov 2016 11:24:48 +0000 (12:24 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2016 20:08:45 +0000 (15:08 -0500)
commitf45dc74c93241ad0125fbc08c48b2ebe20f2f472
tree788ff3465ccc33684d596236b8a316a7ad069507
parentc3af1258a7c784fba6863357b94e31a6824aaff9
drm/amdgpu: improve AMDGPU_GEM_CREATE_VRAM_CLEARED handling (v2)

Drop this whole reserve/unreserve dance, just lock the
reservation object manually when creating the BO.

v2: rebase on dma_fence renaming

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c