summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-06-02 10:25:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-06-24 17:04:19 +0300
commit8345a71fc54b28e4d13a759c45ce2664d8540d28 (patch)
tree90fad9173e8273b4fbf006953af3196f4f775dd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parent5562b669928af29d44cc0471632641f7b88c6c88 (diff)
downloadlinux-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