Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.h33 struct intel_guc { struct
85 void (*reset)(struct intel_guc *guc); argument
86 void (*enable)(struct intel_guc *guc);
87 void (*disable)(struct intel_guc *guc);
285 static inline struct intel_guc *log_to_guc(struct intel_guc_log *log) in log_to_guc() argument
287 return container_of(log, struct intel_guc, log); in log_to_guc()
291 inline int intel_guc_send(struct intel_guc *guc, const u32 *action, u32 len) in intel_guc_send()
297 inline int intel_guc_send_nb(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_nb()
305 intel_guc_send_and_receive(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_and_receive()
312 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_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.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()
162 void intel_guc_init_early(struct intel_guc *guc) in intel_guc_init_early()
[all …]
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_submission.c391 static inline struct intel_guc *ce_to_guc(struct intel_context *ce) in ce_to_guc()
508 static inline struct intel_context *__get_context(struct intel_guc *guc, u32 id) in __get_context()
517 static struct guc_lrc_desc_v69 *__get_lrc_desc_v69(struct intel_guc *guc, u32 index) in __get_lrc_desc_v69()
529 static int guc_lrc_desc_pool_create_v69(struct intel_guc *guc) in guc_lrc_desc_pool_create_v69()
544 static void guc_lrc_desc_pool_destroy_v69(struct intel_guc *guc) in guc_lrc_desc_pool_destroy_v69()
553 static inline bool guc_submission_initialized(struct intel_guc *guc) in guc_submission_initialized()
558 static inline void _reset_lrc_desc_v69(struct intel_guc *guc, u32 id) in _reset_lrc_desc_v69()
566 static inline bool ctx_id_mapped(struct intel_guc *guc, u32 id) in ctx_id_mapped()
571 static inline void set_ctx_id_mapping(struct intel_guc *guc, u32 id, in set_ctx_id_mapping()
585 static inline void clr_ctx_id_mapping(struct intel_guc *guc, u32 id) in clr_ctx_id_mapping()
[all …]
Dintel_guc_ads.c80 static u32 guc_ads_regset_size(struct intel_guc *guc) in guc_ads_regset_size()
86 static u32 guc_ads_golden_ctxt_size(struct intel_guc *guc) in guc_ads_golden_ctxt_size()
91 static u32 guc_ads_capture_size(struct intel_guc *guc) in guc_ads_capture_size()
96 static u32 guc_ads_private_data_size(struct intel_guc *guc) in guc_ads_private_data_size()
101 static u32 guc_ads_regset_offset(struct intel_guc *guc) in guc_ads_regset_offset()
106 static u32 guc_ads_golden_ctxt_offset(struct intel_guc *guc) in guc_ads_golden_ctxt_offset()
116 static u32 guc_ads_capture_offset(struct intel_guc *guc) in guc_ads_capture_offset()
126 static u32 guc_ads_private_data_offset(struct intel_guc *guc) in guc_ads_private_data_offset()
136 static u32 guc_ads_blob_size(struct intel_guc *guc) in guc_ads_blob_size()
142 static void guc_policies_init(struct intel_guc *guc) in guc_policies_init()
[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()
141 static int guc_action_slpc_unset_param(struct intel_guc *guc, u8 id) in guc_action_slpc_unset_param()
157 static int guc_action_slpc_query(struct intel_guc *guc, u32 offset) in guc_action_slpc_query()
[all …]
Dintel_uc.c164 struct intel_guc *guc = &uc->guc; in __uc_capture_load_err_log()
191 static void guc_clear_mmio_msg(struct intel_guc *guc) in guc_clear_mmio_msg()
196 static void guc_get_mmio_msg(struct intel_guc *guc) in guc_get_mmio_msg()
215 static void guc_handle_mmio_msg(struct intel_guc *guc) in guc_handle_mmio_msg()
228 static int guc_enable_communication(struct intel_guc *guc) in guc_enable_communication()
260 static void guc_disable_communication(struct intel_guc *guc) in guc_disable_communication()
325 struct intel_guc *guc = &uc->guc; in __uc_init()
359 struct intel_guc *guc = &uc->guc; in __uc_sanitize()
465 struct intel_guc *guc = &uc->guc; in __uc_init_hw()
594 struct intel_guc *guc = &uc->guc; in __uc_fini_hw()
[all …]
Dintel_guc_capture.c296 guc_capture_alloc_steered_lists(struct intel_guc *guc, in guc_capture_alloc_steered_lists()
356 guc_capture_get_device_reglist(struct intel_guc *guc) in guc_capture_get_device_reglist()
416 guc_capture_list_init(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in guc_capture_list_init()
477 guc_capture_getlistsize(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in guc_capture_getlistsize()
518 intel_guc_capture_getlistsize(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in intel_guc_capture_getlistsize()
524 static void guc_capture_create_prealloc_nodes(struct intel_guc *guc);
527 intel_guc_capture_getlist(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in intel_guc_capture_getlist()
588 intel_guc_capture_getnullheader(struct intel_guc *guc, in intel_guc_capture_getnullheader()
615 guc_capture_output_min_size_est(struct intel_guc *guc) in guc_capture_output_min_size_est()
663 static void check_guc_capture_size(struct intel_guc *guc) in check_guc_capture_size()
[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->uc.guc; 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()
153 static int guc_wait_ucode(struct intel_guc *guc) in guc_wait_ucode()
280 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()
160 static int guc_action_control_ctb(struct intel_guc *guc, u32 control) in guc_action_control_ctb()
232 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_init()
305 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_enable()
368 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_disable()
814 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_send()
1073 struct intel_guc *guc = ct_to_guc(ct); in ct_process_request()
1341 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;
Dguc_capture_fwif.h12 struct intel_guc;
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_reset.h19 struct intel_guc;

12