]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu/psp: silence response status warning
authorShirish S <shirish.s@amd.com>
Tue, 24 Sep 2019 09:15:54 +0000 (14:45 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:01 +0000 (09:11 -0500)
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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index 76c59d5b466f1458e96ac612551c4174685cd1c3..37ffed5e21712d7afe454ae3c5cfe93e95f5d3d7 100644 (file)
@@ -170,7 +170,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) {