Skip to content

Commit 3b14fe9

Browse files
Roman Lialexdeucher
authored andcommitted
drm/amd/display: Refine error message for vblank init failure
[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>
1 parent f74291c commit 3b14fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2186,7 +2186,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
21862186

21872187
if (drm_vblank_init(adev_to_drm(adev), adev->dm.display_indexes_num)) {
21882188
drm_err(adev_to_drm(adev),
2189-
"failed to initialize sw for display support.\n");
2189+
"failed to initialize vblank for display support.\n");
21902190
goto error;
21912191
}
21922192

0 commit comments

Comments
 (0)