diff options
| author | Andrey Grodzovsky <[email protected]> | 2016-12-18 21:16:53 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-01-27 16:13:31 +0000 |
| commit | 3caf861e987a3409deb0a6e0daded2429d4f4750 (patch) | |
| tree | 12e1d228277af8b051a3f349c20ccf04f4909a32 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu/gfx8: fix bugon.cocci warnings (diff) | |
| download | kernel-3caf861e987a3409deb0a6e0daded2429d4f4750.tar.gz kernel-3caf861e987a3409deb0a6e0daded2429d4f4750.zip | |
drm/amdgpu: Switch error code when bo pin fails. (v3)
Switching to -ENOMEM resolves a hang in case the driver
uses this function in atomic code path.
v2: Update commit message.
v3:
Remove forcing -EINVAL in case of amdgpu_bo_pin fail
since there is no apparent reason for not just passing
through the the return value.
Signed-off-by: Andrey Grodzovsky <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by Harry Wentland <[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
