drm/ttm: split the mm manager init code (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:55:46 +0000 (12:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 02:31:29 +0000 (12:31 +1000)
commit747074bb04b5a6be8e562d06b5a312d6ddb253d0
tree7487a788034d14dd2dd499aafc85cb7880d99fcd
parente22054debc079ed1c9db7561b8efda43a078fbe0
drm/ttm: split the mm manager init code (v2)

This will allow the driver to control the ordering here better.

Eventually the old path will be removed.

v2: add docs for new APIs.
rename new path to ttm_mem_type_manager_init/set_used(for now)

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