aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3625-drm-amdgpu-virtual_dce-drop-error-message-in-hw_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3625-drm-amdgpu-virtual_dce-drop-error-message-in-hw_init.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3625-drm-amdgpu-virtual_dce-drop-error-message-in-hw_init.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3625-drm-amdgpu-virtual_dce-drop-error-message-in-hw_init.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3625-drm-amdgpu-virtual_dce-drop-error-message-in-hw_init.patch
new file mode 100644
index 00000000..e66c853f
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3625-drm-amdgpu-virtual_dce-drop-error-message-in-hw_init.patch
@@ -0,0 +1,43 @@
+From 8f746f3ef55f1ee6e21fd932bee2476fc94f1ca2 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Wed, 28 Aug 2019 08:47:34 -0500
+Subject: [PATCH 3625/4256] drm/amdgpu/virtual_dce: drop error message in
+ hw_init
+
+No need to add new asic cases. This is a sw display
+implementation, so just drop the error message so when
+we add new asics, all we have to do is add the virtual
+dce IP module.
+
+Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 11 +----------
+ 1 file changed, 1 insertion(+), 10 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
+index 6dadbed7ce43..fe242cc7c04f 100644
+--- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
++++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
+@@ -452,17 +452,8 @@ static int dce_virtual_hw_init(void *handle)
+ #endif
+ /* no DCE */
+ break;
+- case CHIP_VEGA10:
+- case CHIP_VEGA12:
+- case CHIP_VEGA20:
+- case CHIP_ARCTURUS:
+- case CHIP_RENOIR:
+- case CHIP_NAVI10:
+- case CHIP_NAVI14:
+- case CHIP_NAVI12:
+- break;
+ default:
+- DRM_ERROR("Virtual display unsupported ASIC type: 0x%X\n", adev->asic_type);
++ break;
+ }
+ return 0;
+ }
+--
+2.17.1
+