]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add shadow bo support V2
authorChunming Zhou <David1.Zhou@amd.com>
Tue, 26 Jul 2016 06:13:21 +0000 (14:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2016 14:40:01 +0000 (10:40 -0400)
commit45545d520c4e1651e8e4857ba0f9bef3a2fbc8e1
tree526fb34d81ea8e1538bc65a8f2e259273c98e924
parentc031bc5d19ecd3096b579bbf5cddfa7730826fa4
drm/amdgpu: add shadow bo support V2

shadow bo is the shadow of a bo, which is always in GTT,
which can be used to backup the original bo.
V2:
reference shadow parent, shadow bo will be freed by who allocted him.

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_object.c
include/uapi/drm/amdgpu_drm.h