amdgpu: add error return value for finding bo by cpu mapping (v2)

Graphics / Mesa 3D Graphics Library / libdrm - Junwei Zhang [amd.com] - 1 September 2018 09:57 EDT

If nothing is found, error should be returned.

v2: udpate the error value different from parameter check

f1772510 amdgpu: add error return value for finding bo by cpu mapping (v2)
amdgpu/amdgpu_bo.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share