diff mbox series

[1/2] drm/ttm: ttm_bo_device is now ttm_device

Message ID 20210812203443.1725307-1-jason@jlekstrand.net (mailing list archive)
State New, archived
Headers show
Series [1/2] drm/ttm: ttm_bo_device is now ttm_device | expand

Commit Message

Jason Ekstrand Aug. 12, 2021, 8:34 p.m. UTC
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")
---
 Documentation/gpu/drm-mm.rst | 2 +-
 include/drm/ttm/ttm_tt.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Christian König Aug. 16, 2021, 12:44 p.m. UTC | #1
Reviewed and pushed to drm-misc-next-fixes.

Thanks,
Christian.

Am 12.08.21 um 22:34 schrieb Jason Ekstrand:
> 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")
> ---
>   Documentation/gpu/drm-mm.rst | 2 +-
>   include/drm/ttm/ttm_tt.h     | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst
> index d5a73fa2c9ef..8126beadc7df 100644
> --- a/Documentation/gpu/drm-mm.rst
> +++ b/Documentation/gpu/drm-mm.rst
> @@ -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
> diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
> index 818680c6a8ed..0d97967bf955 100644
> --- a/include/drm/ttm/ttm_tt.h
> +++ b/include/drm/ttm/ttm_tt.h
> @@ -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;
diff mbox series

Patch

diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst
index d5a73fa2c9ef..8126beadc7df 100644
--- a/Documentation/gpu/drm-mm.rst
+++ b/Documentation/gpu/drm-mm.rst
@@ -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
diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
index 818680c6a8ed..0d97967bf955 100644
--- a/include/drm/ttm/ttm_tt.h
+++ b/include/drm/ttm/ttm_tt.h
@@ -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;