Searched refs:RADEON_SURF_MODE_2D (Results 1 – 20 of 20) sorted by relevance
179 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in surf_minify()390 surf->level[i].mode = RADEON_SURF_MODE_2D; in r6_surface_init_2d()413 surf->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in r6_surface_init()423 case RADEON_SURF_MODE_2D: in r6_surface_init()465 case RADEON_SURF_MODE_2D: in r6_surface_init()588 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in eg_surf_minify()691 level[i].mode = RADEON_SURF_MODE_2D; in eg_surface_init_2d()733 if (mode == RADEON_SURF_MODE_2D) { in eg_surface_sanity()842 surf->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in eg_surface_init()852 case RADEON_SURF_MODE_2D: in eg_surface_init()[all …]
53 #define RADEON_SURF_MODE_2D 3 macro
50 RADEON_SURF_MODE_2D = 3, enumerator
552 surf_level->mode = RADEON_SURF_MODE_2D; in gfx6_compute_level()645 if (!is_stencil && AddrSurfInfoIn->flags.depth && surf_level->mode == RADEON_SURF_MODE_2D && in gfx6_compute_level()745 surf->u.legacy.level[0].mode == RADEON_SURF_MODE_2D && in gfx6_surface_settings()866 mode = RADEON_SURF_MODE_2D; in gfx6_compute_surface()880 case RADEON_SURF_MODE_2D: in gfx6_compute_surface()1920 case RADEON_SURF_MODE_2D: in gfx9_compute_surface()2235 surf->u.gfx9.surf.swizzle_mode > 0 ? RADEON_SURF_MODE_2D : RADEON_SURF_MODE_LINEAR_ALIGNED; in ac_surface_set_bo_metadata()2246 *mode = RADEON_SURF_MODE_2D; in ac_surface_set_bo_metadata()2283 if (surf->u.legacy.level[0].mode >= RADEON_SURF_MODE_2D) in ac_surface_get_bo_metadata()
399 RADEON_SURF_MODE_2D, &fmask)) { in radeon_winsys_surface_init()404 assert(fmask.u.legacy.level[0].mode == RADEON_SURF_MODE_2D); in radeon_winsys_surface_init()
895 md->mode = RADEON_SURF_MODE_2D; in radeon_bo_get_metadata()948 if (surf->u.legacy.level[0].mode >= RADEON_SURF_MODE_2D) in radeon_bo_set_metadata()
64 return RADEON_SURF_MODE_2D; in radv_choose_tiling()66 return RADEON_SURF_MODE_2D; in radv_choose_tiling()327 surface->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in radv_patch_surface_from_metadata()341 surface->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in radv_patch_surface_from_metadata()650 base_level_info->mode == RADEON_SURF_MODE_2D) in si_set_mutable_tex_desc_fields()1235 metadata->u.legacy.macrotile = surface->u.legacy.level[0].mode >= RADEON_SURF_MODE_2D ? in radv_init_metadata()
6768 if (level_info->mode == RADEON_SURF_MODE_2D) in radv_initialise_color_surface()
281 metadata->u.legacy.macrotile = surface->u.legacy.level[0].mode >= RADEON_SURF_MODE_2D ? in r600_texture_init_metadata()307 *array_mode = RADEON_SURF_MODE_2D; in r600_surface_import_metadata()641 flags, bpe, RADEON_SURF_MODE_2D, &fmask)) { in r600_texture_get_fmask_info()646 assert(fmask.u.legacy.level[0].mode == RADEON_SURF_MODE_2D); in r600_texture_get_fmask_info()1043 return RADEON_SURF_MODE_2D; in r600_choose_tiling()1089 return RADEON_SURF_MODE_2D; in r600_choose_tiling()
150 case RADEON_SURF_MODE_2D: in array_mode_to_string()
744 case RADEON_SURF_MODE_2D: in r600_create_sampler_view_custom()845 case RADEON_SURF_MODE_2D: in r600_init_color_surface()1051 case RADEON_SURF_MODE_2D: in r600_init_depth_surface()2838 case RADEON_SURF_MODE_2D: return V_0280A0_ARRAY_2D_TILED_THIN1; in r600_array_mode()
1219 case RADEON_SURF_MODE_2D: in ruvd_set_dt_surfaces()
44 case RADEON_SURF_MODE_2D: return V_028C70_ARRAY_2D_TILED_THIN1; in evergreen_array_mode()802 case RADEON_SURF_MODE_2D: in evergreen_fill_tex_resource_words()1152 case RADEON_SURF_MODE_2D: in evergreen_set_color_surface_common()1367 case RADEON_SURF_MODE_2D: in evergreen_init_depth_surface()
220 unsigned dst_tile_swizzle = dst_mode == RADEON_SURF_MODE_2D ? sdst->surface.tile_swizzle : 0; in cik_sdma_copy_texture()221 unsigned src_tile_swizzle = src_mode == RADEON_SURF_MODE_2D ? ssrc->surface.tile_swizzle : 0; in cik_sdma_copy_texture()
145 case RADEON_SURF_MODE_2D: in array_mode_to_string()
244 (sscreen->info.chip_class >= GFX9 || array_mode == RADEON_SURF_MODE_2D)) { in si_init_surface()1238 return RADEON_SURF_MODE_2D; in si_choose_tiling()1248 return RADEON_SURF_MODE_2D; in si_choose_tiling()1286 return RADEON_SURF_MODE_2D; in si_choose_tiling()
278 tex->surface.u.legacy.level[0].mode == RADEON_SURF_MODE_2D); in si_set_optimal_micro_tile_mode()
330 if (sscreen->info.chip_class >= GFX9 || base_level_info->mode == RADEON_SURF_MODE_2D) in si_set_mutable_tex_desc_fields()342 assert(base_level_info->mode == RADEON_SURF_MODE_2D); in si_set_mutable_tex_desc_fields()
3049 if (level_info->mode == RADEON_SURF_MODE_2D) in si_emit_framebuffer_state()
1453 case RADEON_SURF_MODE_2D: in si_uvd_set_dt_surfaces()