aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorShashank Sharma <[email protected]>2023-02-27 15:42:28 +0100
committerAlex Deucher <[email protected]>2023-03-07 14:22:14 -0500
commitc07edf915ece65ce11a765bf4f9f0a1000bb7a33 (patch)
treee0ea5093272735ebbd1364e2c3b4c185417d8e50 /drivers/gpu/drm/amd/include
parentb059cba51979b3431b75e0c6f18e9f75e427537c (diff)
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')
0 files changed, 0 insertions, 0 deletions