drm/ttm: make sure pool pages are cleared
authorChristian König <christian.koenig@amd.com>
Wed, 10 Feb 2021 13:24:27 +0000 (14:24 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 11 Feb 2021 08:35:19 +0000 (09:35 +0100)
commit811ee9dff58072742644da2c07641728f5e078e4
tree0289f4b7a313e23113b5729bcbcf792afd5ab5a2
parent1926a0508d8947cf081280d85ff035300dc71da7
drm/ttm: make sure pool pages are cleared

The old implementation wasn't consistend on this.

But it looks like we depend on this so better bring it back.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-and-tested-by: Mike Galbraith <efault@gmx.de>
Fixes: d099fc8f540a ("drm/ttm: new TT backend allocation pool v3")
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210210160549.1462-1-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_pool.c