diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2915-drm-amd-display-Print-DC_VER-at-DC-init.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2915-drm-amd-display-Print-DC_VER-at-DC-init.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2915-drm-amd-display-Print-DC_VER-at-DC-init.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2915-drm-amd-display-Print-DC_VER-at-DC-init.patch new file mode 100644 index 00000000..3cea6618 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2915-drm-amd-display-Print-DC_VER-at-DC-init.patch @@ -0,0 +1,34 @@ +From 60b99515f8bd7c8b8ecab0407b5efa0ecdee1c18 Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Tue, 21 Nov 2017 13:19:32 -0500 +Subject: [PATCH 2915/4131] 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> +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +index 40154fa..5d661b7 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +@@ -443,9 +443,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; + } + +-- +2.7.4 + |