placements        129 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	struct ttm_place *places = abo->placements;
placements        381 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		(*bo_ptr)->placements[i].fpfn = offset >> PAGE_SHIFT;
placements        382 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		(*bo_ptr)->placements[i].lpfn = (offset + size) >> PAGE_SHIFT;
placements        936 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		if (fpfn > bo->placements[i].fpfn)
placements        937 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 			bo->placements[i].fpfn = fpfn;
placements        938 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		if (!bo->placements[i].lpfn ||
placements        939 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		    (lpfn && lpfn < bo->placements[i].lpfn))
placements        940 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 			bo->placements[i].lpfn = lpfn;
placements        941 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		bo->placements[i].flags |= TTM_PL_FLAG_NO_EVICT;
placements       1009 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		bo->placements[i].lpfn = 0;
placements       1010 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 		bo->placements[i].flags &= ~TTM_PL_FLAG_NO_EVICT;
placements       1365 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	abo->placement.busy_placement = &abo->placements[1];
placements         83 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h 	struct ttm_place		placements[AMDGPU_BO_MAX_PLACEMENTS];
placements        146 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	static const struct ttm_place placements = {
placements        161 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->placement = &placements;
placements        162 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement->busy_placement = &placements;
placements        192 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			abo->placements[0].fpfn = adev->gmc.visible_vram_size >> PAGE_SHIFT;
placements        193 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			abo->placements[0].lpfn = 0;
placements        194 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			abo->placement.busy_placement = &abo->placements[1];
placements        491 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct ttm_place placements;
placements        501 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.placement = &placements;
placements        503 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.busy_placement = &placements;
placements        504 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placements.fpfn = 0;
placements        505 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placements.lpfn = 0;
placements        506 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placements.flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_TT;
placements        551 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct ttm_place placements;
placements        560 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.placement = &placements;
placements        562 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placement.busy_placement = &placements;
placements        563 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placements.fpfn = 0;
placements        564 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placements.lpfn = 0;
placements        565 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	placements.flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_TT;
placements       1101 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct ttm_place placements;
placements       1117 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement.placement = &placements;
placements       1119 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placement.busy_placement = &placements;
placements       1120 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placements.fpfn = 0;
placements       1121 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placements.lpfn = adev->gmc.gart_size >> PAGE_SHIFT;
placements       1122 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		placements.flags = (bo->mem.placement & ~TTM_PL_MASK_MEM) |
placements        450 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 		abo->placements[i].fpfn = 0 >> PAGE_SHIFT;
placements        451 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 		abo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT;
placements        606 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 		bo->placements[i].fpfn = max(bo->placements[i].fpfn, fpfn);
placements        607 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 		bo->placements[i].lpfn = bo->placements[i].lpfn ?
placements        608 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 			min(bo->placements[i].lpfn, lpfn) : lpfn;
placements        155 drivers/gpu/drm/cirrus/cirrus_drv.h 	struct ttm_place placements[3];
placements         51 drivers/gpu/drm/drm_gem_vram_helper.c 	gbo->placement.placement = gbo->placements;
placements         52 drivers/gpu/drm/drm_gem_vram_helper.c 	gbo->placement.busy_placement = gbo->placements;
placements         55 drivers/gpu/drm/drm_gem_vram_helper.c 		gbo->placements[c++].flags = TTM_PL_FLAG_WC |
placements         60 drivers/gpu/drm/drm_gem_vram_helper.c 		gbo->placements[c++].flags = TTM_PL_MASK_CACHING |
placements         64 drivers/gpu/drm/drm_gem_vram_helper.c 		gbo->placements[c++].flags = TTM_PL_MASK_CACHING |
placements         71 drivers/gpu/drm/drm_gem_vram_helper.c 		gbo->placements[i].fpfn = 0;
placements         72 drivers/gpu/drm/drm_gem_vram_helper.c 		gbo->placements[i].lpfn = 0;
placements        226 drivers/gpu/drm/drm_gem_vram_helper.c 		gbo->placements[i].flags |= TTM_PL_FLAG_NO_EVICT;
placements        269 drivers/gpu/drm/drm_gem_vram_helper.c 		gbo->placements[i].flags &= ~TTM_PL_FLAG_NO_EVICT;
placements        378 drivers/gpu/drm/nouveau/nouveau_bo.c 			nvbo->placements[i].fpfn = fpfn;
placements        379 drivers/gpu/drm/nouveau/nouveau_bo.c 			nvbo->placements[i].lpfn = lpfn;
placements        396 drivers/gpu/drm/nouveau/nouveau_bo.c 	pl->placement = nvbo->placements;
placements        397 drivers/gpu/drm/nouveau/nouveau_bo.c 	set_placement_list(nvbo->placements, &pl->num_placement,
placements       1570 drivers/gpu/drm/nouveau/nouveau_bo.c 		nvbo->placements[i].fpfn = 0;
placements       1571 drivers/gpu/drm/nouveau/nouveau_bo.c 		nvbo->placements[i].lpfn = mappable;
placements         15 drivers/gpu/drm/nouveau/nouveau_bo.h 	struct ttm_place placements[3];
placements         79 drivers/gpu/drm/qxl/qxl_drv.h 	struct ttm_place		placements[3];
placements         60 drivers/gpu/drm/qxl/qxl_object.c 	qbo->placement.placement = qbo->placements;
placements         61 drivers/gpu/drm/qxl/qxl_object.c 	qbo->placement.busy_placement = qbo->placements;
placements         63 drivers/gpu/drm/qxl/qxl_object.c 		qbo->placements[c++].flags = TTM_PL_FLAG_CACHED | TTM_PL_FLAG_VRAM | pflag;
placements         65 drivers/gpu/drm/qxl/qxl_object.c 		qbo->placements[c++].flags = TTM_PL_FLAG_CACHED | TTM_PL_FLAG_PRIV | pflag;
placements         66 drivers/gpu/drm/qxl/qxl_object.c 		qbo->placements[c++].flags = TTM_PL_FLAG_CACHED | TTM_PL_FLAG_VRAM | pflag;
placements         69 drivers/gpu/drm/qxl/qxl_object.c 		qbo->placements[c++].flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_SYSTEM | pflag;
placements         71 drivers/gpu/drm/qxl/qxl_object.c 		qbo->placements[c++].flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_SYSTEM;
placements         75 drivers/gpu/drm/qxl/qxl_object.c 		qbo->placements[i].fpfn = 0;
placements         76 drivers/gpu/drm/qxl/qxl_object.c 		qbo->placements[i].lpfn = 0;
placements        261 drivers/gpu/drm/qxl/qxl_object.c 		bo->placements[i].flags &= ~TTM_PL_FLAG_NO_EVICT;
placements        136 drivers/gpu/drm/qxl/qxl_ttm.c 	static const struct ttm_place placements = {
placements        143 drivers/gpu/drm/qxl/qxl_ttm.c 		placement->placement = &placements;
placements        144 drivers/gpu/drm/qxl/qxl_ttm.c 		placement->busy_placement = &placements;
placements        491 drivers/gpu/drm/radeon/radeon.h 	struct ttm_place		placements[4];
placements        105 drivers/gpu/drm/radeon/radeon_object.c 	rbo->placement.placement = rbo->placements;
placements        106 drivers/gpu/drm/radeon/radeon_object.c 	rbo->placement.busy_placement = rbo->placements;
placements        113 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c].fpfn =
placements        115 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c++].flags = TTM_PL_FLAG_WC |
placements        120 drivers/gpu/drm/radeon/radeon_object.c 		rbo->placements[c].fpfn = 0;
placements        121 drivers/gpu/drm/radeon/radeon_object.c 		rbo->placements[c++].flags = TTM_PL_FLAG_WC |
placements        128 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c].fpfn = 0;
placements        129 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c++].flags = TTM_PL_FLAG_UNCACHED |
placements        134 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c].fpfn = 0;
placements        135 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c++].flags = TTM_PL_FLAG_WC |
placements        139 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c].fpfn = 0;
placements        140 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c++].flags = TTM_PL_FLAG_CACHED |
placements        147 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c].fpfn = 0;
placements        148 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c++].flags = TTM_PL_FLAG_UNCACHED |
placements        153 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c].fpfn = 0;
placements        154 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c++].flags = TTM_PL_FLAG_WC |
placements        158 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c].fpfn = 0;
placements        159 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[c++].flags = TTM_PL_FLAG_CACHED |
placements        164 drivers/gpu/drm/radeon/radeon_object.c 		rbo->placements[c].fpfn = 0;
placements        165 drivers/gpu/drm/radeon/radeon_object.c 		rbo->placements[c++].flags = TTM_PL_MASK_CACHING |
placements        174 drivers/gpu/drm/radeon/radeon_object.c 		    (rbo->placements[i].flags & TTM_PL_FLAG_VRAM) &&
placements        175 drivers/gpu/drm/radeon/radeon_object.c 		    !rbo->placements[i].fpfn)
placements        176 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[i].lpfn =
placements        179 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[i].lpfn = 0;
placements        363 drivers/gpu/drm/radeon/radeon_object.c 		if ((bo->placements[i].flags & TTM_PL_FLAG_VRAM) &&
placements        366 drivers/gpu/drm/radeon/radeon_object.c 			bo->placements[i].lpfn =
placements        369 drivers/gpu/drm/radeon/radeon_object.c 			bo->placements[i].lpfn = max_offset >> PAGE_SHIFT;
placements        371 drivers/gpu/drm/radeon/radeon_object.c 		bo->placements[i].flags |= TTM_PL_FLAG_NO_EVICT;
placements        407 drivers/gpu/drm/radeon/radeon_object.c 		bo->placements[i].lpfn = 0;
placements        408 drivers/gpu/drm/radeon/radeon_object.c 		bo->placements[i].flags &= ~TTM_PL_FLAG_NO_EVICT;
placements        827 drivers/gpu/drm/radeon/radeon_object.c 		if ((rbo->placements[i].flags & TTM_PL_FLAG_VRAM) &&
placements        828 drivers/gpu/drm/radeon/radeon_object.c 		    (!rbo->placements[i].lpfn || rbo->placements[i].lpfn > lpfn))
placements        829 drivers/gpu/drm/radeon/radeon_object.c 			rbo->placements[i].lpfn = lpfn;
placements        128 drivers/gpu/drm/radeon/radeon_ttm.c 	static const struct ttm_place placements = {
placements        137 drivers/gpu/drm/radeon/radeon_ttm.c 		placement->placement = &placements;
placements        138 drivers/gpu/drm/radeon/radeon_ttm.c 		placement->busy_placement = &placements;
placements        162 drivers/gpu/drm/radeon/radeon_ttm.c 				if (rbo->placements[i].flags & TTM_PL_FLAG_VRAM) {
placements        163 drivers/gpu/drm/radeon/radeon_ttm.c 					if (rbo->placements[i].fpfn < fpfn)
placements        164 drivers/gpu/drm/radeon/radeon_ttm.c 						rbo->placements[i].fpfn = fpfn;
placements        167 drivers/gpu/drm/radeon/radeon_ttm.c 						&rbo->placements[i];
placements        264 drivers/gpu/drm/radeon/radeon_ttm.c 	struct ttm_place placements;
placements        271 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.placement = &placements;
placements        273 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.busy_placement = &placements;
placements        274 drivers/gpu/drm/radeon/radeon_ttm.c 	placements.fpfn = 0;
placements        275 drivers/gpu/drm/radeon/radeon_ttm.c 	placements.lpfn = 0;
placements        276 drivers/gpu/drm/radeon/radeon_ttm.c 	placements.flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_TT;
placements        310 drivers/gpu/drm/radeon/radeon_ttm.c 	struct ttm_place placements;
placements        316 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.placement = &placements;
placements        318 drivers/gpu/drm/radeon/radeon_ttm.c 	placement.busy_placement = &placements;
placements        319 drivers/gpu/drm/radeon/radeon_ttm.c 	placements.fpfn = 0;
placements        320 drivers/gpu/drm/radeon/radeon_ttm.c 	placements.lpfn = 0;
placements        321 drivers/gpu/drm/radeon/radeon_ttm.c 	placements.flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_TT;
placements        308 drivers/gpu/drm/radeon/radeon_uvd.c 		rbo->placements[i].fpfn = 0 >> PAGE_SHIFT;
placements        309 drivers/gpu/drm/radeon/radeon_uvd.c 		rbo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT;
placements        321 drivers/gpu/drm/radeon/radeon_uvd.c 	rbo->placements[1] = rbo->placements[0];
placements        322 drivers/gpu/drm/radeon/radeon_uvd.c 	rbo->placements[1].fpfn += (256 * 1024 * 1024) >> PAGE_SHIFT;
placements        323 drivers/gpu/drm/radeon/radeon_uvd.c 	rbo->placements[1].lpfn += (256 * 1024 * 1024) >> PAGE_SHIFT;
placements        141 drivers/gpu/drm/virtio/virtgpu_ttm.c 	static const struct ttm_place placements = {
placements        147 drivers/gpu/drm/virtio/virtgpu_ttm.c 	placement->placement = &placements;
placements        148 drivers/gpu/drm/virtio/virtgpu_ttm.c 	placement->busy_placement = &placements;
placements         44 include/drm/drm_gem_vram_helper.h 	struct ttm_place placements[2];