aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_validation.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2019-09-19 12:56:15 +0200
committerChristian König <christian.koenig@amd.com>2019-10-25 11:40:50 +0200
commit9165fb879f62a73577867180e890f410f3a239ad (patch)
tree7b437f77168f3c8d7a614a4f019b5dba4446bf0d /drivers/gpu/drm/vmwgfx/vmwgfx_validation.h
parent7fb03cc3e0794f00b8f154f335ad5b4eb4d78c58 (diff)
downloadkernel_replicant_linux-9165fb879f62a73577867180e890f410f3a239ad.tar.gz
kernel_replicant_linux-9165fb879f62a73577867180e890f410f3a239ad.tar.bz2
kernel_replicant_linux-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 <christian.koenig@amd.com> Acked-by: Thomas Hellstrom <thellstrom@vmware.com> Link: https://patchwork.freedesktop.org/patch/332878/
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_validation.h')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_validation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_validation.h b/drivers/gpu/drm/vmwgfx/vmwgfx_validation.h
index 0e063743dd86..71ce4b318850 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_validation.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_validation.h
@@ -170,7 +170,7 @@ vmw_validation_bo_reserve(struct vmw_validation_context *ctx,
bool intr)
{
return ttm_eu_reserve_buffers(&ctx->ticket, &ctx->bo_list, intr,
- NULL, true);
+ NULL);
}
/**