Home
last modified time | relevance | path

Searched refs:emitted (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fence.c305 uint64_t emitted; in amdgpu_fence_count_emitted() local
311 emitted = 0x100000000ull; in amdgpu_fence_count_emitted()
312 emitted -= atomic_read(&ring->fence_drv.last_seq); in amdgpu_fence_count_emitted()
313 emitted += ACCESS_ONCE(ring->fence_drv.sync_seq); in amdgpu_fence_count_emitted()
314 return lower_32_bits(emitted); in amdgpu_fence_count_emitted()
/drivers/gpu/drm/radeon/
Dradeon_fence.c735 uint64_t emitted; in radeon_fence_count_emitted() local
741 emitted = rdev->fence_drv[ring].sync_seq[ring] in radeon_fence_count_emitted()
744 if (emitted > 0x10000000) { in radeon_fence_count_emitted()
745 emitted = 0x10000000; in radeon_fence_count_emitted()
747 return (unsigned)emitted; in radeon_fence_count_emitted()