Home
last modified time | relevance | path

Searched refs:fence_map (Results 1 – 14 of 14) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/sync/
Dsync_stress_merge.c42 int fence_map[timeline_count]; in test_merge_stress_random_merge() local
55 memset(fence_map, -1, sizeof(fence_map)); in test_merge_stress_random_merge()
56 fence_map[0] = 0; in test_merge_stress_random_merge()
69 if (fence_map[timeline_offset] == -1) in test_merge_stress_random_merge()
70 fence_map[timeline_offset] = sync_point; in test_merge_stress_random_merge()
71 else if (fence_map[timeline_offset] < sync_point) in test_merge_stress_random_merge()
72 fence_map[timeline_offset] = sync_point; in test_merge_stress_random_merge()
87 if (fence_map[i] != -1) in test_merge_stress_random_merge()
96 if (fence_map[i] != -1) { in test_merge_stress_random_merge()
101 sw_sync_timeline_inc(timelines[i], fence_map[i]); in test_merge_stress_random_merge()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video.c272 dec->fence_map = dec->fence_bo->map; in nv98_create_decoder()
273 dec->fence_map[0] = dec->fence_map[4] = dec->fence_map[8] = 0; in nv98_create_decoder()
274 dec->comm = (struct comm *)(dec->fence_map + (COMM_OFFSET/sizeof(*dec->fence_map))); in nv98_create_decoder()
311 while (dec->fence_seq > dec->fence_map[0] || in nv98_create_decoder()
312 dec->fence_seq > dec->fence_map[4] || in nv98_create_decoder()
313 dec->fence_seq > dec->fence_map[8]) { in nv98_create_decoder()
314 …debug_printf("%u: %u %u %u\n", dec->fence_seq, dec->fence_map[0], dec->fence_map[4], dec->fence_ma… in nv98_create_decoder()
317 …debug_printf("%u: %u %u %u\n", dec->fence_seq, dec->fence_map[0], dec->fence_map[4], dec->fence_ma… in nv98_create_decoder()
Dnv98_video_ppp.c130 debug_printf("p%u: %u\n", dec->fence_seq, dec->fence_map[8]); in nv98_decoder_ppp()
131 } while (dec->fence_seq > dec->fence_map[8]); in nv98_decoder_ppp()
Dnv98_video_bsp.c176 debug_printf("b%u: %u\n", dec->fence_seq, dec->fence_map[0]); in nv98_decoder_bsp()
179 } while (dec->fence_seq > dec->fence_map[0]); in nv98_decoder_bsp()
Dnv98_video_vp.c186 debug_printf("v%u: %u\n", dec->fence_seq, dec->fence_map[4]); in nv98_decoder_vp()
189 } while (dec->fence_seq > dec->fence_map[4]); in nv98_decoder_vp()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c296 dec->fence_map = dec->fence_bo->map; in nvc0_create_decoder()
297 dec->fence_map[0] = dec->fence_map[4] = dec->fence_map[8] = 0; in nvc0_create_decoder()
298 dec->comm = (struct comm *)(dec->fence_map + (COMM_OFFSET/sizeof(*dec->fence_map))); in nvc0_create_decoder()
335 while (dec->fence_seq > dec->fence_map[0] || in nvc0_create_decoder()
336 dec->fence_seq > dec->fence_map[4] || in nvc0_create_decoder()
337 dec->fence_seq > dec->fence_map[8]) { in nvc0_create_decoder()
338 …debug_printf("%u: %u %u %u\n", dec->fence_seq, dec->fence_map[0], dec->fence_map[4], dec->fence_ma… in nvc0_create_decoder()
341 …debug_printf("%u: %u %u %u\n", dec->fence_seq, dec->fence_map[0], dec->fence_map[4], dec->fence_ma… in nvc0_create_decoder()
Dnvc0_video_ppp.c130 debug_printf("p%u: %u\n", dec->fence_seq, dec->fence_map[8]); in nvc0_decoder_ppp()
131 } while (dec->fence_seq > dec->fence_map[8]); in nvc0_decoder_ppp()
Dnvc0_video_bsp.c225 debug_printf("b%u: %u\n", dec->fence_seq, dec->fence_map[0]); in nvc0_decoder_bsp_end()
228 } while (dec->fence_seq > dec->fence_map[0]); in nvc0_decoder_bsp_end()
Dnvc0_video_vp.c186 debug_printf("v%u: %u\n", dec->fence_seq, dec->fence_map[4]); in nvc0_decoder_vp()
189 } while (dec->fence_seq > dec->fence_map[4]); in nvc0_decoder_vp()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.h56 uint64_t *fence_map; member
Dradv_amdgpu_cs.c112 …fence->user_ptr = (volatile uint64_t*)(ctx->fence_map + (req->ip_type * MAX_RINGS_PER_TYPE + req->… in radv_amdgpu_request_to_fence()
716 if (ctx->fence_map) { in radv_set_cs_fence()
1190 ctx->fence_map = (uint64_t*)ws->base.buffer_map(ctx->fence_bo); in radv_amdgpu_ctx_create()
1191 if (ctx->fence_map) in radv_amdgpu_ctx_create()
1192 memset(ctx->fence_map, 0, 4096); in radv_amdgpu_ctx_create()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.h29 unsigned *fence_map; member
Dnouveau_video.c59 if (dec->fence_map) { in nouveau_vpe_synch()
63 while (dec->fence_map[0] != dec->fence_seq) in nouveau_vpe_synch()
586 dec->fence_map = dec->fence_bo->map; in nouveau_create_decoder()
587 dec->fence_map[0] = 0; in nouveau_create_decoder()
Dnouveau_vp3_video.h72 unsigned *fence_map; member