drm/ttm: fix pipelined gutting for evictions v2
authorChristian König <christian.koenig@amd.com>
Thu, 23 Jul 2020 08:58:12 +0000 (10:58 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 28 Jul 2020 11:54:15 +0000 (13:54 +0200)
commitd59bc6324208e427d141826d26408b193d522244
tree7bdd9dc48c7fc748eb69c1607c5a187d47f2c257
parent7427a7a0b3b8f66ea45472a9a37b79689ed8c3b3
drm/ttm: fix pipelined gutting for evictions v2

We can't pipeline that during eviction because the memory needs
to be available immediately.

v2: fix how we cleanup the BOs resources

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Tested-by: Alex Sierra <alex.sierra@amd.com>
Link: https://patchwork.freedesktop.org/patch/379039/
drivers/gpu/drm/ttm/ttm_bo.c