diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1999-drm-amd-display-Don-t-load-DMCU-for-Raven-1-v2.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1999-drm-amd-display-Don-t-load-DMCU-for-Raven-1-v2.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1999-drm-amd-display-Don-t-load-DMCU-for-Raven-1-v2.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1999-drm-amd-display-Don-t-load-DMCU-for-Raven-1-v2.patch new file mode 100644 index 00000000..1f4f99e6 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1999-drm-amd-display-Don-t-load-DMCU-for-Raven-1-v2.patch @@ -0,0 +1,42 @@ +From 0ccffea73107d61a600a5db25acea4242e35e6a5 Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Mon, 29 Apr 2019 09:39:15 -0400 +Subject: [PATCH 1999/2940] drm/amd/display: Don't load DMCU for Raven 1 (v2) + +[WHY] +Some early Raven boards had a bad SBIOS that doesn't play nicely with +the DMCU FW. We thought the issues were fixed by ignoring errors on DMCU +load but that doesn't seem to be the case. We've still seen reports of +users unable to boot their systems at all. + +[HOW] +Disable DMCU load on Raven 1. Only load it for Raven 2 and Picasso. + +v2: Fix ifdef (Alex) + +Change-Id: I67926d5a6bd91e2032cc5039754bde0d6ba3ad9b +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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 6750d74e1c85..7369c00b24b7 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +@@ -664,9 +664,9 @@ static int load_dmcu_fw(struct amdgpu_device *adev) + case CHIP_VEGA20: + return 0; + case CHIP_RAVEN: ++#if defined(CONFIG_DRM_AMD_DC_DCN1_01) + if (ASICREV_IS_PICASSO(adev->external_rev_id)) + fw_name_dmcu = FIRMWARE_RAVEN_DMCU; +-#if defined(CONFIG_DRM_AMD_DC_DCN1_01) + else if (ASICREV_IS_RAVEN2(adev->external_rev_id)) + fw_name_dmcu = FIRMWARE_RAVEN_DMCU; + #endif +-- +2.17.1 + |