Lines Matching refs:mem_type
149 places[c].mem_type = TTM_PL_VRAM;
167 places[c].mem_type = AMDGPU_PL_DOORBELL;
175 places[c].mem_type =
191 places[c].mem_type = TTM_PL_SYSTEM;
199 places[c].mem_type = AMDGPU_PL_GDS;
207 places[c].mem_type = AMDGPU_PL_GWS;
215 places[c].mem_type = AMDGPU_PL_OA;
223 places[c].mem_type = TTM_PL_SYSTEM;
637 bo->tbo.resource->mem_type == TTM_PL_VRAM) {
926 uint32_t mem_type = bo->tbo.resource->mem_type;
929 if (!(domain & amdgpu_mem_type_to_domain(mem_type)))
932 if ((mem_type == TTM_PL_VRAM) &&
941 mem_type);
974 bo->placements[i].mem_type == TTM_PL_VRAM)
986 domain = amdgpu_mem_type_to_domain(bo->tbo.resource->mem_type);
1038 if (bo->tbo.resource->mem_type == TTM_PL_VRAM) {
1042 } else if (bo->tbo.resource->mem_type == TTM_PL_TT) {
1281 old_mem && old_mem->mem_type != TTM_PL_SYSTEM)
1285 trace_amdgpu_bo_move(abo, new_mem ? new_mem->mem_type : -1,
1286 old_mem ? old_mem->mem_type : -1);
1306 domain = amdgpu_mem_type_to_domain(res->mem_type);
1373 if (!bo->resource || bo->resource->mem_type != TTM_PL_VRAM ||
1434 if (bo->resource->mem_type == TTM_PL_VRAM &&
1525 WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_SYSTEM);
1529 WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_VRAM &&
1547 if (bo->tbo.resource->mem_type == TTM_PL_TT)
1552 amdgpu_ttm_domain_start(adev, bo->tbo.resource->mem_type);
1609 domain = amdgpu_mem_type_to_domain(bo->tbo.resource->mem_type);