Home
last modified time | relevance | path

Searched defs:guc (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
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_debugfs.c19 struct intel_guc *guc = m->private; in guc_info_show() local
42 struct intel_guc *guc = m->private; in guc_registered_contexts_show() local
56 struct intel_guc *guc = m->private; in guc_slpc_info_show() local
69 struct intel_guc *guc = (struct intel_guc *)data; in intel_eval_slpc_support() local
76 struct intel_guc *guc = data; in guc_sched_disable_delay_ms_get() local
88 struct intel_guc *guc = data; in guc_sched_disable_delay_ms_set() local
104 struct intel_guc *guc = data; in guc_sched_disable_gucid_threshold_get() local
115 struct intel_guc *guc = data; in guc_sched_disable_gucid_threshold_set() local
132 void intel_guc_debugfs_register(struct intel_guc *guc, struct dentry *root) in intel_guc_debugfs_register()
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_uc.c165 struct intel_guc *guc = &uc->guc; in __uc_capture_load_err_log() local
192 static void guc_clear_mmio_msg(struct intel_guc *guc) in guc_clear_mmio_msg()
197 static void guc_get_mmio_msg(struct intel_guc *guc) in guc_get_mmio_msg()
216 static void guc_handle_mmio_msg(struct intel_guc *guc) in guc_handle_mmio_msg()
229 static int guc_enable_communication(struct intel_guc *guc) in guc_enable_communication()
261 static void guc_disable_communication(struct intel_guc *guc) in guc_disable_communication()
326 struct intel_guc *guc = &uc->guc; in __uc_init() local
360 struct intel_guc *guc = &uc->guc; in __uc_sanitize() local
466 struct intel_guc *guc = &uc->guc; in __uc_init_hw() local
595 struct intel_guc *guc = &uc->guc; in __uc_fini_hw() local
[all …]
Dintel_guc_submission.c160 #define NUMBER_MULTI_LRC_GUC_ID(guc) \ argument
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_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()
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()
782 guc_capture_log_remove_dw(struct intel_guc *guc, struct __guc_capture_bufstate *buf, in guc_capture_log_remove_dw()
[all …]
Dintel_guc.h283 #define GUC_SUBMIT_VER(guc) MAKE_GUC_VER_STRUCT((guc)->submission_version) argument
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()
349 static inline void intel_guc_to_host_event_handler(struct intel_guc *guc) in intel_guc_to_host_event_handler()
371 static inline u32 intel_guc_ggtt_offset(struct intel_guc *guc, in intel_guc_ggtt_offset()
402 static inline bool intel_guc_is_supported(struct intel_guc *guc) in intel_guc_is_supported()
407 static inline bool intel_guc_is_wanted(struct intel_guc *guc) in intel_guc_is_wanted()
412 static inline bool intel_guc_is_used(struct intel_guc *guc) in intel_guc_is_used()
[all …]
Dintel_guc_slpc.c33 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() local
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() local
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()
174 struct intel_guc *guc = slpc_to_guc(slpc); in slpc_query_task_state() local
189 struct intel_guc *guc = slpc_to_guc(slpc); in slpc_set_param() local
[all …]
Dintel_guc_log.c42 struct intel_guc *guc = log_to_guc(log); in _guc_log_init_sizes() local
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() local
522 struct intel_guc *guc = log_to_guc(log); in guc_log_relay_create() local
575 struct intel_guc *guc = log_to_guc(log); in guc_log_copy_debuglogs_for_relay() local
591 struct intel_guc *guc = log_to_guc(log); in __get_default_log_level() local
616 struct intel_guc *guc = log_to_guc(log); in intel_guc_log_create() local
666 struct intel_guc *guc = log_to_guc(log); in intel_guc_log_set_level() local
[all …]
Dintel_guc_rc.h13 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()
Dintel_guc_submission.h41 static inline bool intel_guc_submission_is_supported(struct intel_guc *guc) in intel_guc_submission_is_supported()
46 static inline bool intel_guc_submission_is_wanted(struct intel_guc *guc) in intel_guc_submission_is_wanted()
51 static inline bool intel_guc_submission_is_used(struct intel_guc *guc) in intel_guc_submission_is_used()
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_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() local
Dintel_guc_fw.c71 struct intel_guc *guc = container_of(guc_fw, struct intel_guc, fw); in guc_xfer_rsa_vma() local
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.c35 void intel_guc_notify(struct intel_guc *guc) in intel_guc_notify()
48 static inline i915_reg_t guc_send_reg(struct intel_guc *guc, u32 i) in guc_send_reg()
57 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()
108 static void gen9_disable_guc_interrupts(struct intel_guc *guc) in gen9_disable_guc_interrupts()
125 static void gen11_reset_guc_interrupts(struct intel_guc *guc) in gen11_reset_guc_interrupts()
134 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()
168 void intel_guc_init_early(struct intel_guc *guc) in intel_guc_init_early()
[all …]
Dintel_uc.c120 struct intel_guc *guc = &uc->guc; in __uc_capture_load_err_log() local
141 static inline bool guc_communication_enabled(struct intel_guc *guc) in guc_communication_enabled()
152 static void guc_clear_mmio_msg(struct intel_guc *guc) in guc_clear_mmio_msg()
157 static void guc_get_mmio_msg(struct intel_guc *guc) in guc_get_mmio_msg()
176 static void guc_handle_mmio_msg(struct intel_guc *guc) in guc_handle_mmio_msg()
193 static void guc_reset_interrupts(struct intel_guc *guc) in guc_reset_interrupts()
198 static void guc_enable_interrupts(struct intel_guc *guc) in guc_enable_interrupts()
203 static void guc_disable_interrupts(struct intel_guc *guc) in guc_disable_interrupts()
208 static int guc_enable_communication(struct intel_guc *guc) in guc_enable_communication()
239 static void guc_disable_communication(struct intel_guc *guc) in guc_disable_communication()
[all …]
Dintel_guc_submission.c62 static struct guc_stage_desc *__get_stage_desc(struct intel_guc *guc, u32 id) in __get_stage_desc()
69 static int guc_workqueue_create(struct intel_guc *guc) in guc_workqueue_create()
75 static void guc_workqueue_destroy(struct intel_guc *guc) in guc_workqueue_destroy()
83 static int guc_proc_desc_create(struct intel_guc *guc) in guc_proc_desc_create()
91 static void guc_proc_desc_destroy(struct intel_guc *guc) in guc_proc_desc_destroy()
96 static void guc_proc_desc_init(struct intel_guc *guc) in guc_proc_desc_init()
116 static void guc_proc_desc_fini(struct intel_guc *guc) in guc_proc_desc_fini()
121 static int guc_stage_desc_pool_create(struct intel_guc *guc) in guc_stage_desc_pool_create()
130 static void guc_stage_desc_pool_destroy(struct intel_guc *guc) in guc_stage_desc_pool_destroy()
142 static void guc_stage_desc_init(struct intel_guc *guc) in guc_stage_desc_init()
[all …]
Dintel_guc.h83 inline int intel_guc_send(struct intel_guc *guc, const u32 *action, u32 len) in intel_guc_send()
89 intel_guc_send_and_receive(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_and_receive()
96 static inline void intel_guc_to_host_event_handler(struct intel_guc *guc) in intel_guc_to_host_event_handler()
117 static inline u32 intel_guc_ggtt_offset(struct intel_guc *guc, in intel_guc_ggtt_offset()
146 static inline bool intel_guc_is_supported(struct intel_guc *guc) in intel_guc_is_supported()
151 static inline bool intel_guc_is_wanted(struct intel_guc *guc) in intel_guc_is_wanted()
156 static inline bool intel_guc_is_used(struct intel_guc *guc) in intel_guc_is_used()
162 static inline bool intel_guc_is_fw_running(struct intel_guc *guc) in intel_guc_is_fw_running()
167 static inline bool intel_guc_is_ready(struct intel_guc *guc) in intel_guc_is_ready()
172 static inline int intel_guc_sanitize(struct intel_guc *guc) in intel_guc_sanitize()
[all …]
Dintel_guc_ads.c44 static u32 guc_ads_private_data_size(struct intel_guc *guc) in guc_ads_private_data_size()
49 static u32 guc_ads_private_data_offset(struct intel_guc *guc) in guc_ads_private_data_offset()
54 static u32 guc_ads_blob_size(struct intel_guc *guc) in guc_ads_blob_size()
119 static void __guc_ads_init(struct intel_guc *guc) in __guc_ads_init()
201 int intel_guc_ads_create(struct intel_guc *guc) in intel_guc_ads_create()
220 void intel_guc_ads_destroy(struct intel_guc *guc) in intel_guc_ads_destroy()
225 static void guc_ads_private_data_reset(struct intel_guc *guc) in guc_ads_private_data_reset()
245 void intel_guc_ads_reset(struct intel_guc *guc) in intel_guc_ads_reset()
Dintel_guc_log.c24 static int guc_action_flush_log_complete(struct intel_guc *guc) in guc_action_flush_log_complete()
33 static int guc_action_flush_log(struct intel_guc *guc) in guc_action_flush_log()
43 static int guc_action_control_log(struct intel_guc *guc, bool enable, in guc_action_control_log()
364 struct intel_guc *guc = log_to_guc(log); in guc_log_relay_create() local
411 struct intel_guc *guc = log_to_guc(log); in guc_log_capture_logs() local
427 struct intel_guc *guc = log_to_guc(log); in __get_default_log_level() local
453 struct intel_guc *guc = log_to_guc(log); in intel_guc_log_create() local
510 struct intel_guc *guc = log_to_guc(log); in intel_guc_log_set_level() local
618 struct intel_guc *guc = log_to_guc(log); in intel_guc_log_relay_flush() local
644 struct intel_guc *guc = log_to_guc(log); in guc_log_relay_stop() local
[all …]
Dintel_guc_submission.h24 static inline bool intel_guc_submission_is_supported(struct intel_guc *guc) in intel_guc_submission_is_supported()
30 static inline bool intel_guc_submission_is_wanted(struct intel_guc *guc) in intel_guc_submission_is_wanted()
35 static inline bool intel_guc_submission_is_used(struct intel_guc *guc) in intel_guc_submission_is_used()
Dintel_guc_debugfs.c15 struct intel_guc *guc = m->private; in guc_info_show() local
31 void intel_guc_debugfs_register(struct intel_guc *guc, struct dentry *root) in intel_guc_debugfs_register()
Dintel_guc_ct.c98 static int guc_action_register_ct_buffer(struct intel_guc *guc, in guc_action_register_ct_buffer()
123 static int guc_action_deregister_ct_buffer(struct intel_guc *guc, u32 type) in guc_action_deregister_ct_buffer()
155 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_init() local
223 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_enable() local
276 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_disable() local
549 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_send() local
733 struct intel_guc *guc = ct_to_guc(ct); in ct_process_request() local
Dintel_huc.c60 struct intel_guc *guc = &gt->uc.guc; in intel_huc_rsa_data_create() local
157 struct intel_guc *guc = &gt->uc.guc; in intel_huc_auth() local

12