Home
last modified time | relevance | path

Searched refs:gfx9 (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/amd/addrlib/
Dmeson.build36 'gfx9/chip/gfx9_enum.h',
37 'gfx9/coord.cpp',
38 'gfx9/coord.h',
39 'gfx9/gfx9addrlib.cpp',
40 'gfx9/gfx9addrlib.h',
42 'inc/chip/gfx9/gfx9_gb_reg.h',
58 'core', 'inc/chip/gfx9', 'inc/chip/r800', 'gfx9/chip', 'r800/chip',
/external/mesa3d/src/amd/common/
Dac_surface.c867 surf->u.gfx9.stencil.swizzle_mode = in->swizzleMode; in gfx9_compute_miptree()
868 surf->u.gfx9.stencil.epitch = out.epitchIsHeight ? out.mipChainHeight - 1 : in gfx9_compute_miptree()
871 surf->u.gfx9.stencil_offset = align(surf->surf_size, out.baseAlign); in gfx9_compute_miptree()
872 surf->surf_size = surf->u.gfx9.stencil_offset + out.surfSize; in gfx9_compute_miptree()
876 surf->u.gfx9.surf.swizzle_mode = in->swizzleMode; in gfx9_compute_miptree()
877 surf->u.gfx9.surf.epitch = out.epitchIsHeight ? out.mipChainHeight - 1 : in gfx9_compute_miptree()
883 surf->u.gfx9.fmask.swizzle_mode = surf->u.gfx9.surf.swizzle_mode & ~0x3; in gfx9_compute_miptree()
884 surf->u.gfx9.fmask.epitch = surf->u.gfx9.surf.epitch; in gfx9_compute_miptree()
886 surf->u.gfx9.surf_slice_size = out.sliceSize; in gfx9_compute_miptree()
887 surf->u.gfx9.surf_pitch = out.pitch; in gfx9_compute_miptree()
[all …]
Dac_surface.h209 struct gfx9_surf_layout gfx9; member
/external/mesa3d/src/amd/
DMakefile.sources23 addrlib/gfx9/chip/gfx9_enum.h \
24 addrlib/gfx9/coord.cpp \
25 addrlib/gfx9/coord.h \
26 addrlib/gfx9/gfx9addrlib.cpp \
27 addrlib/gfx9/gfx9addrlib.h \
28 addrlib/inc/chip/gfx9/gfx9_gb_reg.h \
DAndroid.addrlib.mk38 $(MESA_TOP)/src/amd/addrlib/inc/chip/gfx9 \
40 $(MESA_TOP)/src/amd/addrlib/gfx9/chip \
DMakefile.addrlib.am29 -I$(srcdir)/addrlib/inc/chip/gfx9 \
31 -I$(srcdir)/addrlib/gfx9/chip \
/external/mesa3d/src/amd/vulkan/
Dradv_image.c251 va += image->surface.u.gfx9.stencil_offset; in si_set_mutable_tex_desc_fields()
253 va += image->surface.u.gfx9.surf_offset; in si_set_mutable_tex_desc_fields()
288 state[3] |= S_008F1C_SW_MODE(image->surface.u.gfx9.stencil.swizzle_mode); in si_set_mutable_tex_desc_fields()
289 state[4] |= S_008F20_PITCH_GFX9(image->surface.u.gfx9.stencil.epitch); in si_set_mutable_tex_desc_fields()
291 state[3] |= S_008F1C_SW_MODE(image->surface.u.gfx9.surf.swizzle_mode); in si_set_mutable_tex_desc_fields()
292 state[4] |= S_008F20_PITCH_GFX9(image->surface.u.gfx9.surf.epitch); in si_set_mutable_tex_desc_fields()
302 meta = image->surface.u.gfx9.dcc; in si_set_mutable_tex_desc_fields()
304 meta = image->surface.u.gfx9.htile; in si_set_mutable_tex_desc_fields()
323 unsigned nr_layers, unsigned nr_samples, bool is_storage_image, bool gfx9) in radv_tex_dim() argument
329 if (gfx9 && image_type == VK_IMAGE_TYPE_1D) in radv_tex_dim()
[all …]
Dradv_device.c3109 meta = iview->image->surface.u.gfx9.dcc; in radv_initialise_color_surface()
3111 meta = iview->image->surface.u.gfx9.cmask; in radv_initialise_color_surface()
3113 cb->cb_color_attrib |= S_028C74_COLOR_SW_MODE(iview->image->surface.u.gfx9.surf.swizzle_mode) | in radv_initialise_color_surface()
3114 S_028C74_FMASK_SW_MODE(iview->image->surface.u.gfx9.fmask.swizzle_mode) | in radv_initialise_color_surface()
3118 cb->cb_color_base += iview->image->surface.u.gfx9.surf_offset >> 8; in radv_initialise_color_surface()
3284 S_028C74_RESOURCE_TYPE(iview->image->surface.u.gfx9.resource_type); in radv_initialise_color_surface()
3340 assert(iview->image->surface.u.gfx9.surf_offset == 0); in radv_initialise_ds_surface()
3341 s_offs += iview->image->surface.u.gfx9.stencil_offset; in radv_initialise_ds_surface()
3345 S_028038_SW_MODE(iview->image->surface.u.gfx9.surf.swizzle_mode) | in radv_initialise_ds_surface()
3348 S_02803C_SW_MODE(iview->image->surface.u.gfx9.stencil.swizzle_mode); in radv_initialise_ds_surface()
[all …]
Dradv_radeon_winsys.h148 } gfx9; member
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_texture.c188 *stride = rtex->surface.u.gfx9.surf_pitch * rtex->surface.bpe; in r600_texture_get_offset()
189 *layer_stride = rtex->surface.u.gfx9.surf_slice_size; in r600_texture_get_offset()
196 return box->z * rtex->surface.u.gfx9.surf_slice_size + in r600_texture_get_offset()
197 rtex->surface.u.gfx9.offset[level] + in r600_texture_get_offset()
199 rtex->surface.u.gfx9.surf_pitch + in r600_texture_get_offset()
305 surface->u.gfx9.surf_pitch = pitch; in r600_init_surface()
306 surface->u.gfx9.surf_slice_size = in r600_init_surface()
307 (uint64_t)pitch * surface->u.gfx9.surf_height * bpe; in r600_init_surface()
309 surface->u.gfx9.surf_offset = offset; in r600_init_surface()
333 metadata->u.gfx9.swizzle_mode = surface->u.gfx9.surf.swizzle_mode; in r600_texture_init_metadata()
[all …]
Dradeon_video.c178 surfaces[i]->u.gfx9.surf_offset += off; in si_vid_join_surfaces()
179 for (j = 0; j < ARRAY_SIZE(surfaces[i]->u.gfx9.offset); ++j) in si_vid_join_surfaces()
180 surfaces[i]->u.gfx9.offset[j] += off; in si_vid_join_surfaces()
Dradeon_vce_52.c187 RVCE_CS(enc->luma->u.gfx9.surf_pitch * enc->luma->bpe); // encRefPicLumaPitch in create()
188 RVCE_CS(enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe); // encRefPicChromaPitch in create()
189 RVCE_CS(align(enc->luma->u.gfx9.surf_height, 16) / 8); // encRefYHeightInQw in create()
263 enc->luma->u.gfx9.surf_offset); // inputPictureLumaAddressHi/Lo in encode()
265 enc->chroma->u.gfx9.surf_offset); // inputPictureChromaAddressHi/Lo in encode()
266 RVCE_CS(align(enc->luma->u.gfx9.surf_height, 16)); // encInputFrameYPitch in encode()
267 RVCE_CS(enc->luma->u.gfx9.surf_pitch * enc->luma->bpe); // encInputPicLumaPitch in encode()
268 RVCE_CS(enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe); // encInputPicChromaPitch in encode()
Dradeon_vce.c229 pitch = align(enc->luma->u.gfx9.surf_pitch * enc->luma->bpe, 256); in si_vce_frame_offset()
230 vpitch = align(enc->luma->u.gfx9.surf_height, 16); in si_vce_frame_offset()
466 align(tmp_surf->u.gfx9.surf_pitch * tmp_surf->bpe, 256) * in si_vce_create_encoder()
467 align(tmp_surf->u.gfx9.surf_height, 32); in si_vce_create_encoder()
Dradeon_vcn_enc.c281 align(tmp_surf->u.gfx9.surf_pitch * tmp_surf->bpe, 256) * in radeon_create_encoder()
282 align(tmp_surf->u.gfx9.surf_height, 32); in radeon_create_encoder()
Dradeon_vcn_dec.c661 decode->dt_pitch = luma->surface.u.gfx9.surf_pitch * luma->surface.blk_w; in rvcn_dec_message_decode()
671 decode->dt_luma_top_offset = luma->surface.u.gfx9.surf_offset; in rvcn_dec_message_decode()
672 decode->dt_chroma_top_offset = chroma->surface.u.gfx9.surf_offset; in rvcn_dec_message_decode()
674 decode->dt_luma_bottom_offset = luma->surface.u.gfx9.surf_offset + in rvcn_dec_message_decode()
675 luma->surface.u.gfx9.surf_slice_size; in rvcn_dec_message_decode()
676 decode->dt_chroma_bottom_offset = chroma->surface.u.gfx9.surf_offset + in rvcn_dec_message_decode()
677 chroma->surface.u.gfx9.surf_slice_size; in rvcn_dec_message_decode()
Dradeon_vcn_enc_1_2.c709 enc->enc_pic.enc_params.input_pic_luma_pitch = enc->luma->u.gfx9.surf_pitch; in radeon_enc_encode_params()
710 enc->enc_pic.enc_params.input_pic_chroma_pitch = enc->chroma->u.gfx9.surf_pitch; in radeon_enc_encode_params()
723 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->luma->u.gfx9.surf_offset); in radeon_enc_encode_params()
724 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.gfx9.surf_offset); in radeon_enc_encode_params()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c254 assert(rtex->surface.u.gfx9.surf.swizzle_mode >= 4); in si_set_optimal_micro_tile_mode()
264 assert(rtex->surface.u.gfx9.surf.swizzle_mode % 4 != 0); in si_set_optimal_micro_tile_mode()
268 rtex->surface.u.gfx9.surf.swizzle_mode &= ~0x3; in si_set_optimal_micro_tile_mode()
269 rtex->surface.u.gfx9.surf.swizzle_mode += 2; /* D */ in si_set_optimal_micro_tile_mode()
272 rtex->surface.u.gfx9.surf.swizzle_mode &= ~0x3; in si_set_optimal_micro_tile_mode()
273 rtex->surface.u.gfx9.surf.swizzle_mode += 1; /* S */ in si_set_optimal_micro_tile_mode()
276 rtex->surface.u.gfx9.surf.swizzle_mode &= ~0x3; in si_set_optimal_micro_tile_mode()
277 rtex->surface.u.gfx9.surf.swizzle_mode += 3; /* R */ in si_set_optimal_micro_tile_mode()
Dsi_state.c1934 rtex->surface.u.gfx9.resource_type == RADEON_RESOURCE_2D) { in si_tex_dim()
2489 S_028C74_RESOURCE_TYPE(rtex->surface.u.gfx9.resource_type); in si_initialize_color_surface()
2527 assert(rtex->surface.u.gfx9.surf_offset == 0); in si_init_depth_surface()
2530 rtex->surface.u.gfx9.stencil_offset) >> 8; in si_init_depth_surface()
2533 S_028038_SW_MODE(rtex->surface.u.gfx9.surf.swizzle_mode) | in si_init_depth_surface()
2536 S_02803C_SW_MODE(rtex->surface.u.gfx9.stencil.swizzle_mode); in si_init_depth_surface()
2537 surf->db_z_info2 = S_028068_EPITCH(rtex->surface.u.gfx9.surf.epitch); in si_init_depth_surface()
2538 surf->db_stencil_info2 = S_02806C_EPITCH(rtex->surface.u.gfx9.stencil.epitch); in si_init_depth_surface()
2572 S_028ABC_PIPE_ALIGNED(rtex->surface.u.gfx9.htile.pipe_aligned) | in si_init_depth_surface()
2573 S_028ABC_RB_ALIGNED(rtex->surface.u.gfx9.htile.rb_aligned); in si_init_depth_surface()
[all …]
Dsi_descriptors.c330 va += tex->surface.u.gfx9.stencil_offset; in si_set_mutable_tex_desc_fields()
332 va += tex->surface.u.gfx9.surf_offset; in si_set_mutable_tex_desc_fields()
377 state[3] |= S_008F1C_SW_MODE(tex->surface.u.gfx9.stencil.swizzle_mode); in si_set_mutable_tex_desc_fields()
378 state[4] |= S_008F20_PITCH_GFX9(tex->surface.u.gfx9.stencil.epitch); in si_set_mutable_tex_desc_fields()
380 state[3] |= S_008F1C_SW_MODE(tex->surface.u.gfx9.surf.swizzle_mode); in si_set_mutable_tex_desc_fields()
381 state[4] |= S_008F20_PITCH_GFX9(tex->surface.u.gfx9.surf.epitch); in si_set_mutable_tex_desc_fields()
391 meta = tex->surface.u.gfx9.dcc; in si_set_mutable_tex_desc_fields()
393 meta = tex->surface.u.gfx9.htile; in si_set_mutable_tex_desc_fields()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dstore-hi16.ll18 ; FIXME: ABI for pre-gfx9
38 ; FIXME: ABI for pre-gfx9
119 ; FIXME: ABI for pre-gfx9
401 ; FIXME: ABI for pre-gfx9
420 ; FIXME: ABI for pre-gfx9
514 ; FIXME: ABI for pre-gfx9
553 ; FIXME: ABI for pre-gfx9
572 ; FIXME: ABI for pre-gfx9
627 ; FIXME: ABI for pre-gfx9
Damdpal_scratch_mergedshader.ll3 ; On gfx9 and later, a HS is a merged shader, in which s0-s7 are reserved by the
Dmul.i16.ll60 ; FIXME: Unpack garbage on gfx9
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DAMDGPUUsage.rst1608 :name: amdgpu-amdhsa-kernel-descriptor-gfx6-gfx9-table
1646 … :ref:`amdgpu-amdhsa-compute_pgm_rsrc1-gfx6-gfx9-table`.
1653 … :ref:`amdgpu-amdhsa-compute_pgm_rsrc2-gfx6-gfx9-table`.
1681 :name: amdgpu-amdhsa-compute_pgm_rsrc1-gfx6-gfx9-table
1911 :name: amdgpu-amdhsa-compute_pgm_rsrc2-gfx6-gfx9-table
2453 :ref:`amdgpu-amdhsa-memory-model-code-sequences-gfx6-gfx9-table`.
2595 :name: amdgpu-amdhsa-memory-model-code-sequences-gfx6-gfx9-table
3800 :ref:`amdgpu-amdhsa-memory-model-single-thread-optimization-constraints-gfx6-gfx9-table`.
3803 :name: amdgpu-amdhsa-memory-model-single-thread-optimization-constraints-gfx6-gfx9-table
4485 … :ref:`amdgpu-amdhsa-kernel-descriptor-gfx6-gfx9-table`.
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/AMDGPU/
Dinline-target-cpu.ll35 ; Make sure gfx9 can call unspecified functions because of movrel
/external/mesa3d/bin/
D.cherry-ignore26 d15fb766aa3c98ffbe16d050b2af4804e4b12c57 radeonsi/gfx9: fix a hang with an empty first IB

12