]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e38d79ce384a69e925e33a7780c6be0c083d276
tree0b187bef0c4afa1ebf2dd07f089aff882cc3432d
parent7a5f43110b5069ef30e7249a92cead53f2b99e57
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