Home
last modified time | relevance | path

Searched refs:intel_guc (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.h33 struct intel_guc { struct
97 void (*reset)(struct intel_guc *guc); argument
98 void (*enable)(struct intel_guc *guc);
99 void (*disable)(struct intel_guc *guc);
330 static inline struct intel_guc *log_to_guc(struct intel_guc_log *log) in log_to_guc() argument
332 return container_of(log, struct intel_guc, log); in log_to_guc()
336 inline int intel_guc_send(struct intel_guc *guc, const u32 *action, u32 len) in intel_guc_send()
342 inline int intel_guc_send_nb(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_nb()
350 intel_guc_send_and_receive(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_and_receive()
357 static inline int intel_guc_send_busy_loop(struct intel_guc *guc, in intel_guc_send_busy_loop()
[all …]
Dintel_guc_submission.h16 void intel_guc_submission_init_early(struct intel_guc *guc);
17 int intel_guc_submission_init(struct intel_guc *guc);
18 int intel_guc_submission_enable(struct intel_guc *guc);
19 void intel_guc_submission_disable(struct intel_guc *guc);
20 void intel_guc_submission_fini(struct intel_guc *guc);
21 int intel_guc_preempt_work_create(struct intel_guc *guc);
22 void intel_guc_preempt_work_destroy(struct intel_guc *guc);
24 void intel_guc_submission_print_info(struct intel_guc *guc,
26 void intel_guc_submission_print_context_info(struct intel_guc *guc,
36 int intel_guc_wait_for_pending_msg(struct intel_guc *guc,
[all …]
Dintel_guc_ads.h12 struct intel_guc;
16 int intel_guc_ads_create(struct intel_guc *guc);
17 void intel_guc_ads_destroy(struct intel_guc *guc);
18 void intel_guc_ads_init_late(struct intel_guc *guc);
19 void intel_guc_ads_reset(struct intel_guc *guc);
20 void intel_guc_ads_print_policy_info(struct intel_guc *guc,
23 u32 intel_guc_engine_usage_offset(struct intel_guc *guc);
Dintel_guc.c42 void intel_guc_notify(struct intel_guc *guc) in intel_guc_notify()
55 static inline i915_reg_t guc_send_reg(struct intel_guc *guc, u32 i) in guc_send_reg()
64 void intel_guc_init_send_regs(struct intel_guc *guc) in intel_guc_init_send_regs()
81 static void gen9_reset_guc_interrupts(struct intel_guc *guc) in gen9_reset_guc_interrupts()
92 static void gen9_enable_guc_interrupts(struct intel_guc *guc) in gen9_enable_guc_interrupts()
107 static void gen9_disable_guc_interrupts(struct intel_guc *guc) in gen9_disable_guc_interrupts()
132 static void gen11_reset_guc_interrupts(struct intel_guc *guc) in gen11_reset_guc_interrupts()
141 static void gen11_enable_guc_interrupts(struct intel_guc *guc) in gen11_enable_guc_interrupts()
152 static void gen11_disable_guc_interrupts(struct intel_guc *guc) in gen11_disable_guc_interrupts()
164 struct intel_guc *guc = container_of(w, struct intel_guc, dead_guc_worker); in guc_dead_worker_func()
[all …]
Dintel_guc_debugfs.c19 struct intel_guc *guc = m->private; in guc_info_show()
42 struct intel_guc *guc = m->private; in guc_registered_contexts_show()
56 struct intel_guc *guc = m->private; in guc_slpc_info_show()
69 struct intel_guc *guc = (struct intel_guc *)data; in intel_eval_slpc_support()
76 struct intel_guc *guc = data; in guc_sched_disable_delay_ms_get()
88 struct intel_guc *guc = data; in guc_sched_disable_delay_ms_set()
104 struct intel_guc *guc = data; in guc_sched_disable_gucid_threshold_get()
115 struct intel_guc *guc = data; in guc_sched_disable_gucid_threshold_set()
132 void intel_guc_debugfs_register(struct intel_guc *guc, struct dentry *root) in intel_guc_debugfs_register()
Dintel_guc_capture.h17 struct intel_guc;
26 void intel_guc_capture_process(struct intel_guc *guc);
27 int intel_guc_capture_getlist(struct intel_guc *guc, u32 owner, u32 type, u32 classid,
29 int intel_guc_capture_getlistsize(struct intel_guc *guc, u32 owner, u32 type, u32 classid,
31 int intel_guc_capture_getnullheader(struct intel_guc *guc, void **outptr, size_t *size);
32 void intel_guc_capture_destroy(struct intel_guc *guc);
33 int intel_guc_capture_init(struct intel_guc *guc);
Dintel_guc_rc.h11 void intel_guc_rc_init_early(struct intel_guc *guc);
13 static inline bool intel_guc_rc_is_supported(struct intel_guc *guc) in intel_guc_rc_is_supported()
18 static inline bool intel_guc_rc_is_wanted(struct intel_guc *guc) in intel_guc_rc_is_wanted()
23 static inline bool intel_guc_rc_is_used(struct intel_guc *guc) in intel_guc_rc_is_used()
28 int intel_guc_rc_enable(struct intel_guc *guc);
29 int intel_guc_rc_disable(struct intel_guc *guc);
Dintel_guc_rc.c13 static bool __guc_rc_supported(struct intel_guc *guc) in __guc_rc_supported()
20 static bool __guc_rc_selected(struct intel_guc *guc) in __guc_rc_selected()
28 void intel_guc_rc_init_early(struct intel_guc *guc) in intel_guc_rc_init_early()
34 static int guc_action_control_gucrc(struct intel_guc *guc, bool enable) in guc_action_control_gucrc()
50 static int __guc_rc_control(struct intel_guc *guc, bool enable) in __guc_rc_control()
73 int intel_guc_rc_enable(struct intel_guc *guc) in intel_guc_rc_enable()
78 int intel_guc_rc_disable(struct intel_guc *guc) in intel_guc_rc_disable()
Dintel_guc_ads.c84 static u32 guc_ads_regset_size(struct intel_guc *guc) in guc_ads_regset_size()
90 static u32 guc_ads_golden_ctxt_size(struct intel_guc *guc) in guc_ads_golden_ctxt_size()
95 static u32 guc_ads_waklv_size(struct intel_guc *guc) in guc_ads_waklv_size()
100 static u32 guc_ads_capture_size(struct intel_guc *guc) in guc_ads_capture_size()
105 static u32 guc_ads_private_data_size(struct intel_guc *guc) in guc_ads_private_data_size()
110 static u32 guc_ads_regset_offset(struct intel_guc *guc) in guc_ads_regset_offset()
115 static u32 guc_ads_golden_ctxt_offset(struct intel_guc *guc) in guc_ads_golden_ctxt_offset()
125 static u32 guc_ads_waklv_offset(struct intel_guc *guc) in guc_ads_waklv_offset()
135 static u32 guc_ads_capture_offset(struct intel_guc *guc) in guc_ads_capture_offset()
145 static u32 guc_ads_private_data_offset(struct intel_guc *guc) in guc_ads_private_data_offset()
[all …]
Dintel_guc_submission.c399 static inline struct intel_guc *ce_to_guc(struct intel_context *ce) in ce_to_guc()
516 static inline struct intel_context *__get_context(struct intel_guc *guc, u32 id) in __get_context()
525 static struct guc_lrc_desc_v69 *__get_lrc_desc_v69(struct intel_guc *guc, u32 index) in __get_lrc_desc_v69()
537 static int guc_lrc_desc_pool_create_v69(struct intel_guc *guc) in guc_lrc_desc_pool_create_v69()
552 static void guc_lrc_desc_pool_destroy_v69(struct intel_guc *guc) in guc_lrc_desc_pool_destroy_v69()
561 static inline bool guc_submission_initialized(struct intel_guc *guc) in guc_submission_initialized()
566 static inline void _reset_lrc_desc_v69(struct intel_guc *guc, u32 id) in _reset_lrc_desc_v69()
574 static inline bool ctx_id_mapped(struct intel_guc *guc, u32 id) in ctx_id_mapped()
579 static inline void set_ctx_id_mapping(struct intel_guc *guc, u32 id, in set_ctx_id_mapping()
593 static inline void clr_ctx_id_mapping(struct intel_guc *guc, u32 id) in clr_ctx_id_mapping()
[all …]
Dintel_uc.c155 struct intel_guc *guc = &uc->guc; in __uc_capture_load_err_log()
182 static void guc_clear_mmio_msg(struct intel_guc *guc) in guc_clear_mmio_msg()
187 static void guc_get_mmio_msg(struct intel_guc *guc) in guc_get_mmio_msg()
206 static void guc_handle_mmio_msg(struct intel_guc *guc) in guc_handle_mmio_msg()
219 static int guc_enable_communication(struct intel_guc *guc) in guc_enable_communication()
251 static void guc_disable_communication(struct intel_guc *guc) in guc_disable_communication()
316 struct intel_guc *guc = &uc->guc; in __uc_init()
350 struct intel_guc *guc = &uc->guc; in __uc_sanitize()
456 struct intel_guc *guc = &uc->guc; in __uc_init_hw()
585 struct intel_guc *guc = &uc->guc; in __uc_fini_hw()
[all …]
Dintel_guc_capture.c292 guc_capture_alloc_steered_lists(struct intel_guc *guc, in guc_capture_alloc_steered_lists()
352 guc_capture_get_device_reglist(struct intel_guc *guc) in guc_capture_get_device_reglist()
412 guc_capture_list_init(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in guc_capture_list_init()
473 guc_capture_getlistsize(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in guc_capture_getlistsize()
514 intel_guc_capture_getlistsize(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in intel_guc_capture_getlistsize()
520 static void guc_capture_create_prealloc_nodes(struct intel_guc *guc);
523 intel_guc_capture_getlist(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in intel_guc_capture_getlist()
584 intel_guc_capture_getnullheader(struct intel_guc *guc, in intel_guc_capture_getnullheader()
611 guc_capture_output_min_size_est(struct intel_guc *guc) in guc_capture_output_min_size_est()
659 static void check_guc_capture_size(struct intel_guc *guc) in check_guc_capture_size()
[all …]
Dintel_guc_slpc.c18 static inline struct intel_guc *slpc_to_guc(struct intel_guc_slpc *slpc) in slpc_to_guc()
20 return container_of(slpc, struct intel_guc, slpc); in slpc_to_guc()
33 static bool __detect_slpc_supported(struct intel_guc *guc) in __detect_slpc_supported()
40 static bool __guc_slpc_selected(struct intel_guc *guc) in __guc_slpc_selected()
50 struct intel_guc *guc = slpc_to_guc(slpc); in intel_guc_slpc_init_early()
102 static int guc_action_slpc_set_param_nb(struct intel_guc *guc, u8 id, u32 value) in guc_action_slpc_set_param_nb()
119 struct intel_guc *guc = slpc_to_guc(slpc); in slpc_set_param_nb()
126 static int guc_action_slpc_set_param(struct intel_guc *guc, u8 id, u32 value) in guc_action_slpc_set_param()
146 static int guc_action_slpc_query(struct intel_guc *guc, u32 offset) in guc_action_slpc_query()
163 struct intel_guc *guc = slpc_to_guc(slpc); in slpc_query_task_state()
[all …]
Dintel_guc_hwconfig.c34 static int __guc_action_get_hwconfig(struct intel_guc *guc, in __guc_action_get_hwconfig()
52 static int guc_hwconfig_discover_size(struct intel_guc *guc, struct intel_hwconfig *hwconfig) in guc_hwconfig_discover_size()
71 static int guc_hwconfig_fill_buffer(struct intel_guc *guc, struct intel_hwconfig *hwconfig) in guc_hwconfig_fill_buffer()
114 struct intel_guc *guc = gt_to_guc(gt); in guc_hwconfig_init()
Dintel_guc_slpc.h17 static inline bool intel_guc_slpc_is_supported(struct intel_guc *guc) in intel_guc_slpc_is_supported()
22 static inline bool intel_guc_slpc_is_wanted(struct intel_guc *guc) in intel_guc_slpc_is_wanted()
27 static inline bool intel_guc_slpc_is_used(struct intel_guc *guc) in intel_guc_slpc_is_used()
Dintel_guc_log.c42 struct intel_guc *guc = log_to_guc(log); in _guc_log_init_sizes()
182 static int guc_action_flush_log_complete(struct intel_guc *guc) in guc_action_flush_log_complete()
192 static int guc_action_flush_log(struct intel_guc *guc) in guc_action_flush_log()
202 static int guc_action_control_log(struct intel_guc *guc, bool enable, in guc_action_control_log()
376 struct intel_guc *guc = log_to_guc(log); in _guc_log_copy_debuglogs_for_relay()
522 struct intel_guc *guc = log_to_guc(log); in guc_log_relay_create()
575 struct intel_guc *guc = log_to_guc(log); in guc_log_copy_debuglogs_for_relay()
591 struct intel_guc *guc = log_to_guc(log); in __get_default_log_level()
616 struct intel_guc *guc = log_to_guc(log); in intel_guc_log_create()
666 struct intel_guc *guc = log_to_guc(log); in intel_guc_log_set_level()
[all …]
Dintel_guc_fw.h9 struct intel_guc;
11 int intel_guc_fw_upload(struct intel_guc *guc);
Dintel_guc_debugfs.h9 struct intel_guc;
12 void intel_guc_debugfs_register(struct intel_guc *guc, struct dentry *root);
Dintel_guc_fw.c71 struct intel_guc *guc = container_of(guc_fw, struct intel_guc, fw); in guc_xfer_rsa_vma()
154 static int guc_wait_ucode(struct intel_guc *guc) in guc_wait_ucode()
286 int intel_guc_fw_upload(struct intel_guc *guc) in intel_guc_fw_upload()
Dintel_guc_log_debugfs.c33 struct intel_guc *guc = log_to_guc(log); in guc_log_dump_size()
61 struct intel_guc *guc = log_to_guc(log); in guc_load_err_dump_size()
Dintel_guc_ct.c40 static inline struct intel_guc *ct_to_guc(struct intel_guc_ct *ct) in ct_to_guc()
42 return container_of(ct, struct intel_guc, ct); in ct_to_guc()
187 static int guc_action_control_ctb(struct intel_guc *guc, u32 control) in guc_action_control_ctb()
259 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_init()
332 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_enable()
395 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_disable()
841 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_send()
1109 struct intel_guc *guc = ct_to_guc(ct); in ct_process_request()
1384 struct intel_guc *guc = ct_to_guc(ct); in ct_dead_ct_worker_func()
Dintel_guc_ct.h19 struct intel_guc;
Dintel_guc_log.h16 struct intel_guc;
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt.h102 static inline struct intel_gt *guc_to_gt(struct intel_guc *guc) in guc_to_gt()
122 static inline struct drm_i915_private *guc_to_i915(struct intel_guc *guc) in guc_to_i915()
127 static inline struct intel_guc *gt_to_guc(struct intel_gt *gt) in gt_to_guc()
Dintel_reset.h19 struct intel_guc;

12