/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc.c | 42 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() local [all …]
|
H A D | intel_guc_submission.c | 161 #define NUMBER_MULTI_LRC_GUC_ID(guc) \ argument 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 …]
|
H A D | intel_guc_ads.c | 84 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 …]
|
H A D | intel_uc.c | 155 struct intel_guc *guc = &uc->guc; in __uc_capture_load_err_log() local 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() local 350 struct intel_guc *guc = &uc->guc; in __uc_sanitize() local 456 struct intel_guc *guc = &uc->guc; in __uc_init_hw() local 585 struct intel_guc *guc = &uc->guc; in __uc_fini_hw() local [all …]
|
H A D | intel_guc_debugfs.c | 19 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()
|
H A D | intel_guc_rc.c | 13 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()
|
H A D | intel_guc_capture.c | 292 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() 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() 778 guc_capture_log_remove_dw(struct intel_guc *guc, struct __guc_capture_bufstate *buf, in guc_capture_log_remove_dw() [all …]
|
H A D | intel_guc.h | 327 #define GUC_SUBMIT_VER(guc) MAKE_GUC_VER_STRUCT((guc)->submission_version) argument 328 #define GUC_FIRMWARE_VER(guc) MAKE_GUC_VER_STRUCT((guc)->fw.file_selected.ver) argument 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() 394 static inline void intel_guc_to_host_event_handler(struct intel_guc *guc) in intel_guc_to_host_event_handler() 416 static inline u32 intel_guc_ggtt_offset(struct intel_guc *guc, in intel_guc_ggtt_offset() 447 static inline bool intel_guc_is_supported(struct intel_guc *guc) in intel_guc_is_supported() 452 static inline bool intel_guc_is_wanted(struct intel_guc *guc) in intel_guc_is_wanted() [all …]
|
H A D | intel_guc_slpc.c | 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() 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() 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() local 178 struct intel_guc *guc = slpc_to_guc(slpc); in slpc_set_param() local 193 struct intel_guc *guc = slpc_to_guc(slpc); in slpc_force_min_freq() local [all …]
|
H A D | intel_guc_log.c | 42 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 …]
|
H A D | intel_guc_rc.h | 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()
|
H A D | intel_guc_submission.h | 43 static inline bool intel_guc_submission_is_supported(struct intel_guc *guc) in intel_guc_submission_is_supported() 48 static inline bool intel_guc_submission_is_wanted(struct intel_guc *guc) in intel_guc_submission_is_wanted() 53 static inline bool intel_guc_submission_is_used(struct intel_guc *guc) in intel_guc_submission_is_used()
|
H A D | intel_guc_hwconfig.c | 34 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() local
|
H A D | intel_guc_slpc.h | 17 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()
|
H A D | intel_guc_fw.c | 71 struct intel_guc *guc = container_of(guc_fw, struct intel_guc, fw); in guc_xfer_rsa_vma() local 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()
|
H A D | intel_guc_ct.c | 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() local 332 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_enable() local 395 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_disable() local 841 struct intel_guc *guc = ct_to_guc(ct); in intel_guc_ct_send() local 1109 struct intel_guc *guc = ct_to_guc(ct); in ct_process_request() local 1384 struct intel_guc *guc = ct_to_guc(ct); in ct_dead_ct_worker_func() local
|
H A D | intel_guc_log_debugfs.c | 33 struct intel_guc *guc = log_to_guc(log); in guc_log_dump_size() local 61 struct intel_guc *guc = log_to_guc(log); in guc_load_err_dump_size() local
|
H A D | selftest_guc.c | 147 struct intel_guc *guc = gt_to_guc(gt); in intel_guc_steal_guc_ids() local 293 static int bad_h2g(struct intel_guc *guc) in bad_h2g()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc.c | 41 static u32 guc_bo_ggtt_addr(struct xe_guc *guc, in guc_bo_ggtt_addr() 55 static u32 guc_ctl_debug_flags(struct xe_guc *guc) in guc_ctl_debug_flags() 69 static u32 guc_ctl_feature_flags(struct xe_guc *guc) in guc_ctl_feature_flags() 79 static u32 guc_ctl_log_params_flags(struct xe_guc *guc) in guc_ctl_log_params_flags() 132 static u32 guc_ctl_ads_flags(struct xe_guc *guc) in guc_ctl_ads_flags() 140 static u32 guc_ctl_wa_flags(struct xe_guc *guc) in guc_ctl_wa_flags() 179 static u32 guc_ctl_devid(struct xe_guc *guc) in guc_ctl_devid() 186 static void guc_print_params(struct xe_guc *guc) in guc_print_params() 199 static void guc_init_params(struct xe_guc *guc) in guc_init_params() 213 static void guc_init_params_post_hwconfig(struct xe_guc *guc) in guc_init_params_post_hwconfig() [all …]
|
H A D | xe_guc_hwconfig.c | 18 static int send_get_hwconfig(struct xe_guc *guc, u64 ggtt_addr, u32 size) in send_get_hwconfig() 30 static int guc_hwconfig_size(struct xe_guc *guc, u32 *size) in guc_hwconfig_size() 41 static int guc_hwconfig_copy(struct xe_guc *guc) in guc_hwconfig_copy() 52 int xe_guc_hwconfig_init(struct xe_guc *guc) in xe_guc_hwconfig_init() 93 u32 xe_guc_hwconfig_size(struct xe_guc *guc) in xe_guc_hwconfig_size() 98 void xe_guc_hwconfig_copy(struct xe_guc *guc, void *dst) in xe_guc_hwconfig_copy() 108 void xe_guc_hwconfig_dump(struct xe_guc *guc, struct drm_printer *p) in xe_guc_hwconfig_dump() 167 int xe_guc_hwconfig_lookup_u32(struct xe_guc *guc, u32 attribute, u32 *val) in xe_guc_hwconfig_lookup_u32()
|
H A D | xe_guc.h | 21 #define GUC_SUBMIT_VER(guc) \ argument 23 #define GUC_FIRMWARE_VER(guc) \ argument 75 static inline struct xe_gt *guc_to_gt(struct xe_guc *guc) in guc_to_gt() 80 static inline struct xe_device *guc_to_xe(struct xe_guc *guc) in guc_to_xe()
|
H A D | xe_gt_sriov_vf.c | 35 static int guc_action_vf_reset(struct xe_guc *guc) in guc_action_vf_reset() 51 struct xe_guc *guc = >->uc.guc; in vf_reset_guc_state() local 60 static int guc_action_match_version(struct xe_guc *guc, in guc_action_match_version() 122 struct xe_guc *guc = >->uc.guc; in vf_handshake_with_guc() local 226 static int guc_action_query_single_klv(struct xe_guc *guc, u32 key, in guc_action_query_single_klv() 274 static int guc_action_query_single_klv32(struct xe_guc *guc, u32 key, u32 *value32) in guc_action_query_single_klv32() 279 static int guc_action_query_single_klv64(struct xe_guc *guc, u32 key, u64 *value64) in guc_action_query_single_klv64() 308 struct xe_guc *guc = >->uc.guc; in xe_gt_sriov_vf_gmdid() local 330 struct xe_guc *guc = >->uc.guc; in vf_get_ggtt_info() local 362 struct xe_guc *guc = >->uc.guc; in vf_get_lmem_info() local [all …]
|
H A D | xe_guc_debugfs.c | 26 struct xe_guc *guc = node_to_guc(m->private); in guc_info() local 39 struct xe_guc *guc = node_to_guc(m->private); in guc_log() local 55 void xe_guc_debugfs_register(struct xe_guc *guc, struct dentry *parent) in xe_guc_debugfs_register()
|
H A D | xe_memirq.c | 38 static const char *guc_name(struct xe_guc *guc) in guc_name() 275 int xe_memirq_init_guc(struct xe_memirq *memirq, struct xe_guc *guc) in xe_memirq_init_guc() 371 struct xe_guc *guc) in memirq_dispatch_guc()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt.h | 102 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()
|