diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3917-drm-amdgpu-psp-silence-response-status-warning.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3917-drm-amdgpu-psp-silence-response-status-warning.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3917-drm-amdgpu-psp-silence-response-status-warning.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3917-drm-amdgpu-psp-silence-response-status-warning.patch new file mode 100644 index 00000000..80360122 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3917-drm-amdgpu-psp-silence-response-status-warning.patch @@ -0,0 +1,34 @@ +From 09f13513460bdc9a876db5fae9845f782784167e Mon Sep 17 00:00:00 2001 +From: Shirish S <shirish.s@amd.com> +Date: Tue, 24 Sep 2019 14:45:54 +0530 +Subject: [PATCH 3917/4256] drm/amdgpu/psp: silence response status warning + +log the response status related error to the driver's +debug log since psp response status is not 0 even though +there was no problem while the command was submitted. + +This warning misleads, hence this change. + +Signed-off-by: Shirish S <shirish.s@amd.com> +Acked-by: Huang Rui <ray.huang@amd.com> +Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +index d3444f24647e..e4f4ae99280a 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +@@ -172,7 +172,7 @@ 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 (0x%X) failed and response status is (0x%X)\n", ++ DRM_DEBUG_DRIVER("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) { +-- +2.17.1 + |