diff options
| author | Christian König <[email protected]> | 2019-09-19 10:56:15 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2019-10-25 09:40:50 +0000 |
| commit | 9165fb879f62a73577867180e890f410f3a239ad (patch) | |
| tree | 7b437f77168f3c8d7a614a4f019b5dba4446bf0d /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/ttm, drm/vmwgfx: move cpu_writers handling into vmwgfx (diff) | |
| download | kernel-9165fb879f62a73577867180e890f410f3a239ad.tar.gz kernel-9165fb879f62a73577867180e890f410f3a239ad.zip | |
drm/ttm: always keep BOs on the LRU
This allows blocking for BOs to become available
in the memory management.
Amdgpu is doing this for quite a while now during CS. Now
apply the new behavior to all drivers using TTM.
Signed-off-by: Christian König <[email protected]>
Acked-by: Thomas Hellstrom <[email protected]>
Link: https://patchwork.freedesktop.org/patch/332878/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 2e53feed40e2..253158fc378f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -650,7 +650,7 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p, } r = ttm_eu_reserve_buffers(&p->ticket, &p->validated, true, - &duplicates, false); + &duplicates); if (unlikely(r != 0)) { if (r != -ERESTARTSYS) DRM_ERROR("ttm_eu_reserve_buffers failed.\n"); |
