/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf.c | 154 struct vmw_cmdbuf_man *man; member 206 static int vmw_cmdbuf_cur_lock(struct vmw_cmdbuf_man *man, bool interruptible) in vmw_cmdbuf_cur_lock() 223 static void vmw_cmdbuf_cur_unlock(struct vmw_cmdbuf_man *man) in vmw_cmdbuf_cur_unlock() 258 struct vmw_cmdbuf_man *man = header->man; in __vmw_cmdbuf_header_free() local 283 struct vmw_cmdbuf_man *man = header->man; in vmw_cmdbuf_header_free() local 303 struct vmw_cmdbuf_man *man = header->man; in vmw_cmdbuf_header_submit() local 339 static void vmw_cmdbuf_ctx_submit(struct vmw_cmdbuf_man *man, in vmw_cmdbuf_ctx_submit() 377 static void vmw_cmdbuf_ctx_process(struct vmw_cmdbuf_man *man, in vmw_cmdbuf_ctx_process() 434 static void vmw_cmdbuf_man_process(struct vmw_cmdbuf_man *man) in vmw_cmdbuf_man_process() 474 static void vmw_cmdbuf_ctx_add(struct vmw_cmdbuf_man *man, in vmw_cmdbuf_ctx_add() [all …]
|
H A D | vmwgfx_cmdbuf_res.c | 50 struct vmw_cmdbuf_res_manager *man; member 82 vmw_cmdbuf_res_lookup(struct vmw_cmdbuf_res_manager *man, in vmw_cmdbuf_res_lookup() 105 static void vmw_cmdbuf_res_free(struct vmw_cmdbuf_res_manager *man, in vmw_cmdbuf_res_free() 195 int vmw_cmdbuf_res_add(struct vmw_cmdbuf_res_manager *man, in vmw_cmdbuf_res_add() 234 int vmw_cmdbuf_res_remove(struct vmw_cmdbuf_res_manager *man, in vmw_cmdbuf_res_remove() 285 struct vmw_cmdbuf_res_manager *man; in vmw_cmdbuf_res_man_create() local 307 void vmw_cmdbuf_res_man_destroy(struct vmw_cmdbuf_res_manager *man) in vmw_cmdbuf_res_man_destroy()
|
H A D | vmwgfx_system_manager.c | 35 static int vmw_sys_man_alloc(struct ttm_resource_manager *man, in vmw_sys_man_alloc() 48 static void vmw_sys_man_free(struct ttm_resource_manager *man, in vmw_sys_man_free() 63 struct ttm_resource_manager *man = in vmw_sys_man_init() local 80 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, in vmw_sys_man_fini() local
|
H A D | vmwgfx_drv.c | 518 struct vmw_cmdbuf_man *man = dev_priv->cman; in vmw_request_device_late() local 558 struct ttm_resource_manager *man; in vmw_request_device() local 594 struct ttm_resource_manager *man; in vmw_release_device_early() local 1359 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_enable() local 1386 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_disable() local 1405 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_svga_disable() local
|
H A D | vmwgfx_streamoutput.c | 248 vmw_dx_streamoutput_lookup(struct vmw_cmdbuf_res_manager *man, in vmw_dx_streamoutput_lookup() 278 int vmw_dx_streamoutput_add(struct vmw_cmdbuf_res_manager *man, in vmw_dx_streamoutput_add() 339 int vmw_dx_streamoutput_remove(struct vmw_cmdbuf_res_manager *man, in vmw_dx_streamoutput_remove()
|
H A D | vmwgfx_so.c | 310 int vmw_view_add(struct vmw_cmdbuf_res_manager *man, in vmw_view_add() 394 int vmw_view_remove(struct vmw_cmdbuf_res_manager *man, in vmw_view_remove() 476 struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man, in vmw_view_lookup()
|
/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_mock_manager.c | 12 to_mock_mgr(struct ttm_resource_manager *man) in to_mock_mgr() 23 static int ttm_mock_manager_alloc(struct ttm_resource_manager *man, in ttm_mock_manager_alloc() 73 static void ttm_mock_manager_free(struct ttm_resource_manager *man, in ttm_mock_manager_free() 127 struct ttm_resource_manager *man; in ttm_mock_manager_fini() local 148 static int ttm_bad_manager_alloc(struct ttm_resource_manager *man, in ttm_bad_manager_alloc() 156 static int ttm_busy_manager_alloc(struct ttm_resource_manager *man, in ttm_busy_manager_alloc() 164 static void ttm_bad_manager_free(struct ttm_resource_manager *man, in ttm_bad_manager_free() 169 static bool ttm_bad_manager_compatible(struct ttm_resource_manager *man, in ttm_bad_manager_compatible() 191 struct ttm_resource_manager *man; in ttm_bad_manager_init() local 209 struct ttm_resource_manager *man; in ttm_busy_manager_init() local [all …]
|
H A D | ttm_resource_test.c | 66 struct ttm_resource_manager *man; in ttm_init_test_manager() local 114 struct ttm_resource_manager *man; in ttm_resource_init_basic() local 157 struct ttm_resource_manager *man; in ttm_resource_init_pinned() local 187 struct ttm_resource_manager *man; in ttm_resource_fini_basic() local 208 struct ttm_resource_manager *man; in ttm_resource_manager_init_basic() local 232 struct ttm_resource_manager *man; in ttm_resource_manager_usage_basic() local 255 struct ttm_resource_manager *man; in ttm_resource_manager_set_used_basic() local 267 struct ttm_resource_manager *man; in ttm_sys_man_alloc_basic() local 292 struct ttm_resource_manager *man; in ttm_sys_man_free_basic() local
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gtt_mgr.c | 30 to_gtt_mgr(struct ttm_resource_manager *man) in to_gtt_mgr() 49 struct ttm_resource_manager *man; in amdgpu_mem_info_gtt_total_show() local 69 struct ttm_resource_manager *man = &adev->mman.gtt_mgr.manager; in amdgpu_mem_info_gtt_used_show() local 113 static int amdgpu_gtt_mgr_new(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_new() 168 static void amdgpu_gtt_mgr_del(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_del() 215 static bool amdgpu_gtt_mgr_intersects(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_intersects() 233 static bool amdgpu_gtt_mgr_compatible(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_compatible() 249 static void amdgpu_gtt_mgr_debug(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_debug() 278 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_init() local 307 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_fini() local
|
H A D | amdgpu_vram_mgr.c | 44 to_vram_mgr(struct ttm_resource_manager *man) in to_vram_mgr() 141 struct ttm_resource_manager *man = &adev->mman.vram_mgr.manager; in amdgpu_mem_info_vram_used_show() local 295 static void amdgpu_vram_mgr_do_reserve(struct ttm_resource_manager *man) in amdgpu_vram_mgr_do_reserve() 399 static void amdgpu_dummy_vram_mgr_debug(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_debug() 405 static bool amdgpu_dummy_vram_mgr_compatible(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_compatible() 414 static bool amdgpu_dummy_vram_mgr_intersects(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_intersects() 423 static void amdgpu_dummy_vram_mgr_del(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_del() 429 static int amdgpu_dummy_vram_mgr_new(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_new() 448 static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man, in amdgpu_vram_mgr_new() 637 static void amdgpu_vram_mgr_del(struct ttm_resource_manager *man, in amdgpu_vram_mgr_del() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ttm.c | 39 nouveau_manager_del(struct ttm_resource_manager *man, in nouveau_manager_del() 46 nouveau_manager_intersects(struct ttm_resource_manager *man, in nouveau_manager_intersects() 55 nouveau_manager_compatible(struct ttm_resource_manager *man, in nouveau_manager_compatible() 64 nouveau_vram_manager_new(struct ttm_resource_manager *man, in nouveau_vram_manager_new() 99 nouveau_gart_manager_new(struct ttm_resource_manager *man, in nouveau_gart_manager_new() 125 nv04_gart_manager_new(struct ttm_resource_manager *man, in nv04_gart_manager_new() 184 struct ttm_resource_manager *man = kzalloc(sizeof(*man), GFP_KERNEL); in nouveau_ttm_init_vram() local 205 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini_vram() local 220 struct ttm_resource_manager *man; in nouveau_ttm_init_gtt() local 247 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt() local
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_ttm_buddy_manager.c | 29 to_buddy_manager(struct ttm_resource_manager *man) in to_buddy_manager() 34 static int i915_ttm_buddy_man_alloc(struct ttm_resource_manager *man, in i915_ttm_buddy_man_alloc() 137 static void i915_ttm_buddy_man_free(struct ttm_resource_manager *man, in i915_ttm_buddy_man_free() 152 static bool i915_ttm_buddy_man_intersects(struct ttm_resource_manager *man, in i915_ttm_buddy_man_intersects() 190 static bool i915_ttm_buddy_man_compatible(struct ttm_resource_manager *man, in i915_ttm_buddy_man_compatible() 223 static void i915_ttm_buddy_man_debug(struct ttm_resource_manager *man, in i915_ttm_buddy_man_debug() 288 struct ttm_resource_manager *man; in i915_ttm_buddy_man_init() local 334 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in i915_ttm_buddy_man_fini() local 370 int i915_ttm_buddy_man_reserve(struct ttm_resource_manager *man, in i915_ttm_buddy_man_reserve() 405 u64 i915_ttm_buddy_man_visible_size(struct ttm_resource_manager *man) in i915_ttm_buddy_man_visible_size() [all …]
|
H A D | intel_region_ttm.c | 110 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_fini() local 203 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_alloc() local 258 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_free() local
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_resource.c | 145 struct ttm_resource_manager *man; in ttm_lru_bulk_move_tail() local 287 struct ttm_resource_manager *man; in ttm_resource_move_to_lru_tail() local 306 struct ttm_resource_manager *man; in ttm_resource_init() local 339 void ttm_resource_fini(struct ttm_resource_manager *man, in ttm_resource_fini() 355 struct ttm_resource_manager *man = in ttm_resource_alloc() local 372 struct ttm_resource_manager *man; in ttm_resource_free() local 404 struct ttm_resource_manager *man; in ttm_resource_intersects() local 438 struct ttm_resource_manager *man; in ttm_resource_compatible() local 478 void ttm_resource_manager_init(struct ttm_resource_manager *man, in ttm_resource_manager_init() 505 struct ttm_resource_manager *man) in ttm_resource_manager_evict_all() [all …]
|
H A D | ttm_range_manager.c | 53 to_range_manager(struct ttm_resource_manager *man) in to_range_manager() 58 static int ttm_range_man_alloc(struct ttm_resource_manager *man, in ttm_range_man_alloc() 102 static void ttm_range_man_free(struct ttm_resource_manager *man, in ttm_range_man_free() 116 static bool ttm_range_man_intersects(struct ttm_resource_manager *man, in ttm_range_man_intersects() 132 static bool ttm_range_man_compatible(struct ttm_resource_manager *man, in ttm_range_man_compatible() 147 static void ttm_range_man_debug(struct ttm_resource_manager *man, in ttm_range_man_debug() 182 struct ttm_resource_manager *man; in ttm_range_man_init_nocheck() local 217 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini_nocheck() local
|
H A D | ttm_sys_manager.c | 10 static int ttm_sys_man_alloc(struct ttm_resource_manager *man, in ttm_sys_man_alloc() 23 static void ttm_sys_man_free(struct ttm_resource_manager *man, in ttm_sys_man_free() 37 struct ttm_resource_manager *man = &bdev->sysman; in ttm_sys_man_init() local
|
H A D | ttm_device.c | 151 struct ttm_resource_manager *man; in ttm_device_swapout() local 231 struct ttm_resource_manager *man; in ttm_device_fini() local 283 struct ttm_resource_manager *man; in ttm_device_clear_dma_mappings() local
|
H A D | ttm_bo.c | 53 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() local 443 int ttm_bo_evict_first(struct ttm_device *bdev, struct ttm_resource_manager *man, in ttm_bo_evict_first() 543 struct ttm_resource_manager *man, in ttm_bo_evict_alloc() 630 struct ttm_resource_manager *man, in ttm_bo_add_move_fence() 692 struct ttm_resource_manager *man; in ttm_bo_alloc_resource() local 1172 struct ttm_resource_manager *man, gfp_t gfp_flags, in ttm_bo_swapout()
|
H A D | ttm_bo_util.c | 293 struct ttm_resource_manager *man; in ttm_io_prot() local 346 struct ttm_resource_manager *man = in ttm_bo_kmap_ttm() local 659 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup() local 692 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_sync_cleanup() local 860 struct ttm_resource_manager *man, s64 target) in ttm_lru_walk_for_evict()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_ttm_vram_mgr.c | 47 static int xe_ttm_vram_mgr_new(struct ttm_resource_manager *man, in xe_ttm_vram_mgr_new() 208 static void xe_ttm_vram_mgr_del(struct ttm_resource_manager *man, in xe_ttm_vram_mgr_del() 226 static void xe_ttm_vram_mgr_debug(struct ttm_resource_manager *man, in xe_ttm_vram_mgr_debug() 245 static bool xe_ttm_vram_mgr_intersects(struct ttm_resource_manager *man, in xe_ttm_vram_mgr_intersects() 275 static bool xe_ttm_vram_mgr_compatible(struct ttm_resource_manager *man, in xe_ttm_vram_mgr_compatible() 317 struct ttm_resource_manager *man = &mgr->manager; in ttm_vram_mgr_fini() local 339 struct ttm_resource_manager *man = &mgr->manager; in __xe_ttm_vram_mgr_init() local 464 u64 xe_ttm_vram_get_cpu_visible_size(struct ttm_resource_manager *man) in xe_ttm_vram_get_cpu_visible_size() 471 void xe_ttm_vram_get_used(struct ttm_resource_manager *man, in xe_ttm_vram_get_used() 482 u64 xe_ttm_vram_get_avail(struct ttm_resource_manager *man) in xe_ttm_vram_get_avail()
|
H A D | xe_ttm_sys_mgr.c | 29 static int xe_ttm_sys_mgr_new(struct ttm_resource_manager *man, in xe_ttm_sys_mgr_new() 64 static void xe_ttm_sys_mgr_del(struct ttm_resource_manager *man, in xe_ttm_sys_mgr_del() 73 static void xe_ttm_sys_mgr_debug(struct ttm_resource_manager *man, in xe_ttm_sys_mgr_debug() 91 struct ttm_resource_manager *man = &xe->mem.sys_mgr; in ttm_sys_mgr_fini() local 106 struct ttm_resource_manager *man = &xe->mem.sys_mgr; in xe_ttm_sys_mgr_init() local
|
H A D | xe_ttm_vram_mgr.h | 40 to_xe_ttm_vram_mgr(struct ttm_resource_manager *man) in to_xe_ttm_vram_mgr()
|
/linux/include/drm/ttm/ |
H A D | ttm_resource.h | 320 struct ttm_resource_manager *man; member 379 ttm_resource_manager_set_used(struct ttm_resource_manager *man, bool used) in ttm_resource_manager_set_used() 397 static inline bool ttm_resource_manager_used(struct ttm_resource_manager *man) in ttm_resource_manager_used() 410 ttm_resource_manager_cleanup(struct ttm_resource_manager *man) in ttm_resource_manager_cleanup() 475 #define ttm_resource_manager_for_each_res(man, cursor, res) \ argument
|
/linux/sound/soc/intel/avs/ |
H A D | loader.c | 72 struct avs_fw_ext_manifest *man; in avs_fw_ext_manifest_strip() local 104 struct avs_fw_manifest *man; in avs_fw_manifest_strip_verify() local 498 struct avs_fw_manifest *man; in avs_dsp_load_libraries() local
|
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_object.c | 406 struct ttm_resource_manager *man; in qxl_surf_evict() local 414 struct ttm_resource_manager *man; in qxl_vram_evict() local
|