mman 875 drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_mman mman; mman 1026 drivers/gpu/drm/amd/amdgpu/amdgpu.h return container_of(bdev, struct amdgpu_device, mman.bdev); mman 562 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c return amdgpu_vram_mgr_usage(&adev->mman.bdev.man[TTM_PL_VRAM]); mman 123 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c acc_size = ttm_bo_dma_acc_size(&adev->mman.bdev, size, mman 167 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c acc_size = ttm_bo_dma_acc_size(&adev->mman.bdev, size, mman 41 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; mman 129 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c if (adev->mman.buffer_funcs) { mman 317 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c used_vram = amdgpu_vram_mgr_usage(&adev->mman.bdev.man[TTM_PL_VRAM]); mman 364 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_vram_mgr_vis_usage(&adev->mman.bdev.man[TTM_PL_VRAM]); mman 921 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c seq_printf(m, "(%d)\n", ttm_bo_evict_mm(&adev->mman.bdev, TTM_PL_TT)); mman 1050 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c resched = ttm_bo_lock_delayed_workqueue(&adev->mman.bdev); mman 1088 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c ttm_bo_unlock_delayed_workqueue(&adev->mman.bdev, resched); mman 2593 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->mman.buffer_funcs = NULL; mman 2594 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->mman.buffer_funcs_ring = NULL; mman 3475 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_gtt_mgr_recover(&adev->mman.bdev.man[TTM_PL_TT]); mman 3664 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c &tmp_adev->mman.bdev.man[TTM_PL_TT]); mman 133 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c ret = ttm_bo_mmap(vma->vm_file, vma, &adev->mman.bdev); mman 74 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c struct page *dummy_page = adev->mman.bdev.glob->dummy_read_page; mman 762 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (adev->mman.buffer_funcs_enabled) mman 53 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c (adev->mman.bdev.man[TTM_PL_TT].size) * PAGE_SIZE); mman 71 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_gtt_mgr_usage(&adev->mman.bdev.man[TTM_PL_TT])); mman 563 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c ui64 = amdgpu_vram_mgr_usage(&adev->mman.bdev.man[TTM_PL_VRAM]); mman 566 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c ui64 = amdgpu_vram_mgr_vis_usage(&adev->mman.bdev.man[TTM_PL_VRAM]); mman 569 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c ui64 = amdgpu_gtt_mgr_usage(&adev->mman.bdev.man[TTM_PL_TT]); mman 589 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c vram_gtt.gtt_size = adev->mman.bdev.man[TTM_PL_TT].size; mman 603 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_vram_mgr_usage(&adev->mman.bdev.man[TTM_PL_VRAM]); mman 611 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_vram_mgr_vis_usage(&adev->mman.bdev.man[TTM_PL_VRAM]); mman 615 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.gtt.total_heap_size = adev->mman.bdev.man[TTM_PL_TT].size; mman 620 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_gtt_mgr_usage(&adev->mman.bdev.man[TTM_PL_TT]); mman 448 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c man = &adev->mman.bdev.man[TTM_PL_TT]; mman 457 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c man = &adev->mman.bdev.man[TTM_PL_VRAM]; mman 545 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c acc_size = ttm_bo_dma_acc_size(&adev->mman.bdev, size, mman 566 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c bo->tbo.bdev = &adev->mman.bdev; mman 575 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c r = ttm_bo_init_reserved(&adev->mman.bdev, &bo->tbo, size, bp->type, mman 744 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; mman 1038 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c return ttm_bo_evict_mm(&adev->mman.bdev, TTM_PL_VRAM); mman 100 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h #define amdgpu_emit_copy_buffer(adev, ib, s, d, b) (adev)->mman.buffer_funcs->emit_copy_buffer((ib), (s), (d), (b)) mman 101 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h #define amdgpu_emit_fill_buffer(adev, ib, s, d, b) (adev)->mman.buffer_funcs->emit_fill_buffer((ib), (s), (d), (b)) mman 34 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; mman 252 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c if (adev->mman.buffer_funcs) mman 178 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!adev->mman.buffer_funcs_enabled) { mman 310 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; mman 319 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!adev->mman.buffer_funcs_enabled) { mman 336 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c mutex_lock(&adev->mman.gtt_window_lock); mman 412 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c mutex_unlock(&adev->mman.gtt_window_lock); mman 656 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!adev->mman.buffer_funcs_enabled) { mman 733 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (adev->mman.aper_base_kaddr && mman 735 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c mem->bus.addr = (u8 *)adev->mman.aper_base_kaddr + mman 1677 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c mutex_init(&adev->mman.gtt_window_lock); mman 1680 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_device_init(&adev->mman.bdev, mman 1688 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.initialized = true; mman 1691 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.bdev.no_retry = true; mman 1694 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_init_mm(&adev->mman.bdev, TTM_PL_VRAM, mman 1710 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.aper_base_kaddr = ioremap_wc(adev->gmc.aper_base, mman 1764 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_init_mm(&adev->mman.bdev, TTM_PL_TT, gtt_size >> PAGE_SHIFT); mman 1773 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_init_mm(&adev->mman.bdev, AMDGPU_PL_GDS, mman 1780 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_init_mm(&adev->mman.bdev, AMDGPU_PL_GWS, mman 1787 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_init_mm(&adev->mman.bdev, AMDGPU_PL_OA, mman 1821 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!adev->mman.initialized) mman 1826 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (adev->mman.aper_base_kaddr) mman 1827 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c iounmap(adev->mman.aper_base_kaddr); mman 1828 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.aper_base_kaddr = NULL; mman 1830 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_clean_mm(&adev->mman.bdev, TTM_PL_VRAM); mman 1831 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_clean_mm(&adev->mman.bdev, TTM_PL_TT); mman 1832 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_clean_mm(&adev->mman.bdev, AMDGPU_PL_GDS); mman 1833 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_clean_mm(&adev->mman.bdev, AMDGPU_PL_GWS); mman 1834 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_clean_mm(&adev->mman.bdev, AMDGPU_PL_OA); mman 1835 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_device_release(&adev->mman.bdev); mman 1836 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.initialized = false; mman 1851 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_type_manager *man = &adev->mman.bdev.man[TTM_PL_VRAM]; mman 1855 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!adev->mman.initialized || adev->in_gpu_reset || mman 1856 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.buffer_funcs_enabled == enable) mman 1863 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ring = adev->mman.buffer_funcs_ring; mman 1865 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = drm_sched_entity_init(&adev->mman.entity, &rq, 1, NULL); mman 1872 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drm_sched_entity_destroy(&adev->mman.entity); mman 1883 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.buffer_funcs_enabled = enable; mman 1894 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return ttm_bo_mmap(filp, vma, &adev->mman.bdev); mman 1914 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c BUG_ON(adev->mman.buffer_funcs->copy_max_bytes < mman 1921 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c num_dw = adev->mman.buffer_funcs->copy_num_dw; mman 1949 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_job_submit(job, &adev->mman.entity, mman 1982 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c max_bytes = adev->mman.buffer_funcs->copy_max_bytes; mman 1984 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c num_dw = num_loops * adev->mman.buffer_funcs->copy_num_dw; mman 2024 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_job_submit(job, &adev->mman.entity, mman 2043 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c uint32_t max_bytes = adev->mman.buffer_funcs->fill_max_bytes; mman 2044 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; mman 2053 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!adev->mman.buffer_funcs_enabled) { mman 2074 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c num_dw = num_loops * adev->mman.buffer_funcs->fill_num_dw; mman 2117 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_job_submit(job, &adev->mman.entity, mman 2137 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_type_manager *man = &adev->mman.bdev.man[ttm_pl]; mman 2342 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (p->mapping != adev->mman.bdev.dev_mapping) mman 2393 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (p->mapping != adev->mman.bdev.dev_mapping) mman 2451 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->mman.debugfs_entries[count] = ent; mman 2473 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c debugfs_remove(adev->mman.debugfs_entries[i]); mman 603 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct ttm_bo_global *glob = adev->mman.bdev.glob; mman 83 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_usage(&adev->mman.bdev.man[TTM_PL_VRAM])); mman 101 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_vis_usage(&adev->mman.bdev.man[TTM_PL_VRAM])); mman 313 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if ((adev->mman.buffer_funcs_ring == sdma0) || mman 314 drivers/gpu/drm/amd/amdgpu/cik_sdma.c (adev->mman.buffer_funcs_ring == sdma1)) mman 512 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if (adev->mman.buffer_funcs_ring == ring) mman 1361 drivers/gpu/drm/amd/amdgpu/cik_sdma.c adev->mman.buffer_funcs = &cik_sdma_buffer_funcs; mman 1362 drivers/gpu/drm/amd/amdgpu/cik_sdma.c adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].ring; mman 309 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; mman 318 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c mutex_lock(&adev->mman.gtt_window_lock); mman 322 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c mutex_unlock(&adev->mman.gtt_window_lock); mman 328 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (!adev->mman.buffer_funcs_enabled || mman 332 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c mutex_unlock(&adev->mman.gtt_window_lock); mman 349 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c r = amdgpu_job_submit(job, &adev->mman.entity, mman 354 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c mutex_unlock(&adev->mman.gtt_window_lock); mman 365 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c mutex_unlock(&adev->mman.gtt_window_lock); mman 346 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if ((adev->mman.buffer_funcs_ring == sdma0) || mman 347 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c (adev->mman.buffer_funcs_ring == sdma1)) mman 490 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if (adev->mman.buffer_funcs_ring == ring) mman 1249 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c adev->mman.buffer_funcs = &sdma_v2_4_buffer_funcs; mman 1250 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].ring; mman 520 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if ((adev->mman.buffer_funcs_ring == sdma0) || mman 521 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c (adev->mman.buffer_funcs_ring == sdma1)) mman 762 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (adev->mman.buffer_funcs_ring == ring) mman 1687 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c adev->mman.buffer_funcs = &sdma_v3_0_buffer_funcs; mman 1688 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].ring; mman 815 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->mman.buffer_funcs_ring == sdma[i]) && unset != 1) { mman 860 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->mman.buffer_funcs_ring == sdma[i]) && mman 1352 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->mman.buffer_funcs_ring == page) mman 1356 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->mman.buffer_funcs_ring == ring) mman 2509 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->mman.buffer_funcs = &sdma_v4_0_buffer_funcs; mman 2511 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].page; mman 2513 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].ring; mman 505 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if ((adev->mman.buffer_funcs_ring == sdma0) || mman 506 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c (adev->mman.buffer_funcs_ring == sdma1)) mman 767 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if (adev->mman.buffer_funcs_ring == ring) mman 1728 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if (adev->mman.buffer_funcs == NULL) { mman 1729 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c adev->mman.buffer_funcs = &sdma_v5_0_buffer_funcs; mman 1730 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].ring; mman 125 drivers/gpu/drm/amd/amdgpu/si_dma.c if (adev->mman.buffer_funcs_ring == ring) mman 186 drivers/gpu/drm/amd/amdgpu/si_dma.c if (adev->mman.buffer_funcs_ring == ring) mman 823 drivers/gpu/drm/amd/amdgpu/si_dma.c adev->mman.buffer_funcs = &si_dma_buffer_funcs; mman 824 drivers/gpu/drm/amd/amdgpu/si_dma.c adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].ring; mman 21 drivers/gpu/drm/i915/selftests/i915_live_selftests.h selftest(mman, i915_gem_mman_live_selftests) mman 216 drivers/gpu/drm/qxl/qxl_drv.h struct qxl_mman mman; mman 113 drivers/gpu/drm/qxl/qxl_object.c r = ttm_bo_init(&qdev->mman.bdev, &bo->tbo, size, type, mman 352 drivers/gpu/drm/qxl/qxl_object.c return ttm_bo_evict_mm(&qdev->mman.bdev, TTM_PL_PRIV); mman 357 drivers/gpu/drm/qxl/qxl_object.c return ttm_bo_evict_mm(&qdev->mman.bdev, TTM_PL_VRAM); mman 444 drivers/gpu/drm/qxl/qxl_release.c qdev = container_of(bdev, struct qxl_device, mman.bdev); mman 43 drivers/gpu/drm/qxl/qxl_ttm.c struct qxl_mman *mman; mman 46 drivers/gpu/drm/qxl/qxl_ttm.c mman = container_of(bdev, struct qxl_mman, bdev); mman 47 drivers/gpu/drm/qxl/qxl_ttm.c qdev = container_of(mman, struct qxl_device, mman); mman 80 drivers/gpu/drm/qxl/qxl_ttm.c r = ttm_bo_mmap(filp, vma, &qdev->mman.bdev); mman 325 drivers/gpu/drm/qxl/qxl_ttm.c r = ttm_bo_device_init(&qdev->mman.bdev, mman 335 drivers/gpu/drm/qxl/qxl_ttm.c r = ttm_bo_init_mm(&qdev->mman.bdev, TTM_PL_VRAM, mman 341 drivers/gpu/drm/qxl/qxl_ttm.c r = ttm_bo_init_mm(&qdev->mman.bdev, TTM_PL_PRIV, mman 358 drivers/gpu/drm/qxl/qxl_ttm.c ttm_bo_clean_mm(&qdev->mman.bdev, TTM_PL_VRAM); mman 359 drivers/gpu/drm/qxl/qxl_ttm.c ttm_bo_clean_mm(&qdev->mman.bdev, TTM_PL_PRIV); mman 360 drivers/gpu/drm/qxl/qxl_ttm.c ttm_bo_device_release(&qdev->mman.bdev); mman 373 drivers/gpu/drm/qxl/qxl_ttm.c struct ttm_bo_global *glob = rdev->mman.bdev.glob; mman 399 drivers/gpu/drm/qxl/qxl_ttm.c qxl_mem_types_list[i].data = qdev->mman.bdev.man[TTM_PL_VRAM].priv; mman 401 drivers/gpu/drm/qxl/qxl_ttm.c qxl_mem_types_list[i].data = qdev->mman.bdev.man[TTM_PL_PRIV].priv; mman 2371 drivers/gpu/drm/radeon/radeon.h struct radeon_mman mman; mman 1801 drivers/gpu/drm/radeon/radeon_device.c resched = ttm_bo_lock_delayed_workqueue(&rdev->mman.bdev); mman 1860 drivers/gpu/drm/radeon/radeon_device.c ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched); mman 228 drivers/gpu/drm/radeon/radeon_gem.c man = &rdev->mman.bdev.man[TTM_PL_VRAM]; mman 206 drivers/gpu/drm/radeon/radeon_object.c acc_size = ttm_bo_dma_acc_size(&rdev->mman.bdev, size, mman 262 drivers/gpu/drm/radeon/radeon_object.c r = ttm_bo_init(&rdev->mman.bdev, &bo->tbo, size, type, mman 432 drivers/gpu/drm/radeon/radeon_object.c return ttm_bo_evict_mm(&rdev->mman.bdev, TTM_PL_VRAM); mman 1805 drivers/gpu/drm/radeon/radeon_pm.c resched = ttm_bo_lock_delayed_workqueue(&rdev->mman.bdev); mman 1856 drivers/gpu/drm/radeon/radeon_pm.c ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched); mman 61 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_mman *mman; mman 64 drivers/gpu/drm/radeon/radeon_ttm.c mman = container_of(bdev, struct radeon_mman, bdev); mman 65 drivers/gpu/drm/radeon/radeon_ttm.c rdev = container_of(mman, struct radeon_device, mman); mman 794 drivers/gpu/drm/radeon/radeon_ttm.c r = ttm_bo_device_init(&rdev->mman.bdev, mman 802 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.initialized = true; mman 803 drivers/gpu/drm/radeon/radeon_ttm.c r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_VRAM, mman 829 drivers/gpu/drm/radeon/radeon_ttm.c r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_TT, mman 850 drivers/gpu/drm/radeon/radeon_ttm.c if (!rdev->mman.initialized) mman 861 drivers/gpu/drm/radeon/radeon_ttm.c ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_VRAM); mman 862 drivers/gpu/drm/radeon/radeon_ttm.c ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_TT); mman 863 drivers/gpu/drm/radeon/radeon_ttm.c ttm_bo_device_release(&rdev->mman.bdev); mman 865 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.initialized = false; mman 875 drivers/gpu/drm/radeon/radeon_ttm.c if (!rdev->mman.initialized) mman 878 drivers/gpu/drm/radeon/radeon_ttm.c man = &rdev->mman.bdev.man[TTM_PL_VRAM]; mman 912 drivers/gpu/drm/radeon/radeon_ttm.c r = ttm_bo_mmap(filp, vma, &rdev->mman.bdev); mman 933 drivers/gpu/drm/radeon/radeon_ttm.c struct ttm_mem_type_manager *man = &rdev->mman.bdev.man[ttm_pl]; mman 1069 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.vram = debugfs_create_file("radeon_vram", S_IFREG | S_IRUGO, mman 1073 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.gtt = debugfs_create_file("radeon_gtt", S_IFREG | S_IRUGO, mman 1094 drivers/gpu/drm/radeon/radeon_ttm.c debugfs_remove(rdev->mman.vram); mman 1095 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.vram = NULL; mman 1097 drivers/gpu/drm/radeon/radeon_ttm.c debugfs_remove(rdev->mman.gtt); mman 1098 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.gtt = NULL; mman 182 drivers/gpu/drm/virtio/virtgpu_drv.h struct virtio_gpu_mman mman; mman 112 drivers/gpu/drm/virtio/virtgpu_object.c acc_size = ttm_bo_dma_acc_size(&vgdev->mman.bdev, params->size, mman 139 drivers/gpu/drm/virtio/virtgpu_object.c ret = ttm_bo_init(&vgdev->mman.bdev, &bo->tbo, params->size, mman 44 drivers/gpu/drm/virtio/virtgpu_ttm.c struct virtio_gpu_mman *mman; mman 47 drivers/gpu/drm/virtio/virtgpu_ttm.c mman = container_of(bdev, struct virtio_gpu_mman, bdev); mman 48 drivers/gpu/drm/virtio/virtgpu_ttm.c vgdev = container_of(mman, struct virtio_gpu_device, mman); mman 65 drivers/gpu/drm/virtio/virtgpu_ttm.c r = ttm_bo_mmap(filp, vma, &vgdev->mman.bdev); mman 279 drivers/gpu/drm/virtio/virtgpu_ttm.c r = ttm_bo_device_init(&vgdev->mman.bdev, mman 288 drivers/gpu/drm/virtio/virtgpu_ttm.c r = ttm_bo_init_mm(&vgdev->mman.bdev, TTM_PL_TT, 0); mman 296 drivers/gpu/drm/virtio/virtgpu_ttm.c ttm_bo_device_release(&vgdev->mman.bdev); mman 303 drivers/gpu/drm/virtio/virtgpu_ttm.c ttm_bo_device_release(&vgdev->mman.bdev);