Searched refs:prime_shared_count (Results 1 – 10 of 10) sorted by relevance
82 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()
127 if (domain == RADEON_GEM_DOMAIN_VRAM && robj->prime_shared_count) { in radeon_gem_set_domain()
355 if (bo->prime_shared_count && domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_bo_pin_restricted()
177 if (p->relocs[i].robj->prime_shared_count) { in radeon_cs_parser_relocs()
505 unsigned prime_shared_count; member
206 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()
97 unsigned prime_shared_count; member
759 if (robj->prime_shared_count && (args->value & AMDGPU_GEM_DOMAIN_VRAM)) { in amdgpu_gem_op_ioctl()
913 if (bo->prime_shared_count) { in amdgpu_bo_pin_restricted()
623 if (bo->prime_shared_count) in amdgpu_cs_parser_bos()