[PATCH v1] drm/amdgpu: no need to set queue_active in mes_userq_resume

Sunil Khatri sunil.khatri at amd.com
Wed Apr 2 12:16:36 UTC 2025


In mes_userq_resume calls mes_userq_map which set the
queue_active state to true if it succeed and from the resume
we dont need to explicitly set the queue state.

Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c b/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
index 8f6c12a78f3a..c596e534efbf 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
@@ -382,7 +382,6 @@ static int mes_userq_resume(struct amdgpu_userq_mgr *uq_mgr,
 		return ret;
 	}
 
-	queue->queue_active = true;
 	return 0;
 }
 
-- 
2.34.1



More information about the amd-gfx mailing list