]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Refine error message for vblank init failure
authorRoman Li <Roman.Li@amd.com>
Thu, 21 Aug 2025 19:43:31 +0000 (15:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:41 +0000 (17:38 -0400)
[Why]
The error message "failed to initialize sw for display support" is used
for both DRM device and vblank initialization failures, making it difficult
to identify the specific failure during troubleshooting.

[How]
Update the vblank initialization error message to
"failed to initialize vblank for display support"
to distinguish it from the DRM device init failure.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 8d13212ff4abc4e631b974b21b86ae62ef860ddf..5ae01b0ac0934f62a8fa3567194e3f6b50a6de42 100644 (file)
@@ -2186,7 +2186,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
 
        if (drm_vblank_init(adev_to_drm(adev), adev->dm.display_indexes_num)) {
                drm_err(adev_to_drm(adev),
-               "failed to initialize sw for display support.\n");
+               "failed to initialize vblank for display support.\n");
                goto error;
        }