diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2025-06-02 10:25:14 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-24 17:04:19 +0300 |
commit | 8345a71fc54b28e4d13a759c45ce2664d8540d28 (patch) | |
tree | 90fad9173e8273b4fbf006953af3196f4f775dd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
parent | 5562b669928af29d44cc0471632641f7b88c6c88 (diff) | |
download | linux-8345a71fc54b28e4d13a759c45ce2664d8540d28.tar.xz |
drm/amdgpu: Add more checks to PSP mailbox
Instead of checking the response flag, use status mask also to check
against any unexpected failures like a device drop. Also, log error if
waiting on a psp response fails/times out.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions