Home
last modified time | relevance | path

Searched refs:TTM_PL_FLAG_WC (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/include/drm/ttm/
Dttm_placement.h65 #define TTM_PL_FLAG_WC (1 << 18) macro
72 TTM_PL_FLAG_WC)
/Linux-v5.4/drivers/gpu/drm/
Ddrm_vram_mm_helper.c73 TTM_PL_FLAG_WC; in bo_driver_init_mem_type()
74 man->default_caching = TTM_PL_FLAG_WC; in bo_driver_init_mem_type()
Ddrm_gem_vram_helper.c55 gbo->placements[c++].flags = TTM_PL_FLAG_WC | in drm_gem_vram_placement()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo_util.c222 if (mem->placement & TTM_PL_FLAG_WC) in ttm_mem_reg_ioremap()
536 if (caching_flags & TTM_PL_FLAG_WC) in ttm_io_prot()
543 if (caching_flags & TTM_PL_FLAG_WC) in ttm_io_prot()
567 if (mem->placement & TTM_PL_FLAG_WC) in ttm_bo_ioremap()
Dttm_tt.c197 if (placement & TTM_PL_FLAG_WC) in ttm_tt_set_placement_caching()
Dttm_bo.c1001 else if ((TTM_PL_FLAG_WC & caching) != 0) in ttm_bo_select_caching()
1002 result |= TTM_PL_FLAG_WC; in ttm_bo_select_caching()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_ttm.c104 TTM_PL_FLAG_WC; in radeon_init_mem_type()
105 man->default_caching = TTM_PL_FLAG_WC; in radeon_init_mem_type()
115 man->available_caching = TTM_PL_FLAG_UNCACHED | TTM_PL_FLAG_WC; in radeon_init_mem_type()
116 man->default_caching = TTM_PL_FLAG_WC; in radeon_init_mem_type()
440 if (mem->placement & TTM_PL_FLAG_WC) in radeon_ttm_io_mem_reserve()
Dradeon_object.c115 rbo->placements[c++].flags = TTM_PL_FLAG_WC | in radeon_ttm_placement_from_domain()
121 rbo->placements[c++].flags = TTM_PL_FLAG_WC | in radeon_ttm_placement_from_domain()
135 rbo->placements[c++].flags = TTM_PL_FLAG_WC | in radeon_ttm_placement_from_domain()
154 rbo->placements[c++].flags = TTM_PL_FLAG_WC | in radeon_ttm_placement_from_domain()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c138 places[c].flags = TTM_PL_FLAG_WC | TTM_PL_FLAG_UNCACHED | in amdgpu_bo_placement_from_domain()
156 places[c].flags |= TTM_PL_FLAG_WC | in amdgpu_bo_placement_from_domain()
168 places[c].flags |= TTM_PL_FLAG_WC | in amdgpu_bo_placement_from_domain()
Damdgpu_ttm.c112 man->available_caching = TTM_PL_FLAG_UNCACHED | TTM_PL_FLAG_WC; in amdgpu_init_mem_type()
113 man->default_caching = TTM_PL_FLAG_WC; in amdgpu_init_mem_type()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_bo.c673 TTM_PL_FLAG_WC; in nouveau_bo_init_mem_type()
674 man->default_caching = TTM_PL_FLAG_WC; in nouveau_bo_init_mem_type()
703 TTM_PL_FLAG_WC; in nouveau_bo_init_mem_type()
704 man->default_caching = TTM_PL_FLAG_WC; in nouveau_bo_init_mem_type()