]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: export memory type debug entrypoint.
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:55:41 +0000 (12:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 02:16:39 +0000 (12:16 +1000)
commitdc2f13aa999cc0951dff98ee42e07436d0fd82ff
treea62d2cfbda0a1e6a4ce871faf8c4a886b987a1d8
parente897c15e3664519dc8caef8f54bfc452e8fd9c35
drm/ttm: export memory type debug entrypoint.

As suggested on review, just export the memory type debug for
drivers to use, while also making the debug callback optional
(don't need to test for system as it won't init it).

rename it to be more consistent with object name for now.
(we may rename all the objects later.)

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