placement         286 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         519 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 	ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement        1706 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 		ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement        1824 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 			ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         437 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         496 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         549 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 			r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement        1737 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		r = ttm_bo_validate(&(*bo)->tbo, &(*bo)->placement, &ctx);
placement         303 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 		ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         341 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         802 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	const char *placement;
placement         808 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		placement = "VRAM";
placement         811 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		placement = " GTT";
placement         815 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		placement = " CPU";
placement         819 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 		   id, amdgpu_bo_size(bo), placement);
placement         128 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	struct ttm_placement *placement = &abo->placement;
placement         205 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	placement->num_placement = c;
placement         206 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	placement->placement = places;
placement         208 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	placement->num_busy_placement = c;
placement         209 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	placement->busy_placement = places;
placement         380 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	for (i = 0; i < (*bo_ptr)->placement.num_placement; ++i) {
placement         386 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	r = ttm_bo_mem_space(&(*bo_ptr)->tbo, &(*bo_ptr)->placement,
placement         576 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 				 &bo->placement, page_align, &ctx, acc_size,
placement         590 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	    bo->tbo.mem.placement & TTM_PL_FLAG_VRAM) {
placement         718 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         930 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	for (i = 0; i < bo->placement.num_placement; i++) {
placement         944 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement        1008 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	for (i = 0; i < bo->placement.num_placement; i++) {
placement        1012 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement        1364 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	abo->placement.num_busy_placement = 1;
placement        1365 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	abo->placement.busy_placement = &abo->placements[1];
placement        1367 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	r = ttm_bo_validate(bo, &abo->placement, &ctx);
placement          84 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h 	struct ttm_placement		placement;
placement         142 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 				struct ttm_placement *placement)
placement         154 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->num_placement = 0;
placement         155 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->num_busy_placement = 0;
placement         161 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->placement = &placements;
placement         162 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->busy_placement = &placements;
placement         163 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->num_placement = 1;
placement         164 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->num_busy_placement = 1;
placement         173 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->num_placement = 0;
placement         174 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->num_busy_placement = 0;
placement         194 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			abo->placement.busy_placement = &abo->placements[1];
placement         195 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			abo->placement.num_busy_placement = 1;
placement         206 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	*placement = abo->placement;
placement         492 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct ttm_placement placement;
placement         500 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.num_placement = 1;
placement         501 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.placement = &placements;
placement         502 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.num_busy_placement = 1;
placement         503 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.busy_placement = &placements;
placement         507 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	r = ttm_bo_mem_space(bo, &placement, &tmp_mem, ctx);
placement         514 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement);
placement         550 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct ttm_placement placement;
placement         559 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.num_placement = 1;
placement         560 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.placement = &placements;
placement         561 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.num_busy_placement = 1;
placement         562 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.busy_placement = &placements;
placement         566 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	r = ttm_bo_mem_space(bo, &placement, &tmp_mem, ctx);
placement        1100 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct ttm_placement placement;
placement        1116 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement.num_placement = 1;
placement        1117 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement.placement = &placements;
placement        1118 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement.num_busy_placement = 1;
placement        1119 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement.busy_placement = &placements;
placement        1122 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placements.flags = (bo->mem.placement & ~TTM_PL_MASK_MEM) |
placement        1125 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		r = ttm_bo_mem_space(bo, &placement, &tmp, &ctx);
placement         449 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 	for (i = 0; i < abo->placement.num_placement; ++i) {
placement         500 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 		r = ttm_bo_validate(&bo->tbo, &bo->placement, &tctx);
placement        1041 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 		r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         605 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 	for (i = 0; i < bo->placement.num_placement; ++i) {
placement         610 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 	return ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         577 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 	if (bo->mem.placement & TTM_PL_FLAG_NO_EVICT)
placement         745 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         750 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 		r = ttm_bo_validate(&bo->shadow->tbo, &bo->shadow->placement,
placement         152 drivers/gpu/drm/cirrus/cirrus_drv.h 	struct ttm_placement placement;
placement          51 drivers/gpu/drm/drm_gem_vram_helper.c 	gbo->placement.placement = gbo->placements;
placement          52 drivers/gpu/drm/drm_gem_vram_helper.c 	gbo->placement.busy_placement = gbo->placements;
placement          67 drivers/gpu/drm/drm_gem_vram_helper.c 	gbo->placement.num_placement = c;
placement          68 drivers/gpu/drm/drm_gem_vram_helper.c 	gbo->placement.num_busy_placement = c;
placement          98 drivers/gpu/drm/drm_gem_vram_helper.c 			  &gbo->placement, pg_align, interruptible, acc_size,
placement         225 drivers/gpu/drm/drm_gem_vram_helper.c 	for (i = 0; i < gbo->placement.num_placement; ++i)
placement         228 drivers/gpu/drm/drm_gem_vram_helper.c 	ret = ttm_bo_validate(&gbo->bo, &gbo->placement, &ctx);
placement         268 drivers/gpu/drm/drm_gem_vram_helper.c 	for (i = 0; i < gbo->placement.num_placement ; ++i)
placement         271 drivers/gpu/drm/drm_gem_vram_helper.c 	ret = ttm_bo_validate(&gbo->bo, &gbo->placement, &ctx);
placement         430 drivers/gpu/drm/drm_gem_vram_helper.c 	*pl = gbo->placement;
placement          83 drivers/gpu/drm/drm_vram_mm_helper.c 				  struct ttm_placement *placement)
placement          88 drivers/gpu/drm/drm_vram_mm_helper.c 		vmm->funcs->evict_flags(bo, placement);
placement         309 drivers/gpu/drm/nouveau/nouveau_bo.c 			  &nvbo->placement, align >> PAGE_SHIFT, false,
placement         377 drivers/gpu/drm/nouveau/nouveau_bo.c 		for (i = 0; i < nvbo->placement.num_placement; ++i) {
placement         381 drivers/gpu/drm/nouveau/nouveau_bo.c 		for (i = 0; i < nvbo->placement.num_busy_placement; ++i) {
placement         391 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct ttm_placement *pl = &nvbo->placement;
placement         396 drivers/gpu/drm/nouveau/nouveau_bo.c 	pl->placement = nvbo->placements;
placement         493 drivers/gpu/drm/nouveau/nouveau_bo.c 	nouveau_bo_placement_set(nvbo, bo->mem.placement, 0);
placement         584 drivers/gpu/drm/nouveau/nouveau_bo.c 	ret = ttm_bo_validate(&nvbo->bo, &nvbo->placement, &ctx);
placement         734 drivers/gpu/drm/nouveau/nouveau_bo.c 	*pl = nvbo->placement;
placement        1240 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct ttm_placement placement;
placement        1244 drivers/gpu/drm/nouveau/nouveau_bo.c 	placement.num_placement = placement.num_busy_placement = 1;
placement        1245 drivers/gpu/drm/nouveau/nouveau_bo.c 	placement.placement = placement.busy_placement = &placement_memtype;
placement        1249 drivers/gpu/drm/nouveau/nouveau_bo.c 	ret = ttm_bo_mem_space(bo, &placement, &tmp_reg, &ctx);
placement        1277 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct ttm_placement placement;
placement        1281 drivers/gpu/drm/nouveau/nouveau_bo.c 	placement.num_placement = placement.num_busy_placement = 1;
placement        1282 drivers/gpu/drm/nouveau/nouveau_bo.c 	placement.placement = placement.busy_placement = &placement_memtype;
placement        1286 drivers/gpu/drm/nouveau/nouveau_bo.c 	ret = ttm_bo_mem_space(bo, &placement, &tmp_reg, &ctx);
placement        1569 drivers/gpu/drm/nouveau/nouveau_bo.c 	for (i = 0; i < nvbo->placement.num_placement; ++i) {
placement        1574 drivers/gpu/drm/nouveau/nouveau_bo.c 	for (i = 0; i < nvbo->placement.num_busy_placement; ++i) {
placement          13 drivers/gpu/drm/nouveau/nouveau_bo.h 	struct ttm_placement placement;
placement          80 drivers/gpu/drm/qxl/qxl_drv.h 	struct ttm_placement		placement;
placement         331 drivers/gpu/drm/qxl/qxl_ioctl.c 		ret = ttm_bo_validate(&qobj->tbo, &qobj->placement, &ctx);
placement          60 drivers/gpu/drm/qxl/qxl_object.c 	qbo->placement.placement = qbo->placements;
placement          61 drivers/gpu/drm/qxl/qxl_object.c 	qbo->placement.busy_placement = qbo->placements;
placement          72 drivers/gpu/drm/qxl/qxl_object.c 	qbo->placement.num_placement = c;
placement          73 drivers/gpu/drm/qxl/qxl_object.c 	qbo->placement.num_busy_placement = c;
placement         114 drivers/gpu/drm/qxl/qxl_object.c 			&bo->placement, 0, !kernel, size,
placement         238 drivers/gpu/drm/qxl/qxl_object.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         260 drivers/gpu/drm/qxl/qxl_object.c 	for (i = 0; i < bo->placement.num_placement; i++)
placement         262 drivers/gpu/drm/qxl/qxl_object.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         236 drivers/gpu/drm/qxl/qxl_release.c 		ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         133 drivers/gpu/drm/qxl/qxl_ttm.c 				struct ttm_placement *placement)
placement         143 drivers/gpu/drm/qxl/qxl_ttm.c 		placement->placement = &placements;
placement         144 drivers/gpu/drm/qxl/qxl_ttm.c 		placement->busy_placement = &placements;
placement         145 drivers/gpu/drm/qxl/qxl_ttm.c 		placement->num_placement = 1;
placement         146 drivers/gpu/drm/qxl/qxl_ttm.c 		placement->num_busy_placement = 1;
placement         151 drivers/gpu/drm/qxl/qxl_ttm.c 	*placement = qbo->placement;
placement         492 drivers/gpu/drm/radeon/radeon.h 	struct ttm_placement		placement;
placement         352 drivers/gpu/drm/radeon/radeon_gem.c 		r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         791 drivers/gpu/drm/radeon/radeon_gem.c 		const char *placement;
placement         796 drivers/gpu/drm/radeon/radeon_gem.c 			placement = "VRAM";
placement         799 drivers/gpu/drm/radeon/radeon_gem.c 			placement = " GTT";
placement         803 drivers/gpu/drm/radeon/radeon_gem.c 			placement = " CPU";
placement         808 drivers/gpu/drm/radeon/radeon_gem.c 			   placement, (unsigned long)rbo->pid);
placement         114 drivers/gpu/drm/radeon/radeon_mn.c 			r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         105 drivers/gpu/drm/radeon/radeon_object.c 	rbo->placement.placement = rbo->placements;
placement         106 drivers/gpu/drm/radeon/radeon_object.c 	rbo->placement.busy_placement = rbo->placements;
placement         169 drivers/gpu/drm/radeon/radeon_object.c 	rbo->placement.num_placement = c;
placement         170 drivers/gpu/drm/radeon/radeon_object.c 	rbo->placement.num_busy_placement = c;
placement         263 drivers/gpu/drm/radeon/radeon_object.c 			&bo->placement, page_align, !kernel, acc_size,
placement         361 drivers/gpu/drm/radeon/radeon_object.c 	for (i = 0; i < bo->placement.num_placement; i++) {
placement         374 drivers/gpu/drm/radeon/radeon_object.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         406 drivers/gpu/drm/radeon/radeon_object.c 	for (i = 0; i < bo->placement.num_placement; i++) {
placement         410 drivers/gpu/drm/radeon/radeon_object.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         579 drivers/gpu/drm/radeon/radeon_object.c 			r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement         825 drivers/gpu/drm/radeon/radeon_object.c 	for (i = 0; i < rbo->placement.num_placement; i++) {
placement         831 drivers/gpu/drm/radeon/radeon_object.c 	r = ttm_bo_validate(bo, &rbo->placement, &ctx);
placement         834 drivers/gpu/drm/radeon/radeon_object.c 		return ttm_bo_validate(bo, &rbo->placement, &ctx);
placement         126 drivers/gpu/drm/radeon/radeon_ttm.c 				struct ttm_placement *placement)
placement         137 drivers/gpu/drm/radeon/radeon_ttm.c 		placement->placement = &placements;
placement         138 drivers/gpu/drm/radeon/radeon_ttm.c 		placement->busy_placement = &placements;
placement         139 drivers/gpu/drm/radeon/radeon_ttm.c 		placement->num_placement = 1;
placement         140 drivers/gpu/drm/radeon/radeon_ttm.c 		placement->num_busy_placement = 1;
placement         160 drivers/gpu/drm/radeon/radeon_ttm.c 			rbo->placement.num_busy_placement = 0;
placement         161 drivers/gpu/drm/radeon/radeon_ttm.c 			for (i = 0; i < rbo->placement.num_placement; i++) {
placement         166 drivers/gpu/drm/radeon/radeon_ttm.c 					rbo->placement.busy_placement =
placement         168 drivers/gpu/drm/radeon/radeon_ttm.c 					rbo->placement.num_busy_placement = 1;
placement         178 drivers/gpu/drm/radeon/radeon_ttm.c 	*placement = rbo->placement;
placement         265 drivers/gpu/drm/radeon/radeon_ttm.c 	struct ttm_placement placement;
placement         270 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.num_placement = 1;
placement         271 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.placement = &placements;
placement         272 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.num_busy_placement = 1;
placement         273 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.busy_placement = &placements;
placement         277 drivers/gpu/drm/radeon/radeon_ttm.c 	r = ttm_bo_mem_space(bo, &placement, &tmp_mem, &ctx);
placement         282 drivers/gpu/drm/radeon/radeon_ttm.c 	r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement);
placement         309 drivers/gpu/drm/radeon/radeon_ttm.c 	struct ttm_placement placement;
placement         315 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.num_placement = 1;
placement         316 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.placement = &placements;
placement         317 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.num_busy_placement = 1;
placement         318 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.busy_placement = &placements;
placement         322 drivers/gpu/drm/radeon/radeon_ttm.c 	r = ttm_bo_mem_space(bo, &placement, &tmp_mem, &ctx);
placement         440 drivers/gpu/drm/radeon/radeon_ttm.c 		if (mem->placement & TTM_PL_FLAG_WC)
placement         307 drivers/gpu/drm/radeon/radeon_uvd.c 	for (i = 0; i < rbo->placement.num_placement; ++i) {
placement         317 drivers/gpu/drm/radeon/radeon_uvd.c 	if (rbo->placement.num_placement > 1)
placement         324 drivers/gpu/drm/radeon/radeon_uvd.c 	rbo->placement.num_placement++;
placement         325 drivers/gpu/drm/radeon/radeon_uvd.c 	rbo->placement.num_busy_placement++;
placement         400 drivers/gpu/drm/radeon/radeon_vm.c 	r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
placement          57 drivers/gpu/drm/ttm/ttm_agp_backend.c 	int ret, cached = (bo_mem->placement & TTM_PL_FLAG_CACHED);
placement          96 drivers/gpu/drm/ttm/ttm_bo.c 					struct ttm_placement *placement)
placement         104 drivers/gpu/drm/ttm/ttm_bo.c 	for (i = 0; i < placement->num_placement; i++) {
placement         105 drivers/gpu/drm/ttm/ttm_bo.c 		ret = ttm_mem_type_from_place(&placement->placement[i],
placement         110 drivers/gpu/drm/ttm/ttm_bo.c 			   i, placement->placement[i].flags, mem_type);
placement         181 drivers/gpu/drm/ttm/ttm_bo.c 	if (mem->placement & TTM_PL_FLAG_NO_EVICT)
placement         253 drivers/gpu/drm/ttm/ttm_bo.c 	if (bulk && !(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) {
placement         332 drivers/gpu/drm/ttm/ttm_bo.c 	    ((mem->placement & bo->mem.placement & TTM_PL_MASK_CACHING) == 0)) {
placement         352 drivers/gpu/drm/ttm/ttm_bo.c 		ret = ttm_tt_set_placement_caching(bo->ttm, mem->placement);
placement         395 drivers/gpu/drm/ttm/ttm_bo.c 			ret = bdev->driver->invalidate_caches(bdev, bo->mem.placement);
placement         513 drivers/gpu/drm/ttm/ttm_bo.c 		if (bo->mem.placement & TTM_PL_FLAG_NO_EVICT) {
placement         514 drivers/gpu/drm/ttm/ttm_bo.c 			bo->mem.placement &= ~TTM_PL_FLAG_NO_EVICT;
placement         714 drivers/gpu/drm/ttm/ttm_bo.c 	struct ttm_placement placement;
placement         719 drivers/gpu/drm/ttm/ttm_bo.c 	placement.num_placement = 0;
placement         720 drivers/gpu/drm/ttm/ttm_bo.c 	placement.num_busy_placement = 0;
placement         721 drivers/gpu/drm/ttm/ttm_bo.c 	bdev->driver->evict_flags(bo, &placement);
placement         723 drivers/gpu/drm/ttm/ttm_bo.c 	if (!placement.num_placement && !placement.num_busy_placement) {
placement         736 drivers/gpu/drm/ttm/ttm_bo.c 	ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx);
placement         741 drivers/gpu/drm/ttm/ttm_bo.c 			ttm_bo_mem_space_debug(bo, &placement);
placement        1067 drivers/gpu/drm/ttm/ttm_bo.c 	cur_flags = ttm_bo_select_caching(man, bo->mem.placement, cur_flags);
placement        1075 drivers/gpu/drm/ttm/ttm_bo.c 	mem->placement = cur_flags;
placement        1096 drivers/gpu/drm/ttm/ttm_bo.c 			struct ttm_placement *placement,
placement        1109 drivers/gpu/drm/ttm/ttm_bo.c 	for (i = 0; i < placement->num_placement; ++i) {
placement        1110 drivers/gpu/drm/ttm/ttm_bo.c 		const struct ttm_place *place = &placement->placement[i];
placement        1143 drivers/gpu/drm/ttm/ttm_bo.c 	for (i = 0; i < placement->num_busy_placement; ++i) {
placement        1144 drivers/gpu/drm/ttm/ttm_bo.c 		const struct ttm_place *place = &placement->busy_placement[i];
placement        1183 drivers/gpu/drm/ttm/ttm_bo.c 			      struct ttm_placement *placement,
placement        1199 drivers/gpu/drm/ttm/ttm_bo.c 	ret = ttm_bo_mem_space(bo, placement, &mem, ctx);
placement        1224 drivers/gpu/drm/ttm/ttm_bo.c 		if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) &&
placement        1225 drivers/gpu/drm/ttm/ttm_bo.c 		    (*new_flags & mem->placement & TTM_PL_MASK_MEM) &&
placement        1227 drivers/gpu/drm/ttm/ttm_bo.c 		     (mem->placement & TTM_PL_FLAG_CONTIGUOUS)))
placement        1233 drivers/gpu/drm/ttm/ttm_bo.c bool ttm_bo_mem_compat(struct ttm_placement *placement,
placement        1237 drivers/gpu/drm/ttm/ttm_bo.c 	if (ttm_bo_places_compat(placement->placement, placement->num_placement,
placement        1241 drivers/gpu/drm/ttm/ttm_bo.c 	if ((placement->busy_placement != placement->placement ||
placement        1242 drivers/gpu/drm/ttm/ttm_bo.c 	     placement->num_busy_placement > placement->num_placement) &&
placement        1243 drivers/gpu/drm/ttm/ttm_bo.c 	    ttm_bo_places_compat(placement->busy_placement,
placement        1244 drivers/gpu/drm/ttm/ttm_bo.c 				 placement->num_busy_placement,
placement        1253 drivers/gpu/drm/ttm/ttm_bo.c 		    struct ttm_placement *placement,
placement        1263 drivers/gpu/drm/ttm/ttm_bo.c 	if (!ttm_bo_mem_compat(placement, &bo->mem, &new_flags)) {
placement        1264 drivers/gpu/drm/ttm/ttm_bo.c 		ret = ttm_bo_move_buffer(bo, placement, ctx);
placement        1272 drivers/gpu/drm/ttm/ttm_bo.c 		ttm_flag_masked(&bo->mem.placement, new_flags,
placement        1291 drivers/gpu/drm/ttm/ttm_bo.c 			 struct ttm_placement *placement,
placement        1345 drivers/gpu/drm/ttm/ttm_bo.c 	bo->mem.placement = (TTM_PL_FLAG_SYSTEM | TTM_PL_FLAG_CACHED);
placement        1382 drivers/gpu/drm/ttm/ttm_bo.c 		ret = ttm_bo_validate(bo, placement, ctx);
placement        1392 drivers/gpu/drm/ttm/ttm_bo.c 	if (resv && !(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) {
placement        1406 drivers/gpu/drm/ttm/ttm_bo.c 		struct ttm_placement *placement,
placement        1417 drivers/gpu/drm/ttm/ttm_bo.c 	ret = ttm_bo_init_reserved(bdev, bo, size, type, placement,
placement        1461 drivers/gpu/drm/ttm/ttm_bo.c 			struct ttm_placement *placement,
placement        1475 drivers/gpu/drm/ttm/ttm_bo.c 	ret = ttm_bo_init(bdev, bo, size, type, placement, page_alignment,
placement        1788 drivers/gpu/drm/ttm/ttm_bo.c 		if (mem->placement & TTM_PL_FLAG_CACHED)
placement        1916 drivers/gpu/drm/ttm/ttm_bo.c 		evict_mem.placement = TTM_PL_FLAG_SYSTEM | TTM_PL_FLAG_CACHED;
placement          72 drivers/gpu/drm/ttm/ttm_bo_util.c 		ttm_flag_masked(&old_mem->placement, TTM_PL_FLAG_SYSTEM,
placement          77 drivers/gpu/drm/ttm/ttm_bo_util.c 	ret = ttm_tt_set_placement_caching(ttm, new_mem->placement);
placement         222 drivers/gpu/drm/ttm/ttm_bo_util.c 		if (mem->placement & TTM_PL_FLAG_WC)
placement         421 drivers/gpu/drm/ttm/ttm_bo_util.c 			pgprot_t prot = ttm_io_prot(old_mem->placement,
placement         426 drivers/gpu/drm/ttm/ttm_bo_util.c 			pgprot_t prot = ttm_io_prot(new_mem->placement,
placement         496 drivers/gpu/drm/ttm/ttm_bo_util.c 	fbo->base.mem.placement |= TTM_PL_FLAG_NO_EVICT;
placement         567 drivers/gpu/drm/ttm/ttm_bo_util.c 		if (mem->placement & TTM_PL_FLAG_WC)
placement         597 drivers/gpu/drm/ttm/ttm_bo_util.c 	if (num_pages == 1 && (mem->placement & TTM_PL_FLAG_CACHED)) {
placement         611 drivers/gpu/drm/ttm/ttm_bo_util.c 		prot = ttm_io_prot(mem->placement, PAGE_KERNEL);
placement         232 drivers/gpu/drm/ttm/ttm_bo_vm.c 		cvma.vm_page_prot = ttm_io_prot(bo->mem.placement,
placement         243 drivers/gpu/drm/ttm/ttm_bo_vm.c 		cvma.vm_page_prot = ttm_io_prot(bo->mem.placement,
placement         193 drivers/gpu/drm/ttm/ttm_tt.c int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement)
placement         197 drivers/gpu/drm/ttm/ttm_tt.c 	if (placement & TTM_PL_FLAG_WC)
placement         199 drivers/gpu/drm/ttm/ttm_tt.c 	else if (placement & TTM_PL_FLAG_UNCACHED)
placement          79 drivers/gpu/drm/virtio/virtgpu_drv.h 	struct ttm_placement		placement;
placement          75 drivers/gpu/drm/virtio/virtgpu_ioctl.c 		ret = ttm_bo_validate(bo, &qobj->placement, &ctx);
placement         384 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	ret = ttm_bo_validate(&qobj->tbo, &qobj->placement, &ctx);
placement         434 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	ret = ttm_bo_validate(&qobj->tbo, &qobj->placement, &ctx);
placement          89 drivers/gpu/drm/virtio/virtgpu_object.c 	vgbo->placement.placement = &vgbo->placement_code;
placement          90 drivers/gpu/drm/virtio/virtgpu_object.c 	vgbo->placement.busy_placement = &vgbo->placement_code;
placement          96 drivers/gpu/drm/virtio/virtgpu_object.c 	vgbo->placement.num_placement = c;
placement          97 drivers/gpu/drm/virtio/virtgpu_object.c 	vgbo->placement.num_busy_placement = c;
placement         140 drivers/gpu/drm/virtio/virtgpu_object.c 			  ttm_bo_type_device, &bo->placement, 0,
placement         139 drivers/gpu/drm/virtio/virtgpu_ttm.c 				struct ttm_placement *placement)
placement         147 drivers/gpu/drm/virtio/virtgpu_ttm.c 	placement->placement = &placements;
placement         148 drivers/gpu/drm/virtio/virtgpu_ttm.c 	placement->busy_placement = &placements;
placement         149 drivers/gpu/drm/virtio/virtgpu_ttm.c 	placement->num_placement = 1;
placement         150 drivers/gpu/drm/virtio/virtgpu_ttm.c 	placement->num_busy_placement = 1;
placement         461 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	if (!(dst->mem.placement & TTM_PL_FLAG_NO_EVICT))
placement         463 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	if (!(src->mem.placement & TTM_PL_FLAG_NO_EVICT))
placement         486 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	d.dst_prot = ttm_io_prot(dst->mem.placement, PAGE_KERNEL);
placement         487 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	d.src_prot = ttm_io_prot(src->mem.placement, PAGE_KERNEL);
placement          91 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 			    struct ttm_placement *placement,
placement         110 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 		ret = ttm_bo_mem_compat(placement, &bo->mem,
placement         113 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 		ret = ttm_bo_validate(bo, placement, &ctx);
placement         220 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	struct ttm_placement placement;
placement         225 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	place = vmw_vram_placement.placement[0];
placement         227 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	placement.num_placement = 1;
placement         228 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	placement.placement = &place;
placement         229 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	placement.num_busy_placement = 1;
placement         230 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	placement.busy_placement = &place;
placement         255 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 		ret = ttm_bo_mem_compat(&placement, &bo->mem,
placement         258 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 		ret = ttm_bo_validate(bo, &placement, &ctx);
placement         339 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	struct ttm_placement placement;
placement         362 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	memset(&placement, 0, sizeof(placement));
placement         363 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	placement.num_placement = 1;
placement         364 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	placement.placement = &pl;
placement         366 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 	ret = ttm_bo_validate(bo, &placement, &ctx);
placement         499 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 		size_t size, struct ttm_placement *placement,
placement         518 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 			  ttm_bo_type_device, placement,
placement         745 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 				   struct ttm_placement *placement,
placement         765 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 		       size_t size, struct ttm_placement *placement,
placement        1072 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	struct ttm_placement *placement;
placement        1095 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 				placement = &vmw_vram_gmr_placement;
placement        1098 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 				placement = &vmw_sys_placement;
placement        1102 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 			placement = &vmw_mob_placement;
placement        1105 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 		return vmw_bo_pin_in_placement(dev_priv, buf, placement, false);
placement          83 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &vram_placement_flags,
placement         114 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = vram_gmr_placement_flags,
placement         135 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = vram_gmr_ne_placement_flags,
placement         142 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &vram_placement_flags,
placement         149 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &vram_ne_placement_flags,
placement         156 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &sys_placement_flags,
placement         163 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &sys_ne_placement_flags,
placement         206 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = evictable_placement_flags,
placement         214 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &gmr_placement_flags,
placement         221 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &mob_placement_flags,
placement         228 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = &mob_ne_placement_flags,
placement         234 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	.placement = nonfixed_placement_flags,
placement         784 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 		     struct ttm_placement *placement)
placement         786 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 	*placement = vmw_sys_placement;
placement          43 include/drm/drm_gem_vram_helper.h 	struct ttm_placement placement;
placement          24 include/drm/drm_vram_mm_helper.h 			    struct ttm_placement *placement);
placement         102 include/drm/ttm/ttm_bo_api.h 	uint32_t placement;
placement         339 include/drm/ttm/ttm_bo_api.h bool ttm_bo_mem_compat(struct ttm_placement *placement, struct ttm_mem_reg *mem,
placement         358 include/drm/ttm/ttm_bo_api.h 		    struct ttm_placement *placement,
placement         524 include/drm/ttm/ttm_bo_api.h 			 struct ttm_placement *placement,
placement         571 include/drm/ttm/ttm_bo_api.h 		struct ttm_placement *placement,
placement         596 include/drm/ttm/ttm_bo_api.h 		  enum ttm_bo_type type, struct ttm_placement *placement,
placement         297 include/drm/ttm/ttm_bo_driver.h 			    struct ttm_placement *placement);
placement         581 include/drm/ttm/ttm_bo_driver.h 		     struct ttm_placement *placement,
placement         103 include/drm/ttm/ttm_placement.h 	const struct ttm_place	*placement;
placement         229 include/drm/ttm/ttm_tt.h int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement);