diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1436-drm-amdgpu-Fix-SDMA-HQD-destroy-error-on-gfx_v7.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1436-drm-amdgpu-Fix-SDMA-HQD-destroy-error-on-gfx_v7.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1436-drm-amdgpu-Fix-SDMA-HQD-destroy-error-on-gfx_v7.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1436-drm-amdgpu-Fix-SDMA-HQD-destroy-error-on-gfx_v7.patch new file mode 100644 index 00000000..c15f252e --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1436-drm-amdgpu-Fix-SDMA-HQD-destroy-error-on-gfx_v7.patch @@ -0,0 +1,31 @@ +From d0cc7739733175985f0e8d9b94ae7d543a640ce4 Mon Sep 17 00:00:00 2001 +From: Amber Lin <Amber.Lin@amd.com> +Date: Wed, 25 May 2016 11:08:29 -0400 +Subject: [PATCH 1436/4131] drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7 + +A wrong register bit was examinated for checking SDMA status so it reports +false failures. This typo only appears on gfx_v7. gfx_v8 checks the correct +bit. + +Change-Id: I110a5268123a2c68d5035bf3b1cecdb0ac462035 +Signed-off-by: Amber Lin <Amber.Lin@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c +index 947a744..b6559af 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c +@@ -521,7 +521,7 @@ static int kgd_hqd_sdma_destroy(struct kgd_dev *kgd, void *mqd, + + while (true) { + temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_CONTEXT_STATUS); +- if (temp & SDMA0_STATUS_REG__RB_CMD_IDLE_MASK) ++ if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) + break; + if (timeout <= 0) + return -ETIME; +-- +2.7.4 + |