Home
last modified time | relevance | path

Searched defs:xe (Results 1 – 25 of 106) sorted by relevance

12345

/linux/drivers/gpu/drm/xe/
H A Dxe_pm.c95 bool xe_rpm_reclaim_safe(const struct xe_device *xe) in xe_rpm_reclaim_safe()
100 static void xe_rpm_lockmap_acquire(const struct xe_device *xe) in xe_rpm_lockmap_acquire()
107 static void xe_rpm_lockmap_release(const struct xe_device *xe) in xe_rpm_lockmap_release()
120 int xe_pm_suspend(struct xe_device *xe) in xe_pm_suspend()
174 int xe_pm_resume(struct xe_device *xe) in xe_pm_resume()
231 static bool xe_pm_pci_d3cold_capable(struct xe_device *xe) in xe_pm_pci_d3cold_capable()
255 static void xe_pm_runtime_init(struct xe_device *xe) in xe_pm_runtime_init()
282 int xe_pm_init_early(struct xe_device *xe) in xe_pm_init_early()
301 static u32 vram_threshold_value(struct xe_device *xe) in vram_threshold_value()
310 static void xe_pm_wake_rebind_workers(struct xe_device *xe) in xe_pm_wake_rebind_workers()
[all …]
H A Dxe_sriov_printk.h14 #define xe_sriov_printk_prefix(xe) \ argument
18 #define xe_sriov_printk(xe, _level, fmt, ...) \ argument
21 #define xe_sriov_err(xe, fmt, ...) \ argument
24 #define xe_sriov_err_ratelimited(xe, fmt, ...) \ argument
27 #define xe_sriov_warn(xe, fmt, ...) \ argument
30 #define xe_sriov_notice(xe, fmt, ...) \ argument
33 #define xe_sriov_info(xe, fmt, ...) \ argument
36 #define xe_sriov_dbg(xe, fmt, ...) \ argument
41 #define xe_sriov_dbg_verbose(xe, fmt, ...) xe_sriov_dbg(xe, fmt, ##__VA_ARGS__) argument
43 #define xe_sriov_dbg_verbose(xe, fmt, ...) typecheck(struct xe_device *, (xe)) argument
H A Dxe_bo.c89 static bool resource_is_stolen_vram(struct xe_device *xe, struct ttm_resource *res) in resource_is_stolen_vram()
161 mem_type_to_migrate(struct xe_device *xe, u32 mem_type) in mem_type_to_migrate()
172 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); in res_to_mem_region() local
183 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system()
216 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram()
247 static void try_add_vram(struct xe_device *xe, struct xe_bo *bo, in try_add_vram()
256 static void try_add_stolen(struct xe_device *xe, struct xe_bo *bo, in try_add_stolen()
271 static int __xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in __xe_bo_placement_for_flags()
291 int xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in xe_bo_placement_for_flags()
301 struct xe_device *xe = container_of(tbo->bdev, typeof(*xe), ttm); in xe_evict_flags() local
[all …]
H A Dxe_survivability_mode.c95 static void populate_survivability_info(struct xe_device *xe) in populate_survivability_info()
131 struct xe_device *xe = pdev_to_xe_device(pdev); in log_survivability_info() local
145 static int check_boot_failure(struct xe_device *xe) in check_boot_failure()
157 struct xe_device *xe = pdev_to_xe_device(pdev); in survivability_mode_show() local
181 struct xe_device *xe = arg; in xe_survivability_mode_fini() local
191 struct xe_device *xe = pdev_to_xe_device(pdev); in create_survivability_sysfs() local
212 struct xe_device *xe = pdev_to_xe_device(pdev); in enable_boot_survivability_mode() local
242 static int init_survivability_mode(struct xe_device *xe) in init_survivability_mode()
267 bool xe_survivability_mode_is_boot_enabled(struct xe_device *xe) in xe_survivability_mode_is_boot_enabled()
284 bool xe_survivability_mode_is_requested(struct xe_device *xe) in xe_survivability_mode_is_requested()
[all …]
H A Dxe_sriov_pf.c20 static unsigned int wanted_max_vfs(struct xe_device *xe) in wanted_max_vfs()
25 static int pf_reduce_totalvfs(struct xe_device *xe, int limit) in pf_reduce_totalvfs()
38 static bool pf_continue_as_native(struct xe_device *xe, const char *why) in pf_continue_as_native()
54 bool xe_sriov_pf_readiness(struct xe_device *xe) in xe_sriov_pf_readiness()
86 int xe_sriov_pf_init_early(struct xe_device *xe) in xe_sriov_pf_init_early()
114 int xe_sriov_pf_wait_ready(struct xe_device *xe) in xe_sriov_pf_wait_ready()
139 void xe_sriov_pf_print_vfs_summary(struct xe_device *xe, struct drm_printer *p) in xe_sriov_pf_print_vfs_summary()
155 struct xe_device *xe = parent->d_inode->i_private; in simple_show() local
174 void xe_sriov_pf_debugfs_register(struct xe_device *xe, struct dentry *root) in xe_sriov_pf_debugfs_register()
H A Dxe_pci_sriov.c34 static int pf_provision_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_provision_vfs()
50 static void pf_unprovision_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_unprovision_vfs()
61 static void pf_reset_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_reset_vfs()
72 static struct pci_dev *xe_pci_pf_get_vf_dev(struct xe_device *xe, unsigned int vf_id) in xe_pci_pf_get_vf_dev()
84 static void pf_link_vfs(struct xe_device *xe, int num_vfs) in pf_link_vfs()
121 static void pf_engine_activity_stats(struct xe_device *xe, unsigned int num_vfs, bool enable) in pf_engine_activity_stats()
135 static int resize_vf_vram_bar(struct xe_device *xe, int num_vfs) in resize_vf_vram_bar()
147 static int pf_enable_vfs(struct xe_device *xe, int num_vfs) in pf_enable_vfs()
205 static int pf_disable_vfs(struct xe_device *xe) in pf_disable_vfs()
246 struct xe_device *xe = pdev_to_xe_device(pdev); in xe_pci_sriov_configure() local
H A Dxe_sriov_pf_service.c24 void xe_sriov_pf_service_init(struct xe_device *xe) in xe_sriov_pf_service_init()
41 static int pf_negotiate_version(struct xe_device *xe, in pf_negotiate_version()
87 static void pf_connect(struct xe_device *xe, u32 vfid, u32 major, u32 minor) in pf_connect()
96 static void pf_disconnect(struct xe_device *xe, u32 vfid) in pf_disconnect()
117 bool xe_sriov_pf_service_is_negotiated(struct xe_device *xe, u32 vfid, u32 major, u32 minor) in xe_sriov_pf_service_is_negotiated()
140 int xe_sriov_pf_service_handshake_vf(struct xe_device *xe, u32 vfid, in xe_sriov_pf_service_handshake_vf()
176 void xe_sriov_pf_service_reset_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_service_reset_vf()
194 void xe_sriov_pf_service_print_versions(struct xe_device *xe, struct drm_printer *p) in xe_sriov_pf_service_print_versions()
H A Dxe_query.c50 static size_t calc_hw_engine_info_size(struct xe_device *xe) in calc_hw_engine_info_size()
115 query_engine_cycles(struct xe_device *xe, in query_engine_cycles()
187 static int query_engines(struct xe_device *xe, in query_engines()
236 static size_t calc_mem_regions_size(struct xe_device *xe) in calc_mem_regions_size()
248 static int query_mem_regions(struct xe_device *xe, in query_mem_regions()
316 static int query_config(struct xe_device *xe, struct drm_xe_device_query *query) in query_config()
362 static int query_gt_list(struct xe_device *xe, struct drm_xe_device_query *query) in query_gt_list()
435 static int query_hwconfig(struct xe_device *xe, in query_hwconfig()
465 static size_t calc_topo_query_size(struct xe_device *xe) in calc_topo_query_size()
503 static int query_gt_topology(struct xe_device *xe, in query_gt_topology()
[all …]
H A Dxe_late_bind_fw.c58 struct xe_device *xe = late_bind_fw_to_xe(lb_fw); in parse_cpd_header() local
115 struct xe_device *xe = late_bind_fw_to_xe(lb_fw); in parse_lb_layout() local
189 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_fw_num_fans() local
198 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_wait_for_worker_completion() local
217 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_work() local
274 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_fw_load() local
296 struct xe_device *xe = late_bind_to_xe(late_bind); in __xe_late_bind_fw_init() local
386 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_late_bind_component_bind() local
398 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_late_bind_component_unbind() local
414 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_remove() local
[all …]
H A Dxe_pmu.c93 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_to_gt() local
101 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_to_hwe() local
135 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_gt_forcewake() local
163 struct xe_device *xe = container_of(pmu, typeof(*xe), pmu); in event_supported() local
175 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_param_valid() local
216 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_destroy() local
234 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_init() local
338 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_read() local
361 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_start() local
373 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_stop() local
[all …]
H A Dxe_device_sysfs.c40 struct xe_device *xe = pdev_to_xe_device(pdev); in vram_d3cold_threshold_show() local
55 struct xe_device *xe = pdev_to_xe_device(pdev); in vram_d3cold_threshold_store() local
86 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); in lb_fan_control_version_show() local
125 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); in lb_voltage_regulator_version_show() local
171 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); in late_bind_attr_is_visible() local
241 struct xe_device *xe = pdev_to_xe_device(pdev); in auto_link_downgrade_capable_show() local
257 struct xe_device *xe = pdev_to_xe_device(pdev); in auto_link_downgrade_status_show() local
282 int xe_device_sysfs_init(struct xe_device *xe) in xe_device_sysfs_init()
H A Dxe_exec_queue.c60 static int alloc_dep_schedulers(struct xe_device *xe, struct xe_exec_queue *q) in alloc_dep_schedulers()
93 static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe, in __xe_exec_queue_alloc()
212 struct xe_exec_queue *xe_exec_queue_create(struct xe_device *xe, struct xe_vm *vm, in xe_exec_queue_create()
255 struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe_gt *gt, in xe_exec_queue_create_class()
297 struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe, in xe_exec_queue_create_bind()
403 xe_exec_queue_device_get_max_priority(struct xe_device *xe) in xe_exec_queue_device_get_max_priority()
409 static int exec_queue_set_priority(struct xe_device *xe, struct xe_exec_queue *q, in exec_queue_set_priority()
474 static int exec_queue_set_timeslice(struct xe_device *xe, struct xe_exec_queue *q, in exec_queue_set_timeslice()
491 exec_queue_set_pxp_type(struct xe_device *xe, struct xe_exec_queue *q, u64 value) in exec_queue_set_pxp_type()
516 static int exec_queue_user_ext_set_property(struct xe_device *xe, in exec_queue_user_ext_set_property()
[all …]
H A Dxe_guc.c50 struct xe_device *xe = guc_to_xe(guc); in guc_bo_ggtt_addr() local
84 struct xe_device *xe = guc_to_xe(guc); in guc_ctl_feature_flags() local
179 struct xe_device *xe = guc_to_xe(guc); in guc_ctl_wa_flags() local
221 struct xe_device *xe = guc_to_xe(guc); in guc_ctl_devid() local
289 struct xe_device *xe = gt_to_xe(gt); in guc_action_register_g2g_buffer() local
309 struct xe_device *xe = gt_to_xe(gt); in guc_action_deregister_g2g_buffer() local
399 struct xe_device *xe = gt_to_xe(near_gt); in guc_g2g_register() local
437 struct xe_device *xe = gt_to_xe(gt); in guc_g2g_size() local
446 static bool xe_guc_g2g_wanted(struct xe_device *xe) in xe_guc_g2g_wanted()
459 struct xe_device *xe = gt_to_xe(gt); in guc_g2g_alloc() local
[all …]
H A Dxe_nvm.c44 static bool xe_nvm_non_posted_erase(struct xe_device *xe) in xe_nvm_non_posted_erase()
54 static bool xe_nvm_writable_override(struct xe_device *xe) in xe_nvm_writable_override()
86 int xe_nvm_init(struct xe_device *xe) in xe_nvm_init()
152 void xe_nvm_fini(struct xe_device *xe) in xe_nvm_fini()
H A Dxe_sriov_pf_helpers.h25 #define xe_sriov_pf_assert_vfid(xe, vfid) \ argument
34 static inline int xe_sriov_pf_get_totalvfs(struct xe_device *xe) in xe_sriov_pf_get_totalvfs()
40 static inline struct mutex *xe_sriov_pf_master_mutex(struct xe_device *xe) in xe_sriov_pf_master_mutex()
H A Dxe_sriov_pf.h22 static inline bool xe_sriov_pf_readiness(struct xe_device *xe) in xe_sriov_pf_readiness()
27 static inline int xe_sriov_pf_init_early(struct xe_device *xe) in xe_sriov_pf_init_early()
32 static inline void xe_sriov_pf_debugfs_register(struct xe_device *xe, struct dentry *root) in xe_sriov_pf_debugfs_register()
H A Dxe_gsc_proxy.c206 static u32 emit_proxy_header(struct xe_device *xe, struct iosys_map *map, u32 offset) in emit_proxy_header()
224 struct xe_device *xe = gt_to_xe(gt); in proxy_query() local
380 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_gsc_proxy_component_bind() local
395 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_gsc_proxy_component_unbind() local
415 struct xe_device *xe = gt_to_xe(gt); in proxy_channel_alloc() local
442 struct xe_device *xe = gt_to_xe(gt); in xe_gsc_proxy_remove() local
477 struct xe_device *xe = tile_to_xe(tile); in xe_gsc_proxy_init() local
H A Dxe_huc.c50 struct xe_device *xe = gt_to_xe(gt); in huc_alloc_gsc_pkt() local
70 struct xe_device *xe = gt_to_xe(gt); in xe_huc_init() local
109 struct xe_device *xe = huc_to_xe(huc); in xe_huc_init_post_hwconfig() local
137 static u32 huc_emit_pxp_auth_msg(struct xe_device *xe, struct iosys_map *map, in huc_emit_pxp_auth_msg()
156 struct xe_device *xe = gt_to_xe(gt); in huc_auth_via_gsccs() local
H A Dxe_shrinker.c27 struct xe_device *xe; member
57 static s64 __xe_shrinker_walk(struct xe_device *xe, in __xe_shrinker_walk()
102 static s64 xe_shrinker_walk(struct xe_device *xe, in xe_shrinker_walk()
169 struct xe_device *xe = shrinker->xe; in xe_shrinker_runtime_pm_get() local
283 int xe_shrinker_create(struct xe_device *xe) in xe_shrinker_create()
H A Dxe_hw_engine_group.c42 hw_engine_group_alloc(struct xe_device *xe) in hw_engine_group_alloc()
77 struct xe_device *xe = gt_to_xe(gt); in xe_hw_engine_setup_groups() local
125 struct xe_device *xe = gt_to_xe(q->gt); in xe_hw_engine_group_add_exec_queue() local
165 struct xe_device *xe = gt_to_xe(q->gt); in xe_hw_engine_group_del_exec_queue() local
H A Dxe_gsc_submit.c70 u32 xe_gsc_emit_header(struct xe_device *xe, struct iosys_map *map, u32 offset, in xe_gsc_emit_header()
95 void xe_gsc_poison_header(struct xe_device *xe, struct iosys_map *map, u32 offset) in xe_gsc_poison_header()
111 bool xe_gsc_check_and_update_pending(struct xe_device *xe, in xe_gsc_check_and_update_pending()
137 int xe_gsc_read_out_header(struct xe_device *xe, in xe_gsc_read_out_header()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_sriov_pf_service_kunit.c19 struct xe_device *xe; in pf_service_test_init() local
45 struct xe_device *xe = test->priv; in pf_negotiate_any() local
58 struct xe_device *xe = test->priv; in pf_negotiate_base_match() local
72 struct xe_device *xe = test->priv; in pf_negotiate_base_newer() local
90 struct xe_device *xe = test->priv; in pf_negotiate_base_next() local
107 struct xe_device *xe = test->priv; in pf_negotiate_base_older() local
122 struct xe_device *xe = test->priv; in pf_negotiate_base_prev() local
133 struct xe_device *xe = test->priv; in pf_negotiate_latest_match() local
147 struct xe_device *xe = test->priv; in pf_negotiate_latest_newer() local
161 struct xe_device *xe = test->priv; in pf_negotiate_latest_next() local
[all …]
H A Dxe_bo.c126 static void ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in ccs_test_run_tile()
171 static int ccs_test_run_device(struct xe_device *xe) in ccs_test_run_device()
204 struct xe_device *xe = test->priv; in xe_ccs_migrate_kunit() local
209 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile()
348 static int evict_test_run_device(struct xe_device *xe) in evict_test_run_device()
371 struct xe_device *xe = test->priv; in xe_bo_evict_kunit() local
446 static int shrink_test_run_device(struct xe_device *xe) in shrink_test_run_device()
606 struct xe_device *xe = test->priv; in xe_bo_shrink_kunit() local
H A Dxe_kunit_helpers.c36 struct xe_device *xe; in xe_kunit_helper_alloc_xe_device() local
73 struct xe_device *xe; in xe_kunit_helper_xe_device_test_init() local
117 struct xe_device *xe = xe_device_const_cast(test->param_value); in xe_kunit_helper_xe_device_live_test_init() local
H A Dxe_mocs.c113 static int mocs_kernel_test_run_device(struct xe_device *xe) in mocs_kernel_test_run_device()
140 struct xe_device *xe = test->priv; in xe_live_mocs_kernel_kunit() local
148 static int mocs_reset_test_run_device(struct xe_device *xe) in mocs_reset_test_run_device()
184 struct xe_device *xe = test->priv; in xe_live_mocs_reset_kunit() local

12345