aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2022-10-20 08:38:08 +0000
committerAlex Deucher <[email protected]>2022-11-17 23:08:05 +0000
commit2ddb629be200ab229eec62299ca3599a0abb05c2 (patch)
tree48eaf9220a35263c79b11d17f9edb7b9d1192012 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
parentdrm/amdgpu: enable RAS for VCN/JPEG v4.0 (diff)
downloadkernel-2ddb629be200ab229eec62299ca3599a0abb05c2.tar.gz
kernel-2ddb629be200ab229eec62299ca3599a0abb05c2.zip
drm/amdgpu: define common vcn_set_ras_funcs
So the code can be reused. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
index 253ea6b159df..dbb8d68a30c6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
@@ -399,5 +399,6 @@ void amdgpu_debugfs_vcn_fwlog_init(struct amdgpu_device *adev,
int amdgpu_vcn_process_poison_irq(struct amdgpu_device *adev,
struct amdgpu_irq_src *source,
struct amdgpu_iv_entry *entry);
+void amdgpu_vcn_set_ras_funcs(struct amdgpu_device *adev);
#endif