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: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Этот коммит содержится в:

коммит произвёл
Alex Deucher

родитель
75c2dec31a
Коммит
76121231cf
@@ -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;
|
||||
}
|
||||
|
||||
|
Ссылка в новой задаче
Block a user