Skip to content

Commit e71cf59

Browse files
committed
drm/vmwgfx: Fix buffer object eviction
Commit 19be557 ("drm/ttm: add operation ctx to ttm_bo_validate v2") introduced a regression where the vmwgfx driver refused to evict a buffer that was still busy instead of waiting for it to become idle. Fix this. Cc: <stable@vger.kernel.org> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Christian König <christian.koenig@amd.com>
1 parent a4bd815 commit e71cf59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3729,7 +3729,7 @@ int vmw_validate_single_buffer(struct vmw_private *dev_priv,
37293729
{
37303730
struct vmw_buffer_object *vbo =
37313731
container_of(bo, struct vmw_buffer_object, base);
3732-
struct ttm_operation_ctx ctx = { interruptible, true };
3732+
struct ttm_operation_ctx ctx = { interruptible, false };
37333733
int ret;
37343734

37353735
if (vbo->pin_count > 0)

0 commit comments

Comments
 (0)