<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 2024-11-13 04:07, Sunil Khatri
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20241113090705.741598-1-sunil.khatri@amd.com">
<pre class="moz-quote-pre" wrap="">Add argument description for the input argument
inst for amdgpu_device_ip_set_powergating_state.
Fixes the warning raised by the compiler:
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2182:
warning: Function parameter or struct member 'inst' not described in 'amdgpu_device_ip_set_powergating_state'
Cc: Boyuan Zhang <a class="moz-txt-link-rfc2396E" href="mailto:Boyuan.Zhang@amd.com"><Boyuan.Zhang@amd.com></a>
Signed-off-by: Sunil Khatri <a class="moz-txt-link-rfc2396E" href="mailto:sunil.khatri@amd.com"><sunil.khatri@amd.com></a></pre>
</blockquote>
<p><br>
</p>
<p><font size="2"><span style="font-size:11pt;"><span data-markjs="true" class="markz4gub081a" style="" data-ogac="" data-ogab="" data-ogsc="" data-ogsb="" data-olk-copy-source="MessageBody">Reviewed-by</span>:
Boyuan Zhang <a class="moz-txt-link-rfc2396E" href="mailto:Boyuan.Zhang@amd.com"><Boyuan.Zhang@amd.com></a></span></font></p>
<p><br>
</p>
<blockquote type="cite" cite="mid:20241113090705.741598-1-sunil.khatri@amd.com">
<pre class="moz-quote-pre" wrap="">
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index bb530dd2b3e3..b3ca911e55d6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2170,6 +2170,7 @@ int amdgpu_device_ip_set_clockgating_state(void *dev,
* @dev: amdgpu_device pointer
* @block_type: Type of hardware IP (SMU, GFX, UVD, etc.)
* @state: powergating state (gate or ungate)
+ * @inst: Instance id of the specific block_type
*
* Sets the requested powergating state for all instances of
* the hardware IP specified.
</pre>
</blockquote>
</body>
</html>