]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/psp: ignore psp response status
authorAaron Liu <aaron.liu@amd.com>
Mon, 14 Jan 2019 08:08:32 +0000 (16:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commitfc6b7a7f23d4d1ecbaf95d1e1f701daa134c17bc
tree247d7d08f58e5a440d014bf7691fe65ccf8b2787
parent517b6469d428b3e56e17a219f1d1673f29f62eb3
drm/amdgpu/psp: ignore psp response status

In some cases, psp response status is not 0 even there is no
problem while the command is submitted. Some version of PSP FW
doesn't write 0 to that field.
So here we would like to only print a warning instead of an error
during psp initialization to avoid breaking hw_init and it doesn't
return -EINVAL.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Xiangliang Yu<Xiangliang.Yu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Paul Menzel <pmenzel+amd-gfx@molgen.mpg.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c