OSDN Git Service

drm/ttm: add a wrapper for checking if manager is in use
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:56:29 +0000 (12:56 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 03:12:40 +0000 (13:12 +1000)
commit3f48f938ad21a1ab1cec5631af3e468baabe41c8
treed87c9eabc5e20c84070423ebac5ee0683ec34c55
parent90a0489a718b87bc0674792f9eafac007e0ea3d6
drm/ttm: add a wrapper for checking if manager is in use

This converts vmwgfx over to using an interface to set the
in use and check the in use flag.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-57-airlied@gmail.com
drivers/gpu/drm/nouveau/nouveau_ttm.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/ttm/ttm_bo_driver.h