Lines Matching refs:gfx9
2178 tex->surface.u.gfx9.resource_type == RADEON_RESOURCE_2D) { in si_tex_dim()
2631 … S_028C78_MAX_COMPRESSED_BLOCK_SIZE(tex->surface.u.gfx9.color.dcc.max_compressed_block_size) | in si_initialize_color_surface()
2633 … S_028C78_INDEPENDENT_64B_BLOCKS(tex->surface.u.gfx9.color.dcc.independent_64B_blocks); in si_initialize_color_surface()
2635 …surf->cb_dcc_control |= S_028C78_INDEPENDENT_128B_BLOCKS_GFX11(tex->surface.u.gfx9.color.dcc.indep… in si_initialize_color_surface()
2637 …surf->cb_dcc_control |= S_028C78_INDEPENDENT_128B_BLOCKS_GFX10(tex->surface.u.gfx9.color.dcc.indep… in si_initialize_color_surface()
2670 S_028EE0_RESOURCE_TYPE(tex->surface.u.gfx9.resource_type) | in si_initialize_color_surface()
2675 S_028C74_RESOURCE_TYPE(tex->surface.u.gfx9.resource_type); in si_initialize_color_surface()
2719 assert(tex->surface.u.gfx9.surf_offset == 0); in si_init_depth_surface()
2721 … surf->db_stencil_base = (tex->buffer.gpu_address + tex->surface.u.gfx9.zs.stencil_offset) >> 8; in si_init_depth_surface()
2724 S_028038_SW_MODE(tex->surface.u.gfx9.swizzle_mode) | in si_init_depth_surface()
2728 S_02803C_SW_MODE(tex->surface.u.gfx9.zs.stencil_swizzle_mode) | in si_init_depth_surface()
2732 surf->db_z_info2 = S_028068_EPITCH(tex->surface.u.gfx9.epitch); in si_init_depth_surface()
2733 surf->db_stencil_info2 = S_02806C_EPITCH(tex->surface.u.gfx9.zs.stencil_epitch); in si_init_depth_surface()
3083 if (sctx->gfx_level >= GFX9 && !tex->surface.u.gfx9.color.dcc.pipe_aligned) in si_set_framebuffer_state()
3292 cb_color_base += tex->surface.u.gfx9.surf_offset >> 8; in si_emit_framebuffer_state()
3296 S_028EE0_COLOR_SW_MODE(tex->surface.u.gfx9.swizzle_mode) | in si_emit_framebuffer_state()
3297 S_028EE0_DCC_PIPE_ALIGNED(tex->surface.u.gfx9.color.dcc.pipe_aligned); in si_emit_framebuffer_state()
3318 cb_color_base += tex->surface.u.gfx9.surf_offset >> 8; in si_emit_framebuffer_state()
3326 S_028EE0_COLOR_SW_MODE(tex->surface.u.gfx9.swizzle_mode) | in si_emit_framebuffer_state()
3327 S_028EE0_FMASK_SW_MODE(tex->surface.u.gfx9.color.fmask_swizzle_mode) | in si_emit_framebuffer_state()
3329 S_028EE0_DCC_PIPE_ALIGNED(tex->surface.u.gfx9.color.dcc.pipe_aligned); in si_emit_framebuffer_state()
3362 meta = tex->surface.u.gfx9.color.dcc; in si_emit_framebuffer_state()
3365 cb_color_base += tex->surface.u.gfx9.surf_offset >> 8; in si_emit_framebuffer_state()
3371 cb_color_attrib |= S_028C74_COLOR_SW_MODE(tex->surface.u.gfx9.swizzle_mode) | in si_emit_framebuffer_state()
3372 S_028C74_FMASK_SW_MODE(tex->surface.u.gfx9.color.fmask_swizzle_mode) | in si_emit_framebuffer_state()
3394 S_0287A0_EPITCH(tex->surface.u.gfx9.epitch)); in si_emit_framebuffer_state()
4114 … S_00A018_MAX_COMPRESSED_BLOCK_SIZE(tex->surface.u.gfx9.color.dcc.max_compressed_block_size) | in gfx10_make_texture_descriptor()
4177 S_00A00C_SW_MODE(tex->surface.u.gfx9.color.fmask_swizzle_mode) | in gfx10_make_texture_descriptor()
4501 fmask_state[3] |= S_008F1C_SW_MODE(tex->surface.u.gfx9.color.fmask_swizzle_mode); in si_make_texture_descriptor()
4503 S_008F20_DEPTH(last_layer) | S_008F20_PITCH(tex->surface.u.gfx9.color.fmask_epitch); in si_make_texture_descriptor()