drm/amdgpu: add proper error handling to amdgpu_bo_list_get
Otherwise we silently don't use a BO list when the handle is invalid. Signed-off-by:Christian König <christian.koenig@amd.com> Reviewed-by:
Chunming Zhou <david1.zhou@amd.com> Reviewed-by:
Huang Rui <ray.huang@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu.h 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu.h
- drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c 10 additions, 18 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 8 additions, 3 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
Loading
Please register or sign in to comment