Re: [PATCH 1/2] drm/amdgpu: Switch error code when bo pin fails. (v3)

2017-01-13 Thread Christian König
Am 13.01.2017 um 19:26 schrieb Alex Deucher: From: Andrey Grodzovsky 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

[PATCH 1/2] drm/amdgpu: Switch error code when bo pin fails. (v3)

2017-01-13 Thread Alex Deucher
From: Andrey Grodzovsky 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