[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240630222904.627462-4-bvanassche@acm.org>
Date: Sun, 30 Jun 2024 15:26:21 -0700
From: Bart Van Assche <bvanassche@....org>
To: Tejun Heo <tj@...nel.org>
Cc: Lai Jiangshan <jiangshanlai@...il.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org,
Bart Van Assche <bvanassche@....org>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
"Pan, Xinhui" <Xinhui.Pan@....com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Sunil Khatri <sunil.khatri@....com>,
Shashank Sharma <shashank.sharma@....com>,
Lijo Lazar <lijo.lazar@....com>,
André Almeida <andrealmeid@...lia.com>,
Srinivasan Shanmugam <srinivasan.shanmugam@....com>
Subject: [PATCH 03/53] drm/amdgpu: Switch to create*_workqueue2()
Prepare for removal of the create*_workqueue() macros.
Signed-off-by: Bart Van Assche <bvanassche@....org>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
index ea4873f6ccd1..6ed3af1286fb 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
@@ -131,7 +131,7 @@ struct amdgpu_reset_domain *amdgpu_reset_create_reset_domain(enum amdgpu_reset_d
reset_domain->type = type;
kref_init(&reset_domain->refcount);
- reset_domain->wq = create_singlethread_workqueue(wq_name);
+ reset_domain->wq = create_singlethread_workqueue2("%s", wq_name);
if (!reset_domain->wq) {
DRM_ERROR("Failed to allocate wq for amdgpu_reset_domain!");
amdgpu_reset_put_reset_domain(reset_domain);
Powered by blists - more mailing lists