<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Calibri;font-size:10pt;color:#0000FF;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
[AMD Official Use Only - AMD Internal Distribution Only]<br>
</p>
<br>
<div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt;">
<span style="color: rgb(0, 0, 0);">Reviewed-by: Shashank Sharma <shashank.sharma@amd.com></span></div>
<div id="appendonsend" style="color: inherit;"></div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Regards</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Shashank</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr" style="color: inherit;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Yadav, Arvind <Arvind.Yadav@amd.com><br>
<b>Sent:</b> Tuesday, October 22, 2024 2:58 PM<br>
<b>To:</b> Sharma, Shashank <Shashank.Sharma@amd.com>; amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Yadav, Arvind <Arvind.Yadav@amd.com>; Yadav, Arvind <Arvind.Yadav@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu: Fix kernel config name for gfx-userqueue</span>
<div> </div>
</div>
<div style="font-size: 11pt;">DRM_AMD_USERQ_GFX was an old config flag and the new config flag<br>
name is updated later which was missing.<br>
<br>
Cc: Shashank Sharma <shashank.sharma@amd.com><br>
Signed-off-by: Arvind Yadav <arvind.yadav@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c<br>
index 5aff8f72de9c..a12ce58962bb 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c<br>
@@ -1572,7 +1572,7 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)<br>
                 adev->gfx.mec.num_mec = 1;<br>
                 adev->gfx.mec.num_pipe_per_mec = 4;<br>
                 adev->gfx.mec.num_queue_per_pipe = 4;<br>
-#ifdef CONFIG_DRM_AMD_USERQ_GFX<br>
+#ifdef CONFIG_DRM_AMDGPU_NAVI3X_USERQ<br>
                 adev->userq_funcs[AMDGPU_HW_IP_GFX] = &userq_mes_v11_0_funcs;<br>
                 adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] = &userq_mes_v11_0_funcs;<br>
 #endif<br>
--<br>
2.34.1<br>
<br>
</div>
</div>
</body>
</html>