]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/ttm: Balance ttm_resource_cursor_init() and ttm_resource_cursor_fini()
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 17 Dec 2024 14:58:44 +0000 (15:58 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 13 Jan 2025 11:58:10 +0000 (12:58 +0100)
commit1f463794097dcdf4c64fffd31de2177681525e35
treed8e818f6d6f4b8515579cc8708e43c8860be1484
parent57e233c3bd63f32d2c7e937db2e16b98f723ce2f
drm/ttm: Balance ttm_resource_cursor_init() and ttm_resource_cursor_fini()

Make the interface more symmetric by providing and using a
ttm_resource_cursor_init().

v10:
- Fix a stray newline (Matthew Brost)
- Update kerneldoc (Matthew Brost)

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217145852.37342-2-thomas.hellstrom@linux.intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_resource.c
include/drm/ttm/ttm_resource.h