diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3464-drm-amdgpu-remove-special-autoload-handling-for-navi.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3464-drm-amdgpu-remove-special-autoload-handling-for-navi.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3464-drm-amdgpu-remove-special-autoload-handling-for-navi.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3464-drm-amdgpu-remove-special-autoload-handling-for-navi.patch new file mode 100644 index 00000000..a0a0eb8d --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3464-drm-amdgpu-remove-special-autoload-handling-for-navi.patch @@ -0,0 +1,32 @@ +From 6536112325de5d1bd1e0463c912a5285f61af071 Mon Sep 17 00:00:00 2001 +From: Xiaojie Yuan <xiaojie.yuan@amd.com> +Date: Thu, 15 Aug 2019 15:08:02 +0800 +Subject: [PATCH 3464/4256] drm/amdgpu: remove special autoload handling for + navi12 + +s/r list in rlc firmware is ready, so remove the special autoload handling + +Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com> +Acked-by: Alex Deucher <alexander.deucher@amd.com> +Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +index 60e421d5aae4..72c269078564 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +@@ -1036,8 +1036,7 @@ static int psp_np_fw_load(struct psp_context *psp) + return ret; + + /* Start rlc autoload after psp recieved all the gfx firmware */ +- if (ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM || +- (adev->asic_type == CHIP_NAVI12 && ucode->ucode_id == AMDGPU_UCODE_ID_RLC_G)) { ++ if (ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM) { + ret = psp_rlc_autoload(psp); + if (ret) { + DRM_ERROR("Failed to start rlc autoload\n"); +-- +2.17.1 + |