Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe: Fix copyright and function naming in xe_ttm_sys_mgr

- Correct Red Hat copyright year from "2002" to "2022".
- Rename ttm_sys_mgr_fini() to xe_ttm_sys_mgr_fini() to avoid
confusion with generic TTM helpers.

No functional changes intended.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Link: https://lore.kernel.org/r/20251009230239.2830207-6-shuicheng.lin@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Shuicheng Lin and committed by
Rodrigo Vivi
f85d4062 4cbc0864

+3 -3
+3 -3
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
··· 1 1 // SPDX-License-Identifier: MIT 2 2 /* 3 3 * Copyright © 2021-2022 Intel Corporation 4 - * Copyright (C) 2021-2002 Red Hat 4 + * Copyright (C) 2021-2022 Red Hat 5 5 */ 6 6 7 7 #include "xe_ttm_sys_mgr.h" ··· 85 85 .debug = xe_ttm_sys_mgr_debug 86 86 }; 87 87 88 - static void ttm_sys_mgr_fini(struct drm_device *drm, void *arg) 88 + static void xe_ttm_sys_mgr_fini(struct drm_device *drm, void *arg) 89 89 { 90 90 struct xe_device *xe = (struct xe_device *)arg; 91 91 struct ttm_resource_manager *man = &xe->mem.sys_mgr; ··· 116 116 ttm_resource_manager_init(man, &xe->ttm, gtt_size >> PAGE_SHIFT); 117 117 ttm_set_driver_manager(&xe->ttm, XE_PL_TT, man); 118 118 ttm_resource_manager_set_used(man, true); 119 - return drmm_add_action_or_reset(&xe->drm, ttm_sys_mgr_fini, xe); 119 + return drmm_add_action_or_reset(&xe->drm, xe_ttm_sys_mgr_fini, xe); 120 120 }