[AMD Official Use Only - AMD Internal Distribution Only]

Reviewed-by: Shashank Sharma <[email protected]>

Regards
Shashank
________________________________
From: Yadav, Arvind <[email protected]>
Sent: Tuesday, October 22, 2024 2:58 PM
To: Sharma, Shashank <[email protected]>; [email protected] 
<[email protected]>
Cc: Yadav, Arvind <[email protected]>; Yadav, Arvind <[email protected]>
Subject: [PATCH] drm/amdgpu: Fix kernel config name for gfx-userqueue

DRM_AMD_USERQ_GFX was an old config flag and the new config flag
name is updated later which was missing.

Cc: Shashank Sharma <[email protected]>
Signed-off-by: Arvind Yadav <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 5aff8f72de9c..a12ce58962bb 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -1572,7 +1572,7 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block 
*ip_block)
                 adev->gfx.mec.num_mec = 1;
                 adev->gfx.mec.num_pipe_per_mec = 4;
                 adev->gfx.mec.num_queue_per_pipe = 4;
-#ifdef CONFIG_DRM_AMD_USERQ_GFX
+#ifdef CONFIG_DRM_AMDGPU_NAVI3X_USERQ
                 adev->userq_funcs[AMDGPU_HW_IP_GFX] = &userq_mes_v11_0_funcs;
                 adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] = 
&userq_mes_v11_0_funcs;
 #endif
--
2.34.1

Reply via email to