diff options
| author | Shashank Sharma <[email protected]> | 2023-02-27 14:42:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-07 19:22:14 +0000 |
| commit | c07edf915ece65ce11a765bf4f9f0a1000bb7a33 (patch) | |
| tree | e0ea5093272735ebbd1364e2c3b4c185417d8e50 /drivers/gpu/drm/amd/include/kgd_pp_interface.h | |
| parent | drm/amdgpu: simplify amdgpu_uvd_send_msg (diff) | |
| download | kernel-c07edf915ece65ce11a765bf4f9f0a1000bb7a33.tar.gz kernel-c07edf915ece65ce11a765bf4f9f0a1000bb7a33.zip | |
drm/amdgpu: fix return value check in kfd
This patch fixes a return value check in kfd doorbell handling.
This function should return 0(error) only when the ida_simple_get
returns < 0(error), return > 0 is a success case.
Cc: Felix Kuehling <[email protected]>
Cc: Alex Deucher <[email protected]>
Fixes: 16f0013157bf ("drm/amdkfd: Allocate doorbells only when needed")
Acked-by: Christian Koenig <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Shashank Sharma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/kgd_pp_interface.h')
0 files changed, 0 insertions, 0 deletions
