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_vram_mgr

- Correct copyright year from "2002" to "2022".
- Rename ttm_vram_mgr_fini() to xe_ttm_vram_mgr_fini() to avoid
confusion with generic TTM helpers.

No functional changes intended.

Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Link: https://lore.kernel.org/r/20251004000425.2489291-2-shuicheng.lin@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Shuicheng Lin and committed by
Rodrigo Vivi
a908de69 8462d16d

+3 -3
+3 -3
drivers/gpu/drm/xe/xe_ttm_vram_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 <drm/drm_managed.h> ··· 284 284 .debug = xe_ttm_vram_mgr_debug 285 285 }; 286 286 287 - static void ttm_vram_mgr_fini(struct drm_device *dev, void *arg) 287 + static void xe_ttm_vram_mgr_fini(struct drm_device *dev, void *arg) 288 288 { 289 289 struct xe_device *xe = to_xe_device(dev); 290 290 struct xe_ttm_vram_mgr *mgr = arg; ··· 335 335 ttm_set_driver_manager(&xe->ttm, mem_type, &mgr->manager); 336 336 ttm_resource_manager_set_used(&mgr->manager, true); 337 337 338 - return drmm_add_action_or_reset(&xe->drm, ttm_vram_mgr_fini, mgr); 338 + return drmm_add_action_or_reset(&xe->drm, xe_ttm_vram_mgr_fini, mgr); 339 339 } 340 340 341 341 /**