[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.56.1.el8_10.x86_64
/
include
/
drm
/
ttm
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 ttm_bo.h
14,247 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_caching.h
1,815 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_device.h
8,624 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_execbuf_util.h
4,524 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_kmap_iter.h
1,882 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_placement.h
3,487 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_pool.h
2,877 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_range_manager.h
1,521 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_resource.h
12,893 B
SET
[ EDIT ]
|
[ DEL ]
📄 ttm_tt.h
7,998 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: ttm_range_manager.h
/* SPDX-License-Identifier: GPL-2.0 OR MIT */ #ifndef _TTM_RANGE_MANAGER_H_ #define _TTM_RANGE_MANAGER_H_ #include <drm/ttm/ttm_resource.h> #include <drm/ttm/ttm_device.h> #include <drm/drm_mm.h> /** * struct ttm_range_mgr_node * * @base: base clase we extend * @mm_nodes: MM nodes, usually 1 * * Extending the ttm_resource object to manage an address space allocation with * one or more drm_mm_nodes. */ struct ttm_range_mgr_node { struct ttm_resource base; struct drm_mm_node mm_nodes[]; }; /** * to_ttm_range_mgr_node * * @res: the resource to upcast * * Upcast the ttm_resource object into a ttm_range_mgr_node object. */ static inline struct ttm_range_mgr_node * to_ttm_range_mgr_node(struct ttm_resource *res) { return container_of(res, struct ttm_range_mgr_node, base); } int ttm_range_man_init_nocheck(struct ttm_device *bdev, unsigned type, bool use_tt, unsigned long p_size); int ttm_range_man_fini_nocheck(struct ttm_device *bdev, unsigned type); static __always_inline int ttm_range_man_init(struct ttm_device *bdev, unsigned int type, bool use_tt, unsigned long p_size) { BUILD_BUG_ON(__builtin_constant_p(type) && type >= TTM_NUM_MEM_TYPES); return ttm_range_man_init_nocheck(bdev, type, use_tt, p_size); } static __always_inline int ttm_range_man_fini(struct ttm_device *bdev, unsigned int type) { BUILD_BUG_ON(__builtin_constant_p(type) && type >= TTM_NUM_MEM_TYPES); return ttm_range_man_fini_nocheck(bdev, type); } #endif