drm/amdgpu: add need backup function V2
authorChunming Zhou <David1.Zhou@amd.com>
Fri, 5 Aug 2016 09:30:17 +0000 (17:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Aug 2016 16:33:22 +0000 (12:33 -0400)
commit3ad81f167e86e3ad81f2611896d57165c62f8244
tree97faeff73a8af611390cf0ae284418a8194776a1
parentabc8c1ce48b6ab32224cd6902645f9acb8e7e686
drm/amdgpu: add need backup function V2

V2:
add checking if need backup in amdgpu_bo_create.

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