drm/amdgpu: set allow_reserved_eviction and resv when bo allocation and cs
authorRoger He <Hongbo.He@amd.com>
Fri, 8 Dec 2017 05:31:52 +0000 (13:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Dec 2017 22:10:54 +0000 (17:10 -0500)
commit9251859a9adb8e5906402acc9d705149d937bf8b
tree0b187bef0c4afa1ebf2dd07f089aff882cc3432d
parent8836e4b8d3a04a5097a83c5f9b25662fa6a9ebbc
drm/amdgpu: set allow_reserved_eviction and resv when bo allocation and cs

enable eviction of other per VM BOs during allocation and allows
reaping of deleted BOs during CS.

Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c