OSDN Git Service

drm/ttm: make some inline helper functions for cleanup paths. (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:55:58 +0000 (12:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 02:32:03 +0000 (12:32 +1000)
commit4265accbfc724a68894f91737e765e2cce43fe4e
tree166cae096a550ce8dd76d97ec18bc47035a35b05
parenta006a3ce8efc9e8276d0f0193c04f2efb0e28135
drm/ttm: make some inline helper functions for cleanup paths. (v2)

The disable path is just temporary for now, it will be dropped once has_type
is gone in a later patch.

v2: add docs.
rename to ttm_mem_type_manager namespace

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-26-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_driver.h