diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3855-drm-amdgpu-add-command-id-in-psp-response-failure-me.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3855-drm-amdgpu-add-command-id-in-psp-response-failure-me.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3855-drm-amdgpu-add-command-id-in-psp-response-failure-me.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3855-drm-amdgpu-add-command-id-in-psp-response-failure-me.patch new file mode 100644 index 00000000..385587d5 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3855-drm-amdgpu-add-command-id-in-psp-response-failure-me.patch @@ -0,0 +1,32 @@ +From b12457a9f7d193c0e08621f0b90e6c523c654c47 Mon Sep 17 00:00:00 2001 +From: Hawking Zhang <Hawking.Zhang@amd.com> +Date: Mon, 23 Sep 2019 20:41:04 +0800 +Subject: [PATCH 3855/4256] drm/amdgpu: add command id in psp response failure + message + +For better clarification of issue. + +Change-Id: I88649fc5dbc7376f3c90ec2114236294ca9189de +Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> +Reviewed-by: Le Ma <Le.Ma@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +index b954b48f3ddf..7146c29c35f1 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +@@ -170,7 +170,8 @@ psp_cmd_submit_buf(struct psp_context *psp, + if (ucode) + DRM_WARN("failed to load ucode id (%d) ", + ucode->ucode_id); +- DRM_WARN("psp command failed and response status is (0x%X)\n", ++ DRM_WARN("psp command (0x%X) failed and response status is (0x%X)\n", ++ psp->cmd_buf_mem->cmd_id, + psp->cmd_buf_mem->resp.status & GFX_CMD_STATUS_MASK); + if (!timeout) { + mutex_unlock(&psp->mutex); +-- +2.17.1 + |