]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/ttm: ttm_bo_device is now ttm_device
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 12 Aug 2021 20:34:42 +0000 (15:34 -0500)
committerChristian König <christian.koenig@amd.com>
Mon, 16 Aug 2021 12:43:12 +0000 (14:43 +0200)
These names were changed in

commit 8af8a109b34fa88b8b91f25d11485b37d37549c3
Author: Christian König <christian.koenig@amd.com>
Date:   Thu Oct 1 14:51:40 2020 +0200

    drm/ttm: device naming cleanup

But he missed a couple of them.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: Christian König <christian.koenig@amd.com>
Fixes: 8af8a109b34f ("drm/ttm: device naming cleanup")
Link: https://patchwork.freedesktop.org/patch/msgid/20210812203443.1725307-1-jason@jlekstrand.net
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Documentation/gpu/drm-mm.rst
include/drm/ttm/ttm_tt.h

index d5a73fa2c9ef4e17da875a781fb46379aa819ce3..8126beadc7df4789a7f4beb610e3c289db48c047 100644 (file)
@@ -37,7 +37,7 @@ TTM initialization
     This section is outdated.
 
 Drivers wishing to support TTM must pass a filled :c:type:`ttm_bo_driver
-<ttm_bo_driver>` structure to ttm_bo_device_init, together with an
+<ttm_bo_driver>` structure to ttm_device_init, together with an
 initialized global reference to the memory manager.  The ttm_bo_driver
 structure contains several fields with function pointers for
 initializing the TTM, allocating and freeing memory, waiting for command
index 818680c6a8ed947d8a50fc87028fc4e9b39e80b3..0d97967bf9558b997043fa4a6d76d64609f74101 100644 (file)
@@ -31,7 +31,7 @@
 #include <drm/ttm/ttm_caching.h>
 #include <drm/ttm/ttm_kmap_iter.h>
 
-struct ttm_bo_device;
+struct ttm_device;
 struct ttm_tt;
 struct ttm_resource;
 struct ttm_buffer_object;