Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76121231 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher
Browse files

drm/amd/display: Print DC_VER at DC init



This has proven helpful on other OSes to give a quick state of the
DC driver when a bug is reported.

Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 75c2dec3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -431,9 +431,9 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
	adev->dm.dc = dc_create(&init_data);

	if (adev->dm.dc) {
		DRM_INFO("Display Core initialized!\n");
		DRM_INFO("Display Core initialized with v%s!\n", DC_VER);
	} else {
		DRM_INFO("Display Core failed to initialize!\n");
		DRM_INFO("Display Core failed to initialize with v%s!\n", DC_VER);
		goto error;
	}