OSDN Git Service

drm/ttm: move default BO destructor into VMWGFX v2
authorChristian König <christian.koenig@amd.com>
Fri, 18 Feb 2022 09:05:40 +0000 (10:05 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 9 May 2022 12:49:50 +0000 (14:49 +0200)
commit3507932390bbfcf7c69dff9843f1c9da6ed4b861
treed4fa2e34a9a6eb79d4066064d1baaeace4b043c7
parentf0eaf60c67738da8aae786bda74a2fffeca6d7cc
drm/ttm: move default BO destructor into VMWGFX v2

It's the only driver using this.

v2: use BUG_ON() in vmw_bo_create() as suggested by Zack

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220329110243.6335-5-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c