aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h
diff options
context:
space:
mode:
authorHawking Zhang <[email protected]>2021-04-02 06:39:36 +0000
committerAlex Deucher <[email protected]>2021-04-09 20:51:04 +0000
commit6e36f23193cc870856a41e87281f62fb2b04bd1f (patch)
treecf35baff233629f14cbce1e3b48f9fe316ffdfbd /drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h
parentdrm/amdgpu: implement query_ras_error_address callback (diff)
downloadkernel-6e36f23193cc870856a41e87281f62fb2b04bd1f.tar.gz
kernel-6e36f23193cc870856a41e87281f62fb2b04bd1f.zip
drm/amdgpu: split nbio callbacks into ras and non-ras ones
nbio ras is not managed by gpu driver when gpu is connected to cpu through xgmi. split nbio callbacks into ras and non-ras ones so gpu driver only initializes nbio ras callbacks when it manages nbio ras. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Dennis Li <[email protected]> Reviewed-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h b/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h
index b1ac82872752..b8216581ec8d 100644
--- a/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h
+++ b/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h
@@ -28,5 +28,6 @@
extern const struct nbio_hdp_flush_reg nbio_v7_4_hdp_flush_reg;
extern const struct amdgpu_nbio_funcs nbio_v7_4_funcs;
+extern const struct amdgpu_nbio_ras_funcs nbio_v7_4_ras_funcs;
#endif