]> 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)
commit758ad723128d31d4c02b23ad96cc2b50fb7e4565
treea62d2cfbda0a1e6a4ce871faf8c4a886b987a1d8
parentc410053803f64c8182c7a4d30efd19f4fecfaf68
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