drm/ttm: warn stricter about freeing pinned BOs
authorChristian König <christian.koenig@amd.com>
Wed, 14 Apr 2021 14:02:16 +0000 (16:02 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 19 Apr 2021 12:20:40 +0000 (14:20 +0200)
commit44292a0f9d755a2a0aaa3b71c4415a077a3bce81
treeff410e6ce085c88806a42b216e7ea1a7ed759005
parente2ac8531564dc319a2d68dd8e5f1fd2cd6d37dcf
drm/ttm: warn stricter about freeing pinned BOs

So far we only warned when the BOs where pinned and not idle.

Also warn if we see a pinned BO in general.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210415084730.2057-3-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo.c