]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commite7893c4bd34b9d2f942d77666656efaa084a3f87
tree526fb34d81ea8e1538bc65a8f2e259273c98e924
parentf4a7f127d9151683ca806f1c73cfbc72f268d62e
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