Skip to content

Commit bd4dada

Browse files
gfxstrandChristianKoenigAMD
authored andcommitted
drm/ttm: ttm_bo_device is now ttm_device
These names were changed in commit 8af8a10 Author: Christian König <[email protected]> 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 <[email protected]> Cc: Christian König <[email protected]> Fixes: 8af8a10 ("drm/ttm: device naming cleanup") Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Christian König <[email protected]> Signed-off-by: Christian König <[email protected]>
1 parent 2819cf0 commit bd4dada

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/gpu/drm-mm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ TTM initialization
3737
This section is outdated.
3838

3939
Drivers wishing to support TTM must pass a filled :c:type:`ttm_bo_driver
40-
<ttm_bo_driver>` structure to ttm_bo_device_init, together with an
40+
<ttm_bo_driver>` structure to ttm_device_init, together with an
4141
initialized global reference to the memory manager. The ttm_bo_driver
4242
structure contains several fields with function pointers for
4343
initializing the TTM, allocating and freeing memory, waiting for command

include/drm/ttm/ttm_tt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <drm/ttm/ttm_caching.h>
3232
#include <drm/ttm/ttm_kmap_iter.h>
3333

34-
struct ttm_bo_device;
34+
struct ttm_device;
3535
struct ttm_tt;
3636
struct ttm_resource;
3737
struct ttm_buffer_object;

0 commit comments

Comments
 (0)