OSDN Git Service

amdgpu: add error return value for finding bo by cpu mapping (v2)
authorJunwei Zhang <Jerry.Zhang@amd.com>
Thu, 30 Aug 2018 09:35:40 +0000 (17:35 +0800)
committerChristian König <christian.koenig@amd.com>
Sat, 1 Sep 2018 09:57:34 +0000 (11:57 +0200)
commitf17725108809efaaf139f141808d537d14db3708
tree94157e38cb6f8599c1db3999bce1178a888cb62f
parentf3d90e8db42d8d8a839558c0bc4c368c0107a4b9
amdgpu: add error return value for finding bo by cpu mapping (v2)

If nothing is found, error should be returned.

v2: udpate the error value different from parameter check

Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
amdgpu/amdgpu_bo.c