Home
last modified time | relevance | path

Searched refs:submission_state (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_debugfs.c81 *val = (u64)guc->submission_state.sched_disable_delay_ms; in guc_sched_disable_delay_ms_get()
94 guc->submission_state.sched_disable_delay_ms = min_t(u64, val, 60000); in guc_sched_disable_delay_ms_set()
109 *val = guc->submission_state.sched_disable_gucid_threshold; in guc_sched_disable_gucid_threshold_get()
121 guc->submission_state.sched_disable_gucid_threshold = in guc_sched_disable_gucid_threshold_set()
124 guc->submission_state.sched_disable_gucid_threshold = val; in guc_sched_disable_gucid_threshold_set()
Dintel_guc_submission.c162 ((guc)->submission_state.num_guc_ids / 16)
1670 flush_work(&guc->submission_state.destroyed_worker); in intel_guc_submission_flush_work()
2109 guc->submission_state.guc_ids_bitmap = in intel_guc_submission_init()
2111 if (!guc->submission_state.guc_ids_bitmap) { in intel_guc_submission_init()
2138 bitmap_free(guc->submission_state.guc_ids_bitmap); in intel_guc_submission_fini()
2214 ret = bitmap_find_free_region(guc->submission_state.guc_ids_bitmap, in new_guc_id()
2219 ret = ida_alloc_range(&guc->submission_state.guc_ids, in new_guc_id()
2221 guc->submission_state.num_guc_ids - 1, in new_guc_id()
2227 ++guc->submission_state.guc_ids_in_use; in new_guc_id()
2239 bitmap_release_region(guc->submission_state.guc_ids_bitmap, in __release_guc_id()
[all …]
Dselftest_guc.c164 sv = guc->submission_state.num_guc_ids; in intel_guc_steal_guc_ids()
165 guc->submission_state.num_guc_ids = 512; in intel_guc_steal_guc_ids()
284 guc->submission_state.num_guc_ids = sv; in intel_guc_steal_guc_ids()
Dintel_guc.h171 } submission_state; member
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_submit.c231 xa_destroy(&guc->submission_state.exec_queue_lookup); in guc_submit_fini()
240 mutex_lock(&guc->submission_state.lock); in guc_submit_wedged_fini()
241 xa_for_each(&guc->submission_state.exec_queue_lookup, index, q) { in guc_submit_wedged_fini()
243 mutex_unlock(&guc->submission_state.lock); in guc_submit_wedged_fini()
245 mutex_lock(&guc->submission_state.lock); in guc_submit_wedged_fini()
248 mutex_unlock(&guc->submission_state.lock); in guc_submit_wedged_fini()
260 mutex_lock(&guc->submission_state.lock); in primelockdep()
261 mutex_unlock(&guc->submission_state.lock); in primelockdep()
285 err = drmm_mutex_init(&xe->drm, &guc->submission_state.lock); in xe_guc_submit_init()
289 err = xe_guc_id_mgr_init(&guc->submission_state.idm, num_ids); in xe_guc_submit_init()
[all …]
Dxe_guc_types.h79 } submission_state; member
Dxe_guc_id_mgr.c19 return container_of(idm, struct xe_guc, submission_state.idm); in idm_to_guc()
33 #define idm_mutex(idm) (&idm_to_guc(idm)->submission_state.lock)
Dxe_uc.c165 uc->guc.submission_state.enabled = true; in vf_uc_init_hw()
Dxe_guc_db_mgr.c47 #define dbm_mutex(_dbm) (&dbm_to_guc(_dbm)->submission_state.lock)
Dxe_gt_tlb_invalidation.c275 gt->uc.guc.submission_state.enabled) { in xe_gt_tlb_invalidation_ggtt()
Dxe_guc.c420 guc->submission_state.enabled = true; in xe_guc_post_load_init()
1101 guc->submission_state.enabled = false; in xe_guc_sanitize()
Dxe_gt_sriov_pf_config.c708 struct xe_guc_id_mgr *idm = &gt->uc.guc.submission_state.idm; in pf_reserve_ctxs()
716 struct xe_guc_id_mgr *idm = &gt->uc.guc.submission_state.idm; in pf_release_ctxs()
923 struct xe_guc_id_mgr *idm = &gt->uc.guc.submission_state.idm; in pf_estimate_fair_ctxs()
Dxe_gt.c95 gt->uc.guc.submission_state.enabled = false; in xe_gt_sanitize()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_selftest.h95 (data)->gt[0]->uc.guc.submission_state.sched_disable_delay_ms = 0; \
102 (data)->uc.guc.submission_state.sched_disable_delay_ms = 0; \
/linux-6.12.1/drivers/gpu/drm/xe/tests/
Dxe_guc_id_mgr_test.c16 idm = &xe_device_get_gt(test->priv, 0)->uc.guc.submission_state.idm; in guc_id_mgr_test_init()