]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix buffer object eviction
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 14 Sep 2018 07:24:19 +0000 (09:24 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 20 Sep 2018 06:05:14 +0000 (08:05 +0200)
commit1055c1cd122f33c5d7a8588fb68cbd2ff2a31107
tree59ad96b9531fd1745aa6c78be69f86acff2091b2
parent35bd3ee1a44dad2dd6eb930b50e9944b5e71381f
drm/vmwgfx: Fix buffer object eviction

Commit b047cf532cfe ("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>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c