<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#008000;margin:15pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
[Public]<br>
</p>
<br>
<div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Reviewed-by: Alex Deucher <alexander.deucher@amd.com></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Sunil Khatri <sunil.khatri@amd.com><br>
<b>Sent:</b> Friday, April 26, 2024 3:18 AM<br>
<b>To:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian <Christian.Koenig@amd.com><br>
<b>Cc:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>; Khatri, Sunil <Sunil.Khatri@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu: add function descripion of new functions</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Add function description of the new functions added<br>
in amd_ip_funcs.<br>
<br>
new functions added are:<br>
a. dump_ip_state<br>
b. print_ip_state<br>
<br>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com><br>
---<br>
 drivers/gpu/drm/amd/include/amd_shared.h | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h<br>
index 7536c173a546..36ee9d3d6d9c 100644<br>
--- a/drivers/gpu/drm/amd/include/amd_shared.h<br>
+++ b/drivers/gpu/drm/amd/include/amd_shared.h<br>
@@ -291,6 +291,8 @@ enum amd_dpm_forced_level;<br>
  * @set_clockgating_state: enable/disable cg for the IP block<br>
  * @set_powergating_state: enable/disable pg for the IP block<br>
  * @get_clockgating_state: get current clockgating status<br>
+ * @dump_ip_state: dump the IP state of the ASIC during a gpu hang<br>
+ * @print_ip_state: print the IP state in devcoredump for each IP of the ASIC<br>
  *<br>
  * These hooks provide an interface for controlling the operational state<br>
  * of IP blocks. After acquiring a list of IP blocks for the GPU in use,<br>
-- <br>
2.34.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>