drm/ttm: return -EBUSY on pipelining with no_gpu_wait (v2)
authorChristian König <christian.koenig@amd.com>
Mon, 16 Sep 2019 15:20:47 +0000 (10:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:42:32 +0000 (10:42 -0500)
commit3084cf46cf8110826a42de8c8ef30e8fa48974c2
tree6c58dcb0b0c691cd3defb78f78dceb8bf7c29bcb
parent6817bf283b2b851095825ec7f0e9f10398e09125
drm/ttm: return -EBUSY on pipelining with no_gpu_wait (v2)

Setting the no_gpu_wait flag means that the allocate BO must be available
immediately and we can't wait for any GPU operation to finish.

v2: squash in mem leak fix, rebase

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c