summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/cik.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-03-12 02:05:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-10-15 22:55:32 +0300
commit97c002be4113e50ddca424c7ebbfd4840402605f (patch)
tree608255f6752f88210baa724e88197163e9374f68 /drivers/gpu/drm/amd/amdgpu/cik.h
parent2a113c74ec7c50aef18fcd9442ea70f09ff26b16 (diff)
downloadlinux-97c002be4113e50ddca424c7ebbfd4840402605f.tar.xz
drm/amdgpu: enable BACO reset for SMU7 based dGPUs (v2)
Use BACO to reset the GPU if supported on SMU7 based dGPUs. v2: don't use baco on CI parts Reviewed-by: Evan Quan <evan.quan@amd.com> Acked-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/cik.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.h b/drivers/gpu/drm/amd/amdgpu/cik.h
index 54c625a2e570..9870bf27870e 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik.h
+++ b/drivers/gpu/drm/amd/amdgpu/cik.h
@@ -31,4 +31,7 @@ void cik_srbm_select(struct amdgpu_device *adev,
int cik_set_ip_blocks(struct amdgpu_device *adev);
void legacy_doorbell_index_init(struct amdgpu_device *adev);
+int smu7_asic_get_baco_capability(struct amdgpu_device *adev, bool *cap);
+int smu7_asic_baco_reset(struct amdgpu_device *adev);
+
#endif