]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc787b795a10f8935fdef47722340bc1804934944
tree7487a788034d14dd2dd499aafc85cb7880d99fcd
parentda79e8196ebfa58457e71ca7dd14edf54962922f
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