aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-02-15 05:20:00 +0000
committerAlex Deucher <[email protected]>2018-02-19 19:20:19 +0000
commit93bab704c1513f824d0e19fd02f8b57b107feceb (patch)
treebc64dfff3d0c51fbdf0319d17e4d56d9a60ada36 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: update the PASID mapping only on demand (diff)
downloadkernel-93bab704c1513f824d0e19fd02f8b57b107feceb.tar.gz
kernel-93bab704c1513f824d0e19fd02f8b57b107feceb.zip
drm/amdgpu_gem: fix error handling path in amdgpu_gem_va_update_vm
Currently, if amdgpu_vm_bo_update() fails, the returned error is being ignored. Fix this by properly checking _r_ after calling amdgpu_vm_bo_update. Also, remove redundant code just before label _error_. Addresses-Coverity-ID: 1464280 ("Unused value") Fixes: 0abc6878fc2d ("drm/amdgpu: update VM PDs after the PTs") Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions