aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2016-08-05 17:30:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-08-19 12:33:22 -0400
commit3ad81f167e86e3ad81f2611896d57165c62f8244 (patch)
tree97faeff73a8af611390cf0ae284418a8194776a1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amd/amdgpu: S3 resumed failed after 4-5 times loop (diff)
downloadlinux-3ad81f167e86e3ad81f2611896d57165c62f8244.tar.gz
linux-3ad81f167e86e3ad81f2611896d57165c62f8244.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 06a7cab3bcc7..6fa826846e6d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -2376,6 +2376,7 @@ amdgpu_get_sdma_instance(struct amdgpu_ring *ring)
/* Common functions */
int amdgpu_gpu_reset(struct amdgpu_device *adev);
+bool amdgpu_need_backup(struct amdgpu_device *adev);
void amdgpu_pci_config_reset(struct amdgpu_device *adev);
bool amdgpu_card_posted(struct amdgpu_device *adev);
void amdgpu_update_display_priority(struct amdgpu_device *adev);