Home
last modified time | relevance | path

Searched refs:prime_shared_count (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_prime.c82 bo->prime_shared_count = 1; in radeon_gem_prime_import_sg_table()
108 bo->prime_shared_count++; in radeon_gem_prime_pin()
124 if (bo->prime_shared_count) in radeon_gem_prime_unpin()
125 bo->prime_shared_count--; in radeon_gem_prime_unpin()
Dradeon_gem.c127 if (domain == RADEON_GEM_DOMAIN_VRAM && robj->prime_shared_count) { in radeon_gem_set_domain()
Dradeon_object.c355 if (bo->prime_shared_count && domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_bo_pin_restricted()
Dradeon_cs.c177 if (p->relocs[i].robj->prime_shared_count) { in radeon_cs_parser_relocs()
Dradeon.h505 unsigned prime_shared_count; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c206 bo->prime_shared_count++; in amdgpu_dma_buf_attach()
226 if (attach->dev->driver != adev->dev->driver && bo->prime_shared_count) in amdgpu_dma_buf_detach()
227 bo->prime_shared_count--; in amdgpu_dma_buf_detach()
495 bo->prime_shared_count = 1; in amdgpu_dma_buf_create_obj()
Damdgpu_object.h97 unsigned prime_shared_count; member
Damdgpu_gem.c759 if (robj->prime_shared_count && (args->value & AMDGPU_GEM_DOMAIN_VRAM)) { in amdgpu_gem_op_ioctl()
Damdgpu_object.c913 if (bo->prime_shared_count) { in amdgpu_bo_pin_restricted()
Damdgpu_cs.c623 if (bo->prime_shared_count) in amdgpu_cs_parser_bos()