Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_dma_cs.c138 (ssrc->flags & RADEON_FLAG_ENCRYPTED) != (sdst->flags & RADEON_FLAG_ENCRYPTED)) { in si_sdma_copy_buffer()
237 if (src && src->flags & RADEON_FLAG_ENCRYPTED) { in si_need_dma_space()
238 assert(!dst || (dst->flags & RADEON_FLAG_ENCRYPTED)); in si_need_dma_space()
240 } else if (dst && (dst->flags & RADEON_FLAG_ENCRYPTED)) { in si_need_dma_space()
Dsi_cp_dma.c343 bool secure = src && (si_resource(src)->flags & RADEON_FLAG_ENCRYPTED); in si_cp_dma_copy_buffer()
344 assert(!secure || (!dst || (si_resource(dst)->flags & RADEON_FLAG_ENCRYPTED))); in si_cp_dma_copy_buffer()
Dsi_descriptors.c273 if (res->flags & RADEON_FLAG_ENCRYPTED) in si_sampler_views_check_encrypted()
655 if (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) in si_image_views_check_encrypted()
1022 (si_resource(buffers->buffers[i])->flags & RADEON_FLAG_ENCRYPTED)) in si_buffer_resources_check_encrypted()
2741 if (!(tex->buffer.flags & RADEON_FLAG_ENCRYPTED)) in si_gfx_resources_check_encrypted()
2755 (zs->buffer.flags & RADEON_FLAG_ENCRYPTED)) { in si_gfx_resources_check_encrypted()
2769 assert(!surf->texture || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED)); in si_gfx_resources_check_encrypted()
2775 assert(!surf->texture || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED)); in si_gfx_resources_check_encrypted()
Dsi_buffer.c173 res->flags |= RADEON_FLAG_ENCRYPTED; in si_init_resource_fields()
176 res->flags |= RADEON_FLAG_ENCRYPTED; in si_init_resource_fields()
Dsi_texture.c80 if ((src->buffer.flags & RADEON_FLAG_ENCRYPTED) != in si_prepare_for_dma_blit()
81 (dst->buffer.flags & RADEON_FLAG_ENCRYPTED)) in si_prepare_for_dma_blit()
1443 if (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) in si_texture_from_winsys_buffer()
1644 if (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) in si_texture_transfer_map()
1671 if (!tex->surface.is_linear || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED)) in si_texture_transfer_map()
Dsi_clear.c507 if (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) in si_do_fast_color_clear()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c521 if ((flags & RADEON_FLAG_ENCRYPTED) && in amdgpu_create_bo()
629 struct pb_slabs *bo_slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in get_slabs()
649 if (bo->flags & RADEON_FLAG_ENCRYPTED) in amdgpu_bo_slab_destroy()
652 RADEON_FLAG_ENCRYPTED), &bo->u.slab.entry); in amdgpu_bo_slab_destroy()
680 flags |= RADEON_FLAG_ENCRYPTED; in amdgpu_bo_slab_alloc()
682 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_slab_alloc()
1301 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_create()
1359 heap = radeon_get_heap_index(domain, flags & ~RADEON_FLAG_ENCRYPTED); in amdgpu_bo_create()
1478 flags |= RADEON_FLAG_ENCRYPTED; in amdgpu_bo_from_handle()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_winsys.h76 RADEON_FLAG_ENCRYPTED = (1 << 7), enumerator
Dradeon_vcn_dec.c921 assert(encrypted == (bool)(dec->dpb.res->flags & RADEON_FLAG_ENCRYPTED)); in rvcn_dec_message_decode()
940 assert(encrypted == (bool)(dec->ctx.res->flags & RADEON_FLAG_ENCRYPTED)); in rvcn_dec_message_decode()