drm/amdgpu: add prototype for ip dump
authorSunil Khatri <sunil.khatri@amd.com>
Mon, 1 Apr 2024 10:28:38 +0000 (15:58 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Apr 2024 21:22:39 +0000 (17:22 -0400)
Add the prototype to dump ip registers
for all ips of different asics and set
them to NULL for now. Based on the
requirement add a function pointer for
each of them.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
64 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/cik_ih.c
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/cz_ih.c
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/iceland_ih.c
drivers/gpu/drm/amd/amdgpu/ih_v6_0.c
drivers/gpu/drm/amd/amdgpu/ih_v6_1.c
drivers/gpu/drm/amd/amdgpu/ih_v7_0.c
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c
drivers/gpu/drm/amd/amdgpu/mes_v10_1.c
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
drivers/gpu/drm/amd/amdgpu/navi10_ih.c
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
drivers/gpu/drm/amd/amdgpu/si.c
drivers/gpu/drm/amd/amdgpu/si_dma.c
drivers/gpu/drm/amd/amdgpu/si_ih.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/soc21.c
drivers/gpu/drm/amd/amdgpu/tonga_ih.c
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
drivers/gpu/drm/amd/amdgpu/vi.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/include/amd_shared.h
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c

index 6d72355ac4928f3def436ff02d5ea2c9b7f9580c..34a62033a388cef09899abac09c6fafe42e1d0de 100644 (file)
@@ -637,6 +637,7 @@ static const struct amd_ip_funcs acp_ip_funcs = {
        .soft_reset = acp_soft_reset,
        .set_clockgating_state = acp_set_clockgating_state,
        .set_powergating_state = acp_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version acp_ip_block = {
index f7c73533e336fac3358c58e387cb27e102ac2684..d877d96e4afe5dffa664131c7e9d221c6ae8b865 100644 (file)
@@ -878,6 +878,7 @@ static const struct amd_ip_funcs umsch_mm_v4_0_ip_funcs = {
        .hw_fini = umsch_mm_hw_fini,
        .suspend = umsch_mm_suspend,
        .resume = umsch_mm_resume,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version umsch_mm_v4_0_ip_block = {
index 8baa2e0935cc6e6c3ca6dd0fab54914932514dc9..d1dc91009c0ed234c2126a785a43708d4254c92b 100644 (file)
@@ -658,6 +658,7 @@ static const struct amd_ip_funcs amdgpu_vkms_ip_funcs = {
        .soft_reset = amdgpu_vkms_soft_reset,
        .set_clockgating_state = amdgpu_vkms_set_clockgating_state,
        .set_powergating_state = amdgpu_vkms_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version amdgpu_vkms_ip_block = {
index fdbc26346b54dbf0bf39bac5bf7cd67fc1afc39e..884de42553a634db56759c415587701562fda088 100644 (file)
@@ -2210,6 +2210,7 @@ static const struct amd_ip_funcs cik_common_ip_funcs = {
        .soft_reset = cik_common_soft_reset,
        .set_clockgating_state = cik_common_set_clockgating_state,
        .set_powergating_state = cik_common_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ip_block_version cik_common_ip_block =
index f24e34dc33d1defcd70cab67f1423dffd31e8f08..676f3f612fde443eec426c96a73b16e1fa5e8f50 100644 (file)
@@ -435,6 +435,7 @@ static const struct amd_ip_funcs cik_ih_ip_funcs = {
        .soft_reset = cik_ih_soft_reset,
        .set_clockgating_state = cik_ih_set_clockgating_state,
        .set_powergating_state = cik_ih_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs cik_ih_funcs = {
index 76b9b0a31862b47631dded840827e43722e333f8..36b386e9c4f1ea9e2d5976501d8b93c3ceb6cdc5 100644 (file)
@@ -1228,6 +1228,7 @@ static const struct amd_ip_funcs cik_sdma_ip_funcs = {
        .soft_reset = cik_sdma_soft_reset,
        .set_clockgating_state = cik_sdma_set_clockgating_state,
        .set_powergating_state = cik_sdma_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs cik_sdma_ring_funcs = {
index c19681492efa748bf7b5d92864dbdc61c0351520..958c84a6af7e6e506cfc54e302d1a7621e40ab0e 100644 (file)
@@ -433,6 +433,7 @@ static const struct amd_ip_funcs cz_ih_ip_funcs = {
        .soft_reset = cz_ih_soft_reset,
        .set_clockgating_state = cz_ih_set_clockgating_state,
        .set_powergating_state = cz_ih_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs cz_ih_funcs = {
index 221af054d8746994fc823ff2547255133c7d092e..7a32ca7d6fc4c15a43717a308228559efbce93d9 100644 (file)
@@ -3333,6 +3333,7 @@ static const struct amd_ip_funcs dce_v10_0_ip_funcs = {
        .soft_reset = dce_v10_0_soft_reset,
        .set_clockgating_state = dce_v10_0_set_clockgating_state,
        .set_powergating_state = dce_v10_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static void
index 69e8b0db6cf7023d8ee3a763eda90be938c73ec5..67c01e137facbe83149b3d3c2361b7453c470f13 100644 (file)
@@ -3464,6 +3464,7 @@ static const struct amd_ip_funcs dce_v11_0_ip_funcs = {
        .soft_reset = dce_v11_0_soft_reset,
        .set_clockgating_state = dce_v11_0_set_clockgating_state,
        .set_powergating_state = dce_v11_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static void
index 60d40201fdd17730f43ce9fe3394958c5a8cac64..209cd44bbcecfb1b4f66e56a8ff697597a6c70ad 100644 (file)
@@ -3154,6 +3154,7 @@ static const struct amd_ip_funcs dce_v6_0_ip_funcs = {
        .soft_reset = dce_v6_0_soft_reset,
        .set_clockgating_state = dce_v6_0_set_clockgating_state,
        .set_powergating_state = dce_v6_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static void
index 5a5fcc45e452102bcfa83772b4ab3d85337b5e36..fff7f4f766b299a05b9e52b8a160923d8230f4a8 100644 (file)
@@ -3242,6 +3242,7 @@ static const struct amd_ip_funcs dce_v8_0_ip_funcs = {
        .soft_reset = dce_v8_0_soft_reset,
        .set_clockgating_state = dce_v8_0_set_clockgating_state,
        .set_powergating_state = dce_v8_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static void
index 591e8ed4b491ccf0c9a9ad54dd03555faa0dfdd5..29384a2c03ec4d767c476389a126ab4b4f97a19c 100644 (file)
@@ -9170,6 +9170,7 @@ static const struct amd_ip_funcs gfx_v10_0_ip_funcs = {
        .set_clockgating_state = gfx_v10_0_set_clockgating_state,
        .set_powergating_state = gfx_v10_0_set_powergating_state,
        .get_clockgating_state = gfx_v10_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs gfx_v10_0_ring_funcs_gfx = {
index 3c01d89e7a1b04e05d60db2fa7fc363d845fd409..e9e5b0eb536e1d668e03e48aee0e68b182f71d5a 100644 (file)
@@ -6169,6 +6169,7 @@ static const struct amd_ip_funcs gfx_v11_0_ip_funcs = {
        .set_clockgating_state = gfx_v11_0_set_clockgating_state,
        .set_powergating_state = gfx_v11_0_set_powergating_state,
        .get_clockgating_state = gfx_v11_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs gfx_v11_0_ring_funcs_gfx = {
index 34f9211b26793ff705aef4ab75e926dfba1f1dbb..559250c8a147f9ed0403037ce587efac0ec3bf5e 100644 (file)
@@ -3457,6 +3457,7 @@ static const struct amd_ip_funcs gfx_v6_0_ip_funcs = {
        .soft_reset = gfx_v6_0_soft_reset,
        .set_clockgating_state = gfx_v6_0_set_clockgating_state,
        .set_powergating_state = gfx_v6_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs gfx_v6_0_ring_funcs_gfx = {
index 86a4865b1ae54400cb3be21c8e68d84dde618183..81f7ab0dc135b88e57a1ab1629e57c5fc8e18107 100644 (file)
@@ -4977,6 +4977,7 @@ static const struct amd_ip_funcs gfx_v7_0_ip_funcs = {
        .soft_reset = gfx_v7_0_soft_reset,
        .set_clockgating_state = gfx_v7_0_set_clockgating_state,
        .set_powergating_state = gfx_v7_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs gfx_v7_0_ring_funcs_gfx = {
index 202ddda57f987efdf2770dad687d0ab1b864fe97..522cbd45dd46792f624f1dd5872bfd51f0505731 100644 (file)
@@ -6878,6 +6878,7 @@ static const struct amd_ip_funcs gfx_v8_0_ip_funcs = {
        .set_clockgating_state = gfx_v8_0_set_clockgating_state,
        .set_powergating_state = gfx_v8_0_set_powergating_state,
        .get_clockgating_state = gfx_v8_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_gfx = {
index eff33569b300a81cbf5e7c70dbeaea979bb2550c..d3fc04a0281a47596efb17a11cff4148fb30a8e7 100644 (file)
@@ -6856,6 +6856,7 @@ static const struct amd_ip_funcs gfx_v9_0_ip_funcs = {
        .set_clockgating_state = gfx_v9_0_set_clockgating_state,
        .set_powergating_state = gfx_v9_0_set_powergating_state,
        .get_clockgating_state = gfx_v9_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs gfx_v9_0_ring_funcs_gfx = {
index 4e6ed8061858675f71415c03613f4c52b85488e8..6190f51bf489bd485ed16110b96f87f9f4e2df99 100644 (file)
@@ -4016,6 +4016,7 @@ static const struct amd_ip_funcs gfx_v9_4_3_ip_funcs = {
        .set_clockgating_state = gfx_v9_4_3_set_clockgating_state,
        .set_powergating_state = gfx_v9_4_3_set_powergating_state,
        .get_clockgating_state = gfx_v9_4_3_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs gfx_v9_4_3_ring_funcs_compute = {
index 23b478639921a39ecd67fbcdc183fde331585ea5..060e54b8fffffb9723415a12abf5ea2ef3b4f9e1 100644 (file)
@@ -1115,6 +1115,7 @@ static const struct amd_ip_funcs gmc_v6_0_ip_funcs = {
        .soft_reset = gmc_v6_0_soft_reset,
        .set_clockgating_state = gmc_v6_0_set_clockgating_state,
        .set_powergating_state = gmc_v6_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_gmc_funcs gmc_v6_0_gmc_funcs = {
index 3da7b6a2b00d29113bacf770c9918efa9f2408ee..534825022ddd0da2ae677c10ae9a29ef62fce4e9 100644 (file)
@@ -1354,6 +1354,7 @@ static const struct amd_ip_funcs gmc_v7_0_ip_funcs = {
        .soft_reset = gmc_v7_0_soft_reset,
        .set_clockgating_state = gmc_v7_0_set_clockgating_state,
        .set_powergating_state = gmc_v7_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_gmc_funcs gmc_v7_0_gmc_funcs = {
index d20e5f20ee31be86c50b91f95df4f32ad926c5d8..aba787e1386a84c7bdc1b820d5c0a6fced7a7145 100644 (file)
@@ -1717,6 +1717,7 @@ static const struct amd_ip_funcs gmc_v8_0_ip_funcs = {
        .set_clockgating_state = gmc_v8_0_set_clockgating_state,
        .set_powergating_state = gmc_v8_0_set_powergating_state,
        .get_clockgating_state = gmc_v8_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_gmc_funcs gmc_v8_0_gmc_funcs = {
index 2c02ae69883d2bb86bec8e1d1fb521f8481d7ebb..2d6f969266b8cdbda20f97ff777f733cd372cf54 100644 (file)
@@ -425,6 +425,7 @@ static const struct amd_ip_funcs iceland_ih_ip_funcs = {
        .soft_reset = iceland_ih_soft_reset,
        .set_clockgating_state = iceland_ih_set_clockgating_state,
        .set_powergating_state = iceland_ih_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs iceland_ih_funcs = {
index c757ef99e3c581d449286f91dd568abf3174c754..77b5068b7be5108c02435c56701bb44f986c63f0 100644 (file)
@@ -770,6 +770,7 @@ static const struct amd_ip_funcs ih_v6_0_ip_funcs = {
        .set_clockgating_state = ih_v6_0_set_clockgating_state,
        .set_powergating_state = ih_v6_0_set_powergating_state,
        .get_clockgating_state = ih_v6_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs ih_v6_0_funcs = {
index 29ed78798070fc309df73ca0dd5fc111a7d8b3eb..fc2c27a199c6ae54999519d6c39a667c8ddc3d43 100644 (file)
@@ -775,6 +775,7 @@ static const struct amd_ip_funcs ih_v6_1_ip_funcs = {
        .set_clockgating_state = ih_v6_1_set_clockgating_state,
        .set_powergating_state = ih_v6_1_set_powergating_state,
        .get_clockgating_state = ih_v6_1_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs ih_v6_1_funcs = {
index 7aed96fa10a9d20bb3e856982e48c7de828cf4ff..31ed5030169bd49bbd6cf04de8115b075852a5ae 100644 (file)
@@ -749,6 +749,7 @@ static const struct amd_ip_funcs ih_v7_0_ip_funcs = {
        .set_clockgating_state = ih_v7_0_set_clockgating_state,
        .set_powergating_state = ih_v7_0_set_powergating_state,
        .get_clockgating_state = ih_v7_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs ih_v7_0_funcs = {
index 1c8116d75f63c44174bae7344ce53eb3792d6abc..698c5d4b7484ea4a9c3fb7140b094fb491313191 100644 (file)
@@ -759,6 +759,7 @@ static const struct amd_ip_funcs jpeg_v2_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v2_0_set_clockgating_state,
        .set_powergating_state = jpeg_v2_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs jpeg_v2_0_dec_ring_vm_funcs = {
index 99cd49ee8ef6e48c3488888622af9256a0bd44dc..0a9a2d58e3ee1bab0594897e3a17a5594f51bd2e 100644 (file)
@@ -632,6 +632,7 @@ static const struct amd_ip_funcs jpeg_v2_5_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v2_5_set_clockgating_state,
        .set_powergating_state = jpeg_v2_5_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amd_ip_funcs jpeg_v2_6_ip_funcs = {
@@ -652,6 +653,7 @@ static const struct amd_ip_funcs jpeg_v2_6_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v2_5_set_clockgating_state,
        .set_powergating_state = jpeg_v2_5_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs jpeg_v2_5_dec_ring_vm_funcs = {
index a92481da60cd9e7be50fafb2d1c305091798772d..e03d46151ae36844bbc327b600f0553e77381b77 100644 (file)
@@ -557,6 +557,7 @@ static const struct amd_ip_funcs jpeg_v3_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v3_0_set_clockgating_state,
        .set_powergating_state = jpeg_v3_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs jpeg_v3_0_dec_ring_vm_funcs = {
index 88ea58d5c4abf5b0f20abff28f9833f402e4b016..f142cb200552c43b0b363d7174decf82299b4e1b 100644 (file)
@@ -719,6 +719,7 @@ static const struct amd_ip_funcs jpeg_v4_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v4_0_set_clockgating_state,
        .set_powergating_state = jpeg_v4_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs jpeg_v4_0_dec_ring_vm_funcs = {
index 32caeb37cef9cab23a122d5b9819b81ec2839419..bc3a6f16f4bff87b58db9c4246a6212dedfed661 100644 (file)
@@ -1053,6 +1053,7 @@ static const struct amd_ip_funcs jpeg_v4_0_3_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v4_0_3_set_clockgating_state,
        .set_powergating_state = jpeg_v4_0_3_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs jpeg_v4_0_3_dec_ring_vm_funcs = {
index edf5bcdd2bc9683f2d283a45bde83eea71720ebd..ee29c97721ec199e9af91e15b1e889e3f29983d1 100644 (file)
@@ -762,6 +762,7 @@ static const struct amd_ip_funcs jpeg_v4_0_5_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v4_0_5_set_clockgating_state,
        .set_powergating_state = jpeg_v4_0_5_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs jpeg_v4_0_5_dec_ring_vm_funcs = {
index e70200f9755533937a01613384038b2552fcf510..f5664c92d10d0d76d10265149f93aeb93d5c82a9 100644 (file)
@@ -513,6 +513,7 @@ static const struct amd_ip_funcs jpeg_v5_0_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = jpeg_v5_0_0_set_clockgating_state,
        .set_powergating_state = jpeg_v5_0_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs jpeg_v5_0_0_dec_ring_vm_funcs = {
index 1e5ad1e08d2ae52bfec30a14dbdf63a654e8882f..4ed0429cf4f7a4e072afe119e6c097968ec50feb 100644 (file)
@@ -1176,6 +1176,7 @@ static const struct amd_ip_funcs mes_v10_1_ip_funcs = {
        .hw_fini = mes_v10_1_hw_fini,
        .suspend = mes_v10_1_suspend,
        .resume = mes_v10_1_resume,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version mes_v10_1_ip_block = {
index fbe31afad1d4e7b7c492369ba1c8d1fadc46a6fe..bb7318c2d652bb4b9cb4d607208b19961f5c0447 100644 (file)
@@ -1404,6 +1404,7 @@ static const struct amd_ip_funcs mes_v11_0_ip_funcs = {
        .hw_fini = mes_v11_0_hw_fini,
        .suspend = mes_v11_0_suspend,
        .resume = mes_v11_0_resume,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version mes_v11_0_ip_block = {
index 4178f4e5dad7329610958834fb22b8af9d821139..550c5ca4ea03b40ca841b9742da38da8e124e1c8 100644 (file)
@@ -713,6 +713,7 @@ static const struct amd_ip_funcs navi10_ih_ip_funcs = {
        .set_clockgating_state = navi10_ih_set_clockgating_state,
        .set_powergating_state = navi10_ih_set_powergating_state,
        .get_clockgating_state = navi10_ih_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs navi10_ih_funcs = {
index 4d7976b7776731d6a8429d755882a76ab49fbbe0..d7d3b972392b2e6b018fbe982be1feb440c3731a 100644 (file)
@@ -1131,4 +1131,5 @@ static const struct amd_ip_funcs nv_common_ip_funcs = {
        .set_clockgating_state = nv_common_set_clockgating_state,
        .set_powergating_state = nv_common_set_powergating_state,
        .get_clockgating_state = nv_common_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
index bed84676f2bf9fbeb9714cc043b7131a802c3365..0fd46ed1f67dc6c0da0cfa015bc597c5401d1420 100644 (file)
@@ -1113,6 +1113,7 @@ static const struct amd_ip_funcs sdma_v2_4_ip_funcs = {
        .soft_reset = sdma_v2_4_soft_reset,
        .set_clockgating_state = sdma_v2_4_set_clockgating_state,
        .set_powergating_state = sdma_v2_4_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs sdma_v2_4_ring_funcs = {
index 89e7accc209afb8dc393c9fb290a6968c5207f3f..a3b8f1d807ed4a68914225adf99af4b518f35e17 100644 (file)
@@ -1553,6 +1553,7 @@ static const struct amd_ip_funcs sdma_v3_0_ip_funcs = {
        .set_clockgating_state = sdma_v3_0_set_clockgating_state,
        .set_powergating_state = sdma_v3_0_set_powergating_state,
        .get_clockgating_state = sdma_v3_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs sdma_v3_0_ring_funcs = {
index 67e179c7e3476ec5777d444b332664e6fba969d0..b5b15dba9a769775e92a0685371b14bf8bdb62ea 100644 (file)
@@ -2706,6 +2706,7 @@ static const struct amd_ip_funcs si_common_ip_funcs = {
        .soft_reset = si_common_soft_reset,
        .set_clockgating_state = si_common_set_clockgating_state,
        .set_powergating_state = si_common_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ip_block_version si_common_ip_block =
index db7389644794f12fb3eda80f514a0d53a7973e4b..fd8f28fdee1a59bf8b6f01f7adc6eafbefabda05 100644 (file)
@@ -708,6 +708,7 @@ static const struct amd_ip_funcs si_dma_ip_funcs = {
        .soft_reset = si_dma_soft_reset,
        .set_clockgating_state = si_dma_set_clockgating_state,
        .set_powergating_state = si_dma_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs si_dma_ring_funcs = {
index cada9f300a7f510a3f025c3ed17c87aedcbbaeb5..3b7427f5a6c9d2c9304ec9b391bbe55ae67f87a6 100644 (file)
@@ -296,6 +296,7 @@ static const struct amd_ip_funcs si_ih_ip_funcs = {
        .soft_reset = si_ih_soft_reset,
        .set_clockgating_state = si_ih_set_clockgating_state,
        .set_powergating_state = si_ih_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs si_ih_funcs = {
index c8abbf5da736266dc92ff370b2722f49b87a5324..6ba6c96c91c844ad1d40b69495eaead7d8219ec0 100644 (file)
@@ -1501,4 +1501,5 @@ static const struct amd_ip_funcs soc15_common_ip_funcs = {
        .set_clockgating_state = soc15_common_set_clockgating_state,
        .set_powergating_state = soc15_common_set_powergating_state,
        .get_clockgating_state= soc15_common_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
index 43ca63fe85ac3b0f9236a27766f3a78f42c2fbfb..40e7ab0716cdf8dc39f001e5be91c9b969433b59 100644 (file)
@@ -985,4 +985,5 @@ static const struct amd_ip_funcs soc21_common_ip_funcs = {
        .set_clockgating_state = soc21_common_set_clockgating_state,
        .set_powergating_state = soc21_common_set_powergating_state,
        .get_clockgating_state = soc21_common_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
index 450b6e8315091448c24e2d90dcd4edccc9d4423c..794a1f7bc2ca6bbc0d4298e3136de5d1c7bb2a38 100644 (file)
@@ -486,6 +486,7 @@ static const struct amd_ip_funcs tonga_ih_ip_funcs = {
        .post_soft_reset = tonga_ih_post_soft_reset,
        .set_clockgating_state = tonga_ih_set_clockgating_state,
        .set_powergating_state = tonga_ih_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ih_funcs tonga_ih_funcs = {
index a6006f231c655903b626750726495bdcd6a508e2..1e232ed23102439380f85e3b3a0ffcc9b8ee4e33 100644 (file)
@@ -819,6 +819,7 @@ static const struct amd_ip_funcs uvd_v3_1_ip_funcs = {
        .soft_reset = uvd_v3_1_soft_reset,
        .set_clockgating_state = uvd_v3_1_set_clockgating_state,
        .set_powergating_state = uvd_v3_1_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version uvd_v3_1_ip_block = {
index 1aa09ad7bbe3e05f2b5854982e78e149ebefde5e..48bcf41e55588c661fc59f159f80256e96f3f90d 100644 (file)
@@ -769,6 +769,7 @@ static const struct amd_ip_funcs uvd_v4_2_ip_funcs = {
        .soft_reset = uvd_v4_2_soft_reset,
        .set_clockgating_state = uvd_v4_2_set_clockgating_state,
        .set_powergating_state = uvd_v4_2_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs uvd_v4_2_ring_funcs = {
index f8b229b75435844054d6d4f2e4b38ba82923f80e..838b7d720c52ee2af7ebbb1f6851a98d3f5405ff 100644 (file)
@@ -877,6 +877,7 @@ static const struct amd_ip_funcs uvd_v5_0_ip_funcs = {
        .set_clockgating_state = uvd_v5_0_set_clockgating_state,
        .set_powergating_state = uvd_v5_0_set_powergating_state,
        .get_clockgating_state = uvd_v5_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs uvd_v5_0_ring_funcs = {
index a9a6880f44e3302bada40d798168219386a505d7..036378f5f53f969520394a76c692026d359f8842 100644 (file)
@@ -1545,6 +1545,7 @@ static const struct amd_ip_funcs uvd_v6_0_ip_funcs = {
        .set_clockgating_state = uvd_v6_0_set_clockgating_state,
        .set_powergating_state = uvd_v6_0_set_powergating_state,
        .get_clockgating_state = uvd_v6_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs uvd_v6_0_ring_phys_funcs = {
index a08e7abca423bd3db15c8d9f30ce213550c93349..2178cf5a27b7fc9a8f32a24f5c58a0c1eb836681 100644 (file)
@@ -626,6 +626,7 @@ static const struct amd_ip_funcs vce_v2_0_ip_funcs = {
        .soft_reset = vce_v2_0_soft_reset,
        .set_clockgating_state = vce_v2_0_set_clockgating_state,
        .set_powergating_state = vce_v2_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs vce_v2_0_ring_funcs = {
index f4760748d34998abb9d8a0b0856419dbbd003ef0..0f0d4b0d50cb4cf31ffc8ff67ddfe565ab99c289 100644 (file)
@@ -913,6 +913,7 @@ static const struct amd_ip_funcs vce_v3_0_ip_funcs = {
        .set_clockgating_state = vce_v3_0_set_clockgating_state,
        .set_powergating_state = vce_v3_0_set_powergating_state,
        .get_clockgating_state = vce_v3_0_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs vce_v3_0_ring_phys_funcs = {
index aaceecd558cf9693bc16a528d3be4430be80d5b4..7ff5d05744549f3742fd858d92c11ad482add723 100644 (file)
@@ -1902,6 +1902,7 @@ static const struct amd_ip_funcs vcn_v1_0_ip_funcs = {
        .post_soft_reset = NULL /* vcn_v1_0_post_soft_reset */,
        .set_clockgating_state = vcn_v1_0_set_clockgating_state,
        .set_powergating_state = vcn_v1_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 /*
index e357d8cf0c01540ca3f986b88e2a6e1892df6a34..4df1b75f971a1166435241c31d171282e51d1be4 100644 (file)
@@ -2008,6 +2008,7 @@ static const struct amd_ip_funcs vcn_v2_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = vcn_v2_0_set_clockgating_state,
        .set_powergating_state = vcn_v2_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ring_funcs vcn_v2_0_dec_ring_vm_funcs = {
index 1cd8a94b0fbc2319f86f352b3fa6638ec7545d7c..d91c3154641bb7f7c531e8c7057fc8684283f809 100644 (file)
@@ -1901,6 +1901,7 @@ static const struct amd_ip_funcs vcn_v2_5_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = vcn_v2_5_set_clockgating_state,
        .set_powergating_state = vcn_v2_5_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amd_ip_funcs vcn_v2_6_ip_funcs = {
@@ -1921,6 +1922,7 @@ static const struct amd_ip_funcs vcn_v2_6_ip_funcs = {
         .post_soft_reset = NULL,
         .set_clockgating_state = vcn_v2_5_set_clockgating_state,
         .set_powergating_state = vcn_v2_5_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version vcn_v2_5_ip_block =
index 26e63f01250a6106c62bca8292ddb33802f61d08..98b7d2d0536e07f08f6e54af4a71b638c3e2ceb3 100644 (file)
@@ -2231,6 +2231,7 @@ static const struct amd_ip_funcs vcn_v3_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = vcn_v3_0_set_clockgating_state,
        .set_powergating_state = vcn_v3_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version vcn_v3_0_ip_block = {
index aff1a4d8d393602f3707f172b9aed4ed61204dc1..122fec3be96f157bcfc86a13863f1803ae56bcfb 100644 (file)
@@ -2131,6 +2131,7 @@ static const struct amd_ip_funcs vcn_v4_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = vcn_v4_0_set_clockgating_state,
        .set_powergating_state = vcn_v4_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version vcn_v4_0_ip_block = {
index 203fa988322bdd93a009a2d21a42eb42217d6996..599b6466183ef9d140e2ecf35f53b658a98e96de 100644 (file)
@@ -1660,6 +1660,7 @@ static const struct amd_ip_funcs vcn_v4_0_3_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = vcn_v4_0_3_set_clockgating_state,
        .set_powergating_state = vcn_v4_0_3_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version vcn_v4_0_3_ip_block = {
index 8f2bcce13339237e0429a88e861ab6a4e47ff836..8b1e5bc9fb6960b7350366ca8f084b5d53c96446 100644 (file)
@@ -1753,6 +1753,7 @@ static const struct amd_ip_funcs vcn_v4_0_5_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = vcn_v4_0_5_set_clockgating_state,
        .set_powergating_state = vcn_v4_0_5_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version vcn_v4_0_5_ip_block = {
index b226306164bcd6d0e18e7e0267c7906b83dc0c95..6d6aa02af4f5f2c43e3a8a211c8d2920d55748a4 100644 (file)
@@ -1329,6 +1329,7 @@ static const struct amd_ip_funcs vcn_v5_0_0_ip_funcs = {
        .post_soft_reset = NULL,
        .set_clockgating_state = vcn_v5_0_0_set_clockgating_state,
        .set_powergating_state = vcn_v5_0_0_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version vcn_v5_0_0_ip_block = {
index 2415355b037cce47e36e1169dd108c04ec4e1eec..a04aa6833fc5a29b55f41a10d8af04ea363104ac 100644 (file)
@@ -2058,6 +2058,7 @@ static const struct amd_ip_funcs vi_common_ip_funcs = {
        .set_clockgating_state = vi_common_set_clockgating_state,
        .set_powergating_state = vi_common_set_powergating_state,
        .get_clockgating_state = vi_common_get_clockgating_state,
+       .dump_ip_state = NULL,
 };
 
 static const struct amdgpu_ip_block_version vi_common_ip_block =
index 0d67fc56249bc1e6e798a4ab3de651f212d0a4f3..fd58d0acc47a8a3f6aca3692a81e71b4fea16417 100644 (file)
@@ -3121,6 +3121,7 @@ static const struct amd_ip_funcs amdgpu_dm_funcs = {
        .soft_reset = dm_soft_reset,
        .set_clockgating_state = dm_set_clockgating_state,
        .set_powergating_state = dm_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version dm_ip_block = {
index b0a6256e89f413b92b40d258d0a8069b63aa0c97..9884f6c48a7dc960d1156275d278de958e66a3b5 100644 (file)
@@ -321,6 +321,7 @@ struct amd_ip_funcs {
        int (*set_powergating_state)(void *handle,
                                     enum amd_powergating_state state);
        void (*get_clockgating_state)(void *handle, u64 *flags);
+       void (*dump_ip_state)(void *handle);
 };
 
 
index 5cb4725c773f67a2e2353dc7727a015654c260da..8c07f8c7f3ab36520b73ad158d6bf2d5394dbfeb 100644 (file)
@@ -3316,6 +3316,7 @@ static const struct amd_ip_funcs kv_dpm_ip_funcs = {
        .soft_reset = kv_dpm_soft_reset,
        .set_clockgating_state = kv_dpm_set_clockgating_state,
        .set_powergating_state = kv_dpm_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version kv_smu_ip_block = {
index eb4da3666e05d6d145a927258d7ea247425dad93..c312b93323267815c26ee6a280ba2f6d25e2fa1f 100644 (file)
@@ -8060,6 +8060,7 @@ static const struct amd_ip_funcs si_dpm_ip_funcs = {
        .soft_reset = si_dpm_soft_reset,
        .set_clockgating_state = si_dpm_set_clockgating_state,
        .set_powergating_state = si_dpm_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version si_smu_ip_block =
index 133d1ee6e67c2cb9fad6f858e8d7e96df3f8d439..c63474ee17a755851ae78a89a217600bfb76ae70 100644 (file)
@@ -302,6 +302,7 @@ static const struct amd_ip_funcs pp_ip_funcs = {
        .soft_reset = pp_sw_reset,
        .set_clockgating_state = pp_set_clockgating_state,
        .set_powergating_state = pp_set_powergating_state,
+       .dump_ip_state = NULL,
 };
 
 const struct amdgpu_ip_block_version pp_smu_ip_block =