Symbol: TTM_PL_VRAM
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1804
if ((*bo)->tbo.resource->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
1701
*val = amdgpu_ttm_evict_resources(adev, TTM_PL_VRAM);
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
5049
ret = amdgpu_ttm_evict_resources(adev, TTM_PL_VRAM);
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
1909
if (abo->tbo.resource->mem_type != TTM_PL_VRAM) {
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
221
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
101
stats[TTM_PL_VRAM].drm.resident/1024UL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
109
stats[TTM_PL_VRAM].evicted/1024UL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
111
(stats[TTM_PL_VRAM].drm.shared +
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
112
stats[TTM_PL_VRAM].drm.private) / 1024UL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
66
[TTM_PL_VRAM] = "vram",
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
120
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1021
if (bo->tbo.resource->mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1319
if (!bo->resource || bo->resource->mem_type != TTM_PL_VRAM ||
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
133
places[c].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1384
if (bo->resource->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1479
WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1497
WARN_ON_ONCE(bo->tbo.resource->mem_type != TTM_PL_VRAM);
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1561
return TTM_PL_VRAM;
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1629
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
562
man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
717
bo->tbo.resource->mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
953
if ((mem_type == TTM_PL_VRAM) &&
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
976
bo->placements[i].mem_type == TTM_PL_VRAM)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
988
if (bo->tbo.resource->mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
157
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h
145
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h
181
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h
70
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
130
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
1420
if (mem && mem->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
1619
if (bo->resource->mem_type != TTM_PL_VRAM)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2294
struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2613
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2849
TTM_PL_VRAM),
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
341
(abo_src->tbo.resource->mem_type == TTM_PL_VRAM))
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
344
(dst->mem->mem_type == TTM_PL_VRAM)) {
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
410
if (old_mem->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
461
if (res->mem_type != TTM_PL_VRAM)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
486
if (mem->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
562
new_mem->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
563
old_mem->mem_type != TTM_PL_VRAM) {
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
572
new_mem->mem_type == TTM_PL_VRAM) ||
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
573
(old_mem->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
625
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
685
case TTM_PL_VRAM:
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
555
if (abo->placements[i].mem_type == TTM_PL_VRAM)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
1308
abo->tbo.resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
937
ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_VRAM, &mgr->manager);
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
976
ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_VRAM, NULL);
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
523
bo->tbo.resource->mem_type == TTM_PL_VRAM;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
1088
bo->tbo.resource->mem_type == TTM_PL_VRAM;
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
44
return addr + amdgpu_ttm_domain_start(adev, TTM_PL_VRAM);
drivers/gpu/drm/drm_gem_ttm_helper.c
33
[ TTM_PL_VRAM ] = "vram",
drivers/gpu/drm/drm_gem_vram_helper.c
148
gbo->placements[c].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/drm_gem_vram_helper.c
798
case TTM_PL_VRAM:
drivers/gpu/drm/drm_gem_vram_helper.c
828
struct ttm_resource_manager *man = ttm_manager_type(&vmm->bdev, TTM_PL_VRAM);
drivers/gpu/drm/drm_gem_vram_helper.c
867
ret = ttm_range_man_init(&vmm->bdev, TTM_PL_VRAM,
drivers/gpu/drm/drm_gem_vram_helper.c
877
ttm_range_man_fini(&vmm->bdev, TTM_PL_VRAM);
drivers/gpu/drm/i915/gem/i915_gem_ttm.h
66
#define I915_PL_STOLEN TTM_PL_VRAM
drivers/gpu/drm/loongson/lsdc_drv.c
356
if (resource->mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/loongson/lsdc_ttm.c
147
case TTM_PL_VRAM:
drivers/gpu/drm/loongson/lsdc_ttm.c
19
case TTM_PL_VRAM:
drivers/gpu/drm/loongson/lsdc_ttm.c
230
case TTM_PL_VRAM:
drivers/gpu/drm/loongson/lsdc_ttm.c
336
if (tbo->resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/loongson/lsdc_ttm.c
409
man = ttm_manager_type(bdev, TTM_PL_VRAM);
drivers/gpu/drm/loongson/lsdc_ttm.c
531
ttm_range_man_fini(&ldev->bdev, TTM_PL_VRAM);
drivers/gpu/drm/loongson/lsdc_ttm.c
555
ret = ttm_range_man_init(&ldev->bdev, TTM_PL_VRAM, false, num_vram_pages);
drivers/gpu/drm/loongson/lsdc_ttm.c
584
vram_man = ttm_manager_type(bdev, TTM_PL_VRAM);
drivers/gpu/drm/loongson/lsdc_ttm.c
60
lbo->placements[c].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/nouveau/nouveau_abi16.c
321
struct ttm_resource_manager *vram_mgr = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM);
drivers/gpu/drm/nouveau/nouveau_abi16.c
430
if (chan->chan->push.buffer->bo.resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/nouveau/nouveau_bo.c
1112
if (new_reg->mem_type != TTM_PL_VRAM)
drivers/gpu/drm/nouveau/nouveau_bo.c
1198
new_reg->mem_type == TTM_PL_VRAM) ||
drivers/gpu/drm/nouveau/nouveau_bo.c
1199
(old_reg->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/nouveau/nouveau_bo.c
1244
case TTM_PL_VRAM:
drivers/gpu/drm/nouveau/nouveau_bo.c
1285
case TTM_PL_VRAM:
drivers/gpu/drm/nouveau/nouveau_bo.c
1384
if (bo->resource->mem_type != TTM_PL_VRAM) {
drivers/gpu/drm/nouveau/nouveau_bo.c
522
pl[*n].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/nouveau/nouveau_bo.c
566
case TTM_PL_VRAM:
drivers/gpu/drm/nouveau/nouveau_bo.c
601
case TTM_PL_VRAM:
drivers/gpu/drm/nouveau/nouveau_bo.c
627
case TTM_PL_VRAM:
drivers/gpu/drm/nouveau/nouveau_bo.c
891
case TTM_PL_VRAM:
drivers/gpu/drm/nouveau/nouveau_chan.c
204
if (chan->push.buffer->bo.resource->mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/nouveau/nouveau_drm.c
961
man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM);
drivers/gpu/drm/nouveau/nouveau_gem.c
387
bo->resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/nouveau/nouveau_gem.c
602
((nvbo->bo.resource->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/nouveau/nouveau_ttm.c
193
ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_VRAM, man);
drivers/gpu/drm/nouveau/nouveau_ttm.c
197
return ttm_range_man_init(&drm->ttm.bdev, TTM_PL_VRAM, false,
drivers/gpu/drm/nouveau/nouveau_ttm.c
205
struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM);
drivers/gpu/drm/nouveau/nouveau_ttm.c
211
ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_VRAM, NULL);
drivers/gpu/drm/nouveau/nouveau_ttm.c
214
ttm_range_man_fini(&drm->ttm.bdev, TTM_PL_VRAM);
drivers/gpu/drm/qxl/qxl_drv.h
284
(bo->tbo.resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/qxl/qxl_object.c
215
if (bo->tbo.resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/qxl/qxl_object.c
269
if ((bo->tbo.resource->mem_type != TTM_PL_VRAM) &&
drivers/gpu/drm/qxl/qxl_object.c
416
man = ttm_manager_type(&qdev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/qxl/qxl_object.c
67
qbo->placements[c].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/qxl/qxl_object.c
73
qbo->placements[c].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/qxl/qxl_ttm.c
207
r = qxl_ttm_init_mem_type(qdev, TTM_PL_VRAM, num_io_pages);
drivers/gpu/drm/qxl/qxl_ttm.c
229
ttm_range_man_fini(&qdev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/qxl/qxl_ttm.c
239
TTM_PL_VRAM),
drivers/gpu/drm/qxl/qxl_ttm.c
81
case TTM_PL_VRAM:
drivers/gpu/drm/radeon/radeon_gem.c
301
man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/radeon/radeon_kms.c
545
man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/radeon/radeon_object.c
119
(rbo->placements[i].mem_type == TTM_PL_VRAM) &&
drivers/gpu/drm/radeon/radeon_object.c
307
if ((bo->placements[i].mem_type == TTM_PL_VRAM) &&
drivers/gpu/drm/radeon/radeon_object.c
340
if (bo->tbo.resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/radeon/radeon_object.c
360
man = ttm_manager_type(bdev, TTM_PL_VRAM);
drivers/gpu/drm/radeon/radeon_object.c
418
ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/radeon/radeon_object.c
690
if (bo->tbo.resource->mem_type != TTM_PL_VRAM) {
drivers/gpu/drm/radeon/radeon_object.c
730
if (bo->resource->mem_type != TTM_PL_VRAM)
drivers/gpu/drm/radeon/radeon_object.c
747
if ((rbo->placements[i].mem_type == TTM_PL_VRAM) &&
drivers/gpu/drm/radeon/radeon_object.c
89
rbo->placements[c].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/radeon/radeon_object.c
94
rbo->placements[c].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/radeon/radeon_object.h
102
case TTM_PL_VRAM:
drivers/gpu/drm/radeon/radeon_object.h
43
case TTM_PL_VRAM:
drivers/gpu/drm/radeon/radeon_pm.c
158
if (bo->tbo.resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/radeon/radeon_ttm.c
101
case TTM_PL_VRAM:
drivers/gpu/drm/radeon/radeon_ttm.c
117
if (rbo->placements[i].mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/radeon/radeon_ttm.c
150
case TTM_PL_VRAM:
drivers/gpu/drm/radeon/radeon_ttm.c
161
case TTM_PL_VRAM:
drivers/gpu/drm/radeon/radeon_ttm.c
228
new_mem->mem_type == TTM_PL_VRAM) ||
drivers/gpu/drm/radeon/radeon_ttm.c
229
(old_mem->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/radeon/radeon_ttm.c
276
case TTM_PL_VRAM:
drivers/gpu/drm/radeon/radeon_ttm.c
72
return ttm_range_man_init(&rdev->mman.bdev, TTM_PL_VRAM,
drivers/gpu/drm/radeon/radeon_ttm.c
750
ttm_range_man_fini(&rdev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/radeon/radeon_ttm.c
767
man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM);
drivers/gpu/drm/radeon/radeon_ttm.c
904
TTM_PL_VRAM),
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
158
u32 mem_type = TTM_PL_VRAM;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
230
u32 fst_mem = TTM_PL_SYSTEM, snd_mem = TTM_PL_VRAM;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
305
u32 mem_type = TTM_PL_VRAM;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
366
.mem_type = TTM_PL_VRAM,
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
414
u32 fst_mem = TTM_PL_VRAM, snd_mem = TTM_PL_VRAM + 1;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
465
u32 fst_mem = TTM_PL_VRAM, tmp_mem = TTM_PL_TT, final_mem = TTM_PL_SYSTEM;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
703
u32 fst_mem = TTM_PL_VRAM, snd_mem = TTM_PL_VRAM + 1;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
764
u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT,
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
825
u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
869
u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT,
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
940
u32 mem_type = TTM_PL_VRAM;
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
984
u32 mem_type = TTM_PL_VRAM, mem_type_evict = TTM_PL_MOCK1;
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c
75
if (bo->resource->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c
99
case TTM_PL_VRAM:
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
87
.mem_type = TTM_PL_VRAM,
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
211
if (bo->resource->mem_type == TTM_PL_VRAM &&
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
280
if (bo->resource->mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
725
if (mem->mem_type == TTM_PL_VRAM || bo->resource->mem_type == TTM_PL_VRAM)
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
774
pl[n].mem_type = TTM_PL_VRAM;
drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c
586
if (bo->resource->mem_type == TTM_PL_VRAM) {
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
1327
struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
1354
struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
1373
struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
1412
ttm_resource_manager_create_debugfs(ttm_manager_type(&vmw->bdev, TTM_PL_VRAM),
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
695
ret = ttm_range_man_init(&dev_priv->bdev, TTM_PL_VRAM, false,
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
697
ttm_resource_manager_set_used(ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM), false);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
703
ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3764
case TTM_PL_VRAM:
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
262
case TTM_PL_VRAM:
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
35
.mem_type = TTM_PL_VRAM,
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
448
case TTM_PL_VRAM:
drivers/gpu/drm/xe/xe_bo.h
82
#define XE_PL_VRAM0 TTM_PL_VRAM