]> git.hungrycats.org Git - linux/commitdiff
drm/amd/display: Shorten hdmi_frl_status_polling_workqueue
authorNathan Chancellor <nathan@kernel.org>
Thu, 18 Jun 2026 16:52:14 +0000 (09:52 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Sep 2026 16:53:07 +0000 (12:53 -0400)
There is a warning when creating the hdmi_frl_status_polling_wq
workqueue because "hdmi_frl_status_polling_workqueue" excceds
WQ_NAME_LEN:

  workqueue: name exceeds WQ_NAME_LEN. Truncating to: hdmi_frl_status_polling_workque

Shorten the workqueue name to "hdmi_frl_status_polling_wq" like the
structure member to avoid the warning.

Fixes: 5c9b8b27a883 ("drm/amd/display: Tie FRL support into amdgpu_dm")
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Link: https://patch.msgid.link/20260618-amdgpu-fix-wq_name_len-warning-v2-1-ef0e2e6f5be7@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 767ae341b68193fda5fdbc510b2d77e3e8938039)

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 2fe934036e363b7f30c369ae48d647c0b27bd046..a95243656f54a4b446dd44e79d66b64a1a2ff9f5 100644 (file)
@@ -747,9 +747,9 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
        }
        if (adev->dm.dc->caps.max_links > 0) {
                adev->dm.hdmi_frl_status_polling_wq =
-                       create_singlethread_workqueue("hdmi_frl_status_polling_workqueue");
+                       create_singlethread_workqueue("hdmi_frl_status_polling_wq");
                if (!adev->dm.hdmi_frl_status_polling_wq)
-                       drm_err(adev_to_drm(adev), "failed to initialize hdmi_frl_status_polling_workqueue\n");
+                       drm_err(adev_to_drm(adev), "failed to initialize hdmi_frl_status_polling_wq\n");
        }
        if (dc_is_dmub_outbox_supported(adev->dm.dc)) {
                init_completion(&adev->dm.dmub_aux_transfer_done);