Home
last modified time | relevance | path

Searched refs:RADEON_FLAG_ENCRYPTED (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c123 bool tmz = (ssrc->buffer.flags & RADEON_FLAG_ENCRYPTED); in si_sdma_v4_v5_copy_texture()
124 assert (!tmz || (sdst->buffer.flags & RADEON_FLAG_ENCRYPTED)); in si_sdma_v4_v5_copy_texture()
473 if ((bool) (src->buffer.flags & RADEON_FLAG_ENCRYPTED) != in si_sdma_copy_image()
Dsi_cp_dma.c332 bool secure = src && (si_resource(src)->flags & RADEON_FLAG_ENCRYPTED); in si_cp_dma_copy_buffer()
333 assert(!secure || (!dst || (si_resource(dst)->flags & RADEON_FLAG_ENCRYPTED))); in si_cp_dma_copy_buffer()
Dsi_buffer.c122 res->flags |= RADEON_FLAG_ENCRYPTED; in si_init_resource_fields()
125 res->flags |= RADEON_FLAG_ENCRYPTED; in si_init_resource_fields()
Dsi_descriptors.c261 if (res->flags & RADEON_FLAG_ENCRYPTED) in si_sampler_views_check_encrypted()
693 if (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) in si_image_views_check_encrypted()
1094 if (si_resource(buffers->buffers[i])->flags & RADEON_FLAG_ENCRYPTED) in si_buffer_resources_check_encrypted()
2780 if (!(tex->buffer.flags & RADEON_FLAG_ENCRYPTED)) in si_gfx_resources_check_encrypted()
2794 (zs->buffer.flags & RADEON_FLAG_ENCRYPTED)) { in si_gfx_resources_check_encrypted()
2808 assert(!surf->texture || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED)); in si_gfx_resources_check_encrypted()
2814 assert(!surf->texture || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED)); in si_gfx_resources_check_encrypted()
Dsi_texture.c1506 if (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) in si_texture_from_winsys_buffer()
1745 bool use_staging_texture = tex->buffer.flags & RADEON_FLAG_ENCRYPTED; in si_texture_transfer_map()
1753 if ((tex->buffer.flags & RADEON_FLAG_ENCRYPTED) && usage & PIPE_MAP_READ) in si_texture_transfer_map()
1783 if (!tex->surface.is_linear || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) || in si_texture_transfer_map()
Dsi_clear.c682 if (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) in si_fast_clear()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c536 if ((flags & RADEON_FLAG_ENCRYPTED) && in amdgpu_create_bo()
635 struct pb_slabs *bo_slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in get_slabs()
666 slabs = get_slabs(ws, bo->base.size, bo->base.usage & RADEON_FLAG_ENCRYPTED); in amdgpu_bo_slab_destroy()
718 flags |= RADEON_FLAG_ENCRYPTED; in amdgpu_bo_slab_alloc()
720 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_slab_alloc()
1377 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_create()
1459 heap = radeon_get_heap_index(domain, flags & ~RADEON_FLAG_ENCRYPTED); in amdgpu_bo_create()
1577 flags |= RADEON_FLAG_ENCRYPTED; in amdgpu_bo_from_handle()
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_winsys.h76 RADEON_FLAG_ENCRYPTED = (1 << 7), enumerator
Dradeon_vcn_dec.c1556 assert(encrypted == (bool)(dec->dpb.res->flags & RADEON_FLAG_ENCRYPTED)); in rvcn_dec_message_decode()
1575 assert((encrypted && dec->tmz_ctx) == (bool)(dec->ctx.res->flags & RADEON_FLAG_ENCRYPTED)); in rvcn_dec_message_decode()