Home
last modified time | relevance | path

Searched refs:hq (Results 1 – 25 of 64) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query_hw.c46 struct nv50_hw_query *hq = nv50_hw_query(q); in nv50_hw_query_allocate() local
49 if (hq->bo) { in nv50_hw_query_allocate()
50 nouveau_bo_ref(NULL, &hq->bo); in nv50_hw_query_allocate()
51 if (hq->mm) { in nv50_hw_query_allocate()
52 if (hq->state == NV50_HW_QUERY_STATE_READY) in nv50_hw_query_allocate()
53 nouveau_mm_free(hq->mm); in nv50_hw_query_allocate()
56 nouveau_mm_free_work, hq->mm); in nv50_hw_query_allocate()
60 hq->mm = nouveau_mm_allocate(screen->base.mm_GART, size, in nv50_hw_query_allocate()
61 &hq->bo, &hq->base_offset); in nv50_hw_query_allocate()
62 if (!hq->bo) in nv50_hw_query_allocate()
[all …]
Dnv50_query_hw_metric.c60 struct nv50_hw_query *hq) in nv50_hw_metric_query_get_cfg() argument
62 struct nv50_query *q = &hq->base; in nv50_hw_metric_query_get_cfg()
68 struct nv50_hw_query *hq) in nv50_hw_metric_destroy_query() argument
70 struct nv50_hw_metric_query *hmq = nv50_hw_metric_query(hq); in nv50_hw_metric_destroy_query()
80 nv50_hw_metric_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_metric_begin_query() argument
82 struct nv50_hw_metric_query *hmq = nv50_hw_metric_query(hq); in nv50_hw_metric_begin_query()
95 nv50_hw_metric_end_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_metric_end_query() argument
97 struct nv50_hw_metric_query *hmq = nv50_hw_metric_query(hq); in nv50_hw_metric_end_query()
105 sm11_hw_metric_calc_result(struct nv50_hw_query *hq, uint64_t res64[8]) in sm11_hw_metric_calc_result() argument
107 switch (hq->base.type - NV50_HW_METRIC_QUERY(0)) { in sm11_hw_metric_calc_result()
[all …]
Dnv50_query_hw_sm.c146 nv50_hw_sm_query_get_cfg(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_query_get_cfg() argument
148 struct nv50_query *q = &hq->base; in nv50_hw_sm_query_get_cfg()
153 nv50_hw_sm_destroy_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_destroy_query() argument
155 struct nv50_query *q = &hq->base; in nv50_hw_sm_destroy_query()
157 nouveau_fence_ref(NULL, &hq->fence); in nv50_hw_sm_destroy_query()
158 FREE(hq); in nv50_hw_sm_destroy_query()
162 nv50_hw_sm_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_begin_query() argument
166 struct nv50_hw_sm_query *hsq = nv50_hw_sm_query(hq); in nv50_hw_sm_begin_query()
171 cfg = nv50_hw_sm_query_get_cfg(nv50, hq); in nv50_hw_sm_begin_query()
185 hq->data[b + 16] = 0; in nv50_hw_sm_begin_query()
[all …]
Dnv50_query.c81 struct nv50_hw_query *hq = nv50_hw_query(q); in nv50_render_condition() local
101 if (hq->state == NV50_HW_QUERY_STATE_READY) in nv50_render_condition()
130 if (wait && hq->state != NV50_HW_QUERY_STATE_READY) { in nv50_render_condition()
135 PUSH_REFN (push, hq->bo, NOUVEAU_BO_GART | NOUVEAU_BO_RD); in nv50_render_condition()
137 PUSH_DATAh(push, hq->bo->offset + hq->offset); in nv50_render_condition()
138 PUSH_DATA (push, hq->bo->offset + hq->offset); in nv50_render_condition()
142 PUSH_DATAh(push, hq->bo->offset + hq->offset); in nv50_render_condition()
143 PUSH_DATA (push, hq->bo->offset + hq->offset); in nv50_render_condition()
Dnv50_query_hw_metric.h13 nv50_hw_metric_query(struct nv50_hw_query *hq) in nv50_hw_metric_query() argument
15 return (struct nv50_hw_metric_query *)hq; in nv50_hw_metric_query()
Dnv50_query_hw_sm.h12 nv50_hw_sm_query(struct nv50_hw_query *hq) in nv50_hw_sm_query() argument
14 return (struct nv50_hw_sm_query *)hq; in nv50_hw_sm_query()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query_hw.c37 struct nvc0_hw_query *hq = nvc0_hw_query(q); in nvc0_hw_query_allocate() local
41 if (hq->bo) { in nvc0_hw_query_allocate()
42 nouveau_bo_ref(NULL, &hq->bo); in nvc0_hw_query_allocate()
43 if (hq->mm) { in nvc0_hw_query_allocate()
44 if (hq->state == NVC0_HW_QUERY_STATE_READY) in nvc0_hw_query_allocate()
45 nouveau_mm_free(hq->mm); in nvc0_hw_query_allocate()
48 nouveau_mm_free_work, hq->mm); in nvc0_hw_query_allocate()
52 hq->mm = nouveau_mm_allocate(screen->base.mm_GART, size, &hq->bo, in nvc0_hw_query_allocate()
53 &hq->base_offset); in nvc0_hw_query_allocate()
54 if (!hq->bo) in nvc0_hw_query_allocate()
[all …]
Dnvc0_query_hw_metric.c441 nvc0_hw_metric_query_get_cfg(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_query_get_cfg() argument
445 struct nvc0_query *q = &hq->base; in nvc0_hw_metric_query_get_cfg()
462 struct nvc0_hw_query *hq) in nvc0_hw_metric_destroy_query() argument
464 struct nvc0_hw_metric_query *hmq = nvc0_hw_metric_query(hq); in nvc0_hw_metric_destroy_query()
474 nvc0_hw_metric_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_begin_query() argument
476 struct nvc0_hw_metric_query *hmq = nvc0_hw_metric_query(hq); in nvc0_hw_metric_begin_query()
489 nvc0_hw_metric_end_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_metric_end_query() argument
491 struct nvc0_hw_metric_query *hmq = nvc0_hw_metric_query(hq); in nvc0_hw_metric_end_query()
499 sm20_hw_metric_calc_result(struct nvc0_hw_query *hq, uint64_t res64[8]) in sm20_hw_metric_calc_result() argument
501 switch (hq->base.type - NVC0_HW_METRIC_QUERY(0)) { in sm20_hw_metric_calc_result()
[all …]
Dnvc0_query.c103 struct nvc0_hw_query *hq = nvc0_hw_query(q); in nvc0_render_condition() local
124 if (hq->state == NVC0_HW_QUERY_STATE_READY) in nvc0_render_condition()
152 if (wait && hq->state != NVC0_HW_QUERY_STATE_READY) in nvc0_render_condition()
156 PUSH_REFN (push, hq->bo, NOUVEAU_BO_GART | NOUVEAU_BO_RD); in nvc0_render_condition()
158 PUSH_DATAh(push, hq->bo->offset + hq->offset); in nvc0_render_condition()
159 PUSH_DATA (push, hq->bo->offset + hq->offset); in nvc0_render_condition()
162 PUSH_DATAh(push, hq->bo->offset + hq->offset); in nvc0_render_condition()
163 PUSH_DATA (push, hq->bo->offset + hq->offset); in nvc0_render_condition()
166 PUSH_DATAh(push, hq->bo->offset + hq->offset); in nvc0_render_condition()
167 PUSH_DATA (push, hq->bo->offset + hq->offset); in nvc0_render_condition()
Dnvc0_query_hw_sm.c2278 nvc0_hw_sm_query_get_cfg(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_query_get_cfg() argument
2282 struct nvc0_query *q = &hq->base; in nvc0_hw_sm_query_get_cfg()
2298 nvc0_hw_sm_destroy_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nvc0_hw_sm_destroy_query() argument
2300 struct nvc0_query *q = &hq->base; in nvc0_hw_sm_destroy_query()
2302 nouveau_fence_ref(NULL, &hq->fence); in nvc0_hw_sm_destroy_query()
2303 FREE(hq); in nvc0_hw_sm_destroy_query()
2307 nve4_hw_sm_begin_query(struct nvc0_context *nvc0, struct nvc0_hw_query *hq) in nve4_hw_sm_begin_query() argument
2311 struct nvc0_hw_sm_query *hsq = nvc0_hw_sm_query(hq); in nve4_hw_sm_begin_query()
2316 cfg = nvc0_hw_sm_query_get_cfg(nvc0, hq); in nve4_hw_sm_begin_query()
2339 hq->data[i * 10 + 10] = 0; in nve4_hw_sm_begin_query()
[all …]
Dnvc0_query_hw_metric.h13 nvc0_hw_metric_query(struct nvc0_hw_query *hq) in nvc0_hw_metric_query() argument
15 return (struct nvc0_hw_metric_query *)hq; in nvc0_hw_metric_query()
Dnvc0_query_hw_sm.h12 nvc0_hw_sm_query(struct nvc0_hw_query *hq) in nvc0_hw_sm_query() argument
14 return (struct nvc0_hw_sm_query *)hq; in nvc0_hw_sm_query()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_query_hw.c74 is_active(struct fd_hw_query *hq, enum fd_render_stage stage) in is_active() argument
76 return !!(hq->provider->active & stage); in is_active()
81 resume_query(struct fd_batch *batch, struct fd_hw_query *hq, in resume_query() argument
84 int idx = pidx(hq->provider->query_type); in resume_query()
85 DBG("%p", hq); in resume_query()
87 assert(!hq->period); in resume_query()
89 hq->period = slab_alloc_st(&batch->ctx->sample_period_pool); in resume_query()
90 list_inithead(&hq->period->list); in resume_query()
91 hq->period->start = get_sample(batch, ring, hq->base.type); in resume_query()
93 hq->period->end = NULL; in resume_query()
[all …]
/external/llvm-project/clang/test/OpenMP/
Ddeclare_simd_ast_print.cpp26 template <class C, int V> void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
34 template <class C> void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
53 void h(int *hp, int *hp2, int *hq, int *lin) in h() argument
58 h((float*) hp, (float*) hp2, (float*) hq, (float*) lin); in h()
Ddeclare_variant_ast_print.cpp69 void h_ref(C *hp, C *hp2, C *hq, C *lin) { in h_ref() argument
80 void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
95 void h(double *hp, double *hp2, double *hq, double *lin) { in h() argument
96 h((float *)hp, (float *)hp2, (float *)hq, (float *)lin); in h()
Ddeclare_simd_codegen.cpp34 void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
42 void h(int *hp, int *hp2, int *hq, int *lin) { in h() argument
46 h((float *)hp, (float *)hp2, (float *)hq, (float *)lin); in h()
Ddeclare_simd_messages.cpp44 void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
50 void h(int *hp, int *hp2, int *hq, int *lin) { in h() argument
51 h((float *)hp, (float *)hp2, (float *)hq, (float *)lin); in h()
/external/mesa3d/src/amd/compiler/
Daco_scheduler.cpp538 hazard_query hq; in schedule_SMEM() local
539 init_hazard_query(&hq); in schedule_SMEM()
540 add_to_hazard_query(&hq, current); in schedule_SMEM()
562 HazardResult haz = perform_hazard_query(&hq, candidate.get(), false); in schedule_SMEM()
571 add_to_hazard_query(&hq, candidate.get()); in schedule_SMEM()
578 add_to_hazard_query(&hq, candidate.get()); in schedule_SMEM()
610 HazardResult haz = perform_hazard_query(&hq, candidate.get(), true); in schedule_SMEM()
622 init_hazard_query(&hq); in schedule_SMEM()
629 add_to_hazard_query(&hq, candidate.get()); in schedule_SMEM()
641 add_to_hazard_query(&hq, candidate.get()); in schedule_SMEM()
[all …]
/external/clang/test/OpenMP/
Ddeclare_simd_ast_print.cpp21 template <class C> void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
42 void h(int *hp, int *hp2, int *hq, int *lin) in h() argument
47 h((float*) hp, (float*) hp2, (float*) hq, (float*) lin); in h()
Ddeclare_simd_codegen.cpp16 void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
23 void h(int *hp, int *hp2, int *hq, int *lin) { in h() argument
27 h((float *)hp, (float *)hp2, (float *)hq, (float *)lin); in h()
Ddeclare_simd_messages.cpp42 void h(C *hp, C *hp2, C *hq, C *lin) { in h() argument
48 void h(int *hp, int *hp2, int *hq, int *lin) { in h() argument
49 h((float *)hp, (float *)hp2, (float *)hq, (float *)lin); in h()
/external/skia/gm/
Dclippedbitmapshaders.cpp54 ClippedBitmapShadersGM(SkTileMode mode, bool hq=false) in ClippedBitmapShadersGM() argument
55 : fMode(mode), fHQ(hq) { in ClippedBitmapShadersGM()
/external/skqp/gm/
Dclippedbitmapshaders.cpp45 ClippedBitmapShadersGM(SkShader::TileMode mode, bool hq=false) in ClippedBitmapShadersGM() argument
46 : fMode(mode), fHQ(hq) { in ClippedBitmapShadersGM()
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/skqp/
Drendertests.txt126 clipped-bitmap-shaders-clamp-hq,0
128 clipped-bitmap-shaders-mirror-hq,0
130 clipped-bitmap-shaders-tile-hq,0
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/gmkb/
Dmodels.txt122 clipped-bitmap-shaders-clamp-hq
124 clipped-bitmap-shaders-mirror-hq
126 clipped-bitmap-shaders-tile-hq

123