OSDN Git Service

drm/ttm: audit bo->resource usage v2
authorChristian König <christian.koenig@amd.com>
Thu, 17 Feb 2022 09:43:16 +0000 (10:43 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 11 Jul 2022 09:00:25 +0000 (11:00 +0200)
commit4d8f68548e982e2c9b9ca3b47aea49c47da93a3d
tree6336b649c761a8fc15a749a98f44dcb4986b034d
parent64e257f187a5c76ec5766f50204462c0c483e418
drm/ttm: audit bo->resource usage v2

Allow BOs to exist without backing store.

v2: handle ttm_bo_move_memcpy as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220707102453.3633-5-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c