aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
diff options
context:
space:
mode:
authorSunil Khatri <[email protected]>2024-04-16 11:00:50 +0000
committerAlex Deucher <[email protected]>2024-04-26 21:22:39 +0000
commit40356542c36160bddee9fdf25b9248e0c9e6503b (patch)
tree1de379953b4759d737b5f6f0314c723d6d1de1df /drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
parentdrm/amdgpu: add support of gfx10 register dump (diff)
downloadkernel-40356542c36160bddee9fdf25b9248e0c9e6503b.tar.gz
kernel-40356542c36160bddee9fdf25b9248e0c9e6503b.zip
drm/amdgpu: add protype for print ip state
Add the protoype for print ip state to be used to print the registers in devcoredump during a gpu reset. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
index 0fd46ed1f67d..ac8a9b9b3e52 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
@@ -1114,6 +1114,7 @@ static const struct amd_ip_funcs sdma_v2_4_ip_funcs = {
.set_clockgating_state = sdma_v2_4_set_clockgating_state,
.set_powergating_state = sdma_v2_4_set_powergating_state,
.dump_ip_state = NULL,
+ .print_ip_state = NULL,
};
static const struct amdgpu_ring_funcs sdma_v2_4_ring_funcs = {