Home
last modified time | relevance | path

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

123456

/linux-6.8/drivers/gpu/drm/xe/
Dxe_display.c34 static bool has_display(struct xe_device *xe) in has_display()
56 struct xe_device *xe = to_xe_device(dev); in xe_display_last_close() local
79 static void unset_display_features(struct xe_device *xe) in unset_display_features()
86 struct xe_device *xe = to_xe_device(dev); in display_destroy() local
102 int xe_display_create(struct xe_device *xe) in xe_display_create()
127 struct xe_device *xe = to_xe_device(dev); in xe_display_fini_nommio() local
135 int xe_display_init_nommio(struct xe_device *xe) in xe_display_init_nommio()
151 struct xe_device *xe = to_xe_device(dev); in xe_display_fini_noirq() local
160 int xe_display_init_noirq(struct xe_device *xe) in xe_display_init_noirq()
191 struct xe_device *xe = to_xe_device(dev); in xe_display_fini_noaccel() local
[all …]
Dxe_display.h46 static inline void xe_display_driver_remove(struct xe_device *xe) {} in xe_display_driver_remove()
48 static inline int xe_display_create(struct xe_device *xe) { return 0; } in xe_display_create()
50 static inline void xe_display_probe(struct xe_device *xe) { } in xe_display_probe()
52 static inline int xe_display_init_nommio(struct xe_device *xe) { return 0; } in xe_display_init_nommio()
53 static inline int xe_display_init_noirq(struct xe_device *xe) { return 0; } in xe_display_init_noirq()
54 static inline int xe_display_init_noaccel(struct xe_device *xe) { return 0; } in xe_display_init_noaccel()
55 static inline int xe_display_init(struct xe_device *xe) { return 0; } in xe_display_init()
56 static inline void xe_display_fini(struct xe_device *xe) {} in xe_display_fini()
58 static inline void xe_display_register(struct xe_device *xe) {} in xe_display_register()
59 static inline void xe_display_unregister(struct xe_device *xe) {} in xe_display_unregister()
[all …]
Dxe_device.c53 struct xe_device *xe = to_xe_device(dev); in xe_file_open() local
88 struct xe_device *xe = to_xe_device(dev); in xe_file_close() local
153 struct xe_device *xe = to_xe_device(dev); in xe_driver_release() local
191 struct xe_device *xe = to_xe_device(dev); in xe_device_destroy() local
205 struct xe_device *xe; in xe_device_create() local
289 static void xe_driver_flr(struct xe_device *xe) in xe_driver_flr()
342 struct xe_device *xe = arg; in xe_driver_flr_fini() local
350 struct xe_device *xe = arg; in xe_device_sanitize() local
358 static int xe_set_dma_info(struct xe_device *xe) in xe_set_dma_info()
383 int xe_device_probe_early(struct xe_device *xe) in xe_device_probe_early()
[all …]
Dxe_pm.c51 int xe_pm_suspend(struct xe_device *xe) in xe_pm_suspend()
88 int xe_pm_resume(struct xe_device *xe) in xe_pm_resume()
143 static void xe_pm_runtime_init(struct xe_device *xe) in xe_pm_runtime_init()
166 void xe_pm_init(struct xe_device *xe) in xe_pm_init()
186 void xe_pm_runtime_fini(struct xe_device *xe) in xe_pm_runtime_fini()
194 static void xe_pm_write_callback_task(struct xe_device *xe, in xe_pm_write_callback_task()
208 struct task_struct *xe_pm_read_callback_task(struct xe_device *xe) in xe_pm_read_callback_task()
215 int xe_pm_runtime_suspend(struct xe_device *xe) in xe_pm_runtime_suspend()
269 int xe_pm_runtime_resume(struct xe_device *xe) in xe_pm_runtime_resume()
320 int xe_pm_runtime_get(struct xe_device *xe) in xe_pm_runtime_get()
[all …]
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
Dxe_irq.c85 static u32 xelp_intr_disable(struct xe_device *xe) in xelp_intr_disable()
101 gu_misc_irq_ack(struct xe_device *xe, const u32 master_ctl) in gu_misc_irq_ack()
116 static inline void xelp_intr_enable(struct xe_device *xe, bool stall) in xelp_intr_enable()
128 struct xe_device *xe = gt_to_xe(gt); in xe_irq_enable_hwe() local
193 gt_engine_identity(struct xe_device *xe, in gt_engine_identity()
247 struct xe_device *xe = tile_to_xe(tile); in pick_engine_gt() local
267 struct xe_device *xe = tile_to_xe(tile); in gt_irq_handler() local
320 struct xe_device *xe = arg; in xelp_irq_handler() local
352 static u32 dg1_intr_disable(struct xe_device *xe) in dg1_intr_disable()
370 static void dg1_intr_enable(struct xe_device *xe, bool stall) in dg1_intr_enable()
[all …]
Dxe_sriov.h17 static inline enum xe_sriov_mode xe_device_sriov_mode(struct xe_device *xe) in xe_device_sriov_mode()
23 static inline bool xe_device_is_sriov_pf(struct xe_device *xe) in xe_device_is_sriov_pf()
28 static inline bool xe_device_is_sriov_vf(struct xe_device *xe) in xe_device_is_sriov_vf()
34 #define IS_SRIOV_PF(xe) xe_device_is_sriov_pf(xe) argument
36 #define IS_SRIOV_PF(xe) (typecheck(struct xe_device *, (xe)) && false) argument
38 #define IS_SRIOV_VF(xe) xe_device_is_sriov_vf(xe) argument
40 #define IS_SRIOV(xe) (IS_SRIOV_PF(xe) || IS_SRIOV_VF(xe)) argument
Dxe_ttm_stolen_mgr.c52 bool xe_ttm_stolen_cpu_access_needs_ggtt(struct xe_device *xe) in xe_ttm_stolen_cpu_access_needs_ggtt()
57 static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_bar2_dgfx()
89 static u32 get_wopcm_size(struct xe_device *xe) in get_wopcm_size()
112 static u32 detect_bar2_integrated(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_bar2_integrated()
187 static u64 detect_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_stolen()
201 void xe_ttm_stolen_mgr_init(struct xe_device *xe) in xe_ttm_stolen_mgr_init()
249 struct xe_device *xe = xe_bo_device(bo); in xe_ttm_stolen_io_offset() local
263 static int __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe, in __xe_ttm_stolen_io_mem_reserve_bar2()
287 static int __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe, in __xe_ttm_stolen_io_mem_reserve_stolen()
314 int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem) in xe_ttm_stolen_io_mem_reserve()
[all …]
Dxe_bo.c72 static bool resource_is_stolen_vram(struct xe_device *xe, struct ttm_resource *res) in resource_is_stolen_vram()
114 mem_type_to_migrate(struct xe_device *xe, u32 mem_type) in mem_type_to_migrate()
125 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); in res_to_mem_region() local
133 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system()
149 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram()
185 static void try_add_vram(struct xe_device *xe, struct xe_bo *bo, in try_add_vram()
201 static void try_add_stolen(struct xe_device *xe, struct xe_bo *bo, in try_add_stolen()
217 static int __xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in __xe_bo_placement_for_flags()
248 int xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in xe_bo_placement_for_flags()
337 struct xe_device *xe = xe_bo_device(bo); in xe_ttm_tt_create() local
[all …]
Dxe_device.h52 static inline struct xe_tile *xe_device_get_root_tile(struct xe_device *xe) in xe_device_get_root_tile()
67 static inline struct xe_gt *xe_device_get_gt(struct xe_device *xe, u8 gt_id) in xe_device_get_gt()
109 static inline struct xe_gt *xe_root_mmio_gt(struct xe_device *xe) in xe_root_mmio_gt()
114 static inline bool xe_device_uc_enabled(struct xe_device *xe) in xe_device_uc_enabled()
147 static inline bool xe_device_in_fault_mode(struct xe_device *xe) in xe_device_in_fault_mode()
152 static inline bool xe_device_in_non_fault_mode(struct xe_device *xe) in xe_device_in_non_fault_mode()
157 static inline bool xe_device_has_flat_ccs(struct xe_device *xe) in xe_device_has_flat_ccs()
162 static inline bool xe_device_has_sriov(struct xe_device *xe) in xe_device_has_sriov()
Dxe_mmio.c31 _resize_bar(struct xe_device *xe, int resno, resource_size_t size) in _resize_bar()
54 static void xe_resize_vram_bar(struct xe_device *xe) in xe_resize_vram_bar()
140 static int xe_determine_lmem_bar_size(struct xe_device *xe) in xe_determine_lmem_bar_size()
187 struct xe_device *xe = tile_to_xe(tile); in xe_mmio_tile_vram_size() local
221 int xe_mmio_probe_vram(struct xe_device *xe) in xe_mmio_probe_vram()
300 void xe_mmio_probe_tiles(struct xe_device *xe) in xe_mmio_probe_tiles()
355 struct xe_device *xe = arg; in mmio_fini() local
362 static int xe_verify_lmem_ready(struct xe_device *xe) in xe_verify_lmem_ready()
380 int xe_mmio_init(struct xe_device *xe) in xe_mmio_init()
400 int xe_mmio_root_tile_init(struct xe_device *xe) in xe_mmio_root_tile_init()
Dxe_query.c41 static size_t calc_hw_engine_info_size(struct xe_device *xe) in calc_hw_engine_info_size()
108 query_engine_cycles(struct xe_device *xe, in query_engine_cycles()
181 static int query_engines(struct xe_device *xe, in query_engines()
234 static size_t calc_mem_regions_size(struct xe_device *xe) in calc_mem_regions_size()
246 static int query_mem_regions(struct xe_device *xe, in query_mem_regions()
317 static int query_config(struct xe_device *xe, struct drm_xe_device_query *query) in query_config()
358 static int query_gt_list(struct xe_device *xe, struct drm_xe_device_query *query) in query_gt_list()
421 static int query_hwconfig(struct xe_device *xe, in query_hwconfig()
453 static size_t calc_topo_query_size(struct xe_device *xe) in calc_topo_query_size()
479 static int query_gt_topology(struct xe_device *xe, in query_gt_topology()
[all …]
Dxe_exec_queue.c33 static struct xe_exec_queue *__xe_exec_queue_create(struct xe_device *xe, in __xe_exec_queue_create()
114 struct xe_exec_queue *xe_exec_queue_create(struct xe_device *xe, struct xe_vm *vm, in xe_exec_queue_create()
133 struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe_gt *gt, in xe_exec_queue_create_class()
227 xe_exec_queue_device_get_max_priority(struct xe_device *xe) in xe_exec_queue_device_get_max_priority()
233 static int exec_queue_set_priority(struct xe_device *xe, struct xe_exec_queue *q, in exec_queue_set_priority()
297 static int exec_queue_set_timeslice(struct xe_device *xe, struct xe_exec_queue *q, in exec_queue_set_timeslice()
321 static int exec_queue_user_ext_set_property(struct xe_device *xe, in exec_queue_user_ext_set_property()
359 static int exec_queue_user_extensions(struct xe_device *xe, struct xe_exec_queue *q, in exec_queue_user_extensions()
401 find_hw_engine(struct xe_device *xe, in find_hw_engine()
420 static u32 bind_exec_queue_logical_mask(struct xe_device *xe, struct xe_gt *gt, in bind_exec_queue_logical_mask()
[all …]
Dxe_guc_submit.c267 struct xe_device *xe = guc_to_xe(guc); in xe_guc_submit_init() local
423 struct xe_device *xe = guc_to_xe(guc); in init_policies() local
462 struct xe_device *xe = guc_to_xe(guc); in __register_mlrc_engine() local
520 struct xe_device *xe = guc_to_xe(guc); in register_engine() local
579 struct xe_device *xe = guc_to_xe(guc); in wq_wait_for_space() local
607 struct xe_device *xe = guc_to_xe(guc); in wq_noop_append() local
627 struct xe_device *xe = guc_to_xe(guc); in wq_item_append() local
672 struct xe_device *xe = guc_to_xe(guc); in submit_exec_queue() local
727 struct xe_device *xe = guc_to_xe(guc); in guc_exec_queue_run_job() local
777 struct xe_device *xe = guc_to_xe(guc); in disable_scheduling_deregister() local
[all …]
Dxe_rtp.c26 static bool has_samedia(const struct xe_device *xe) in has_samedia()
31 static bool rule_matches(const struct xe_device *xe, in rule_matches()
129 struct xe_device *xe, struct xe_gt *gt, in rtp_process_one_sr()
155 struct xe_device **xe) in rtp_get_context()
190 static void rtp_mark_active(struct xe_device *xe, in rtp_mark_active()
226 struct xe_device *xe = NULL; in xe_rtp_process_to_sr() local
270 struct xe_device *xe; in xe_rtp_process() local
Dxe_pat.c145 u16 xe_pat_index_get_coh_mode(struct xe_device *xe, u16 pat_index) in xe_pat_index_get_coh_mode()
173 struct xe_device *xe = gt_to_xe(gt); in xelp_dump() local
204 struct xe_device *xe = gt_to_xe(gt); in xehp_dump() local
237 struct xe_device *xe = gt_to_xe(gt); in xehpc_dump() local
268 struct xe_device *xe = gt_to_xe(gt); in xelpg_dump() local
323 struct xe_device *xe = gt_to_xe(gt); in xe2_dump() local
381 void xe_pat_init_early(struct xe_device *xe) in xe_pat_init_early()
440 struct xe_device *xe = gt_to_xe(gt); in xe_pat_init() local
453 struct xe_device *xe = gt_to_xe(gt); in xe_pat_dump() local
Dxe_guc_ads.c122 struct xe_device *xe = ads_to_xe(ads); in guc_ads_regset_size() local
142 struct xe_device *xe = ads_to_xe(ads); in guc_ads_um_queues_size() local
206 static bool needs_wa_1607983814(struct xe_device *xe) in needs_wa_1607983814()
246 struct xe_device *xe = ads_to_xe(ads); in calculate_golden_lrc_size() local
267 struct xe_device *xe = ads_to_xe(ads); in xe_guc_ads_init() local
326 struct xe_device *xe = gt_to_xe(gt); in fill_engine_enable_masks() local
345 struct xe_device *xe = ads_to_xe(ads); in guc_prep_golden_lrc_null() local
367 struct xe_device *xe = gt_to_xe(gt); in guc_mapping_table_init_invalid() local
380 struct xe_device *xe = gt_to_xe(gt); in guc_mapping_table_init() local
430 struct xe_device *xe = ads_to_xe(ads); in guc_mmio_regset_write() local
[all …]
Dxe_pci.c435 find_subplatform(const struct xe_device *xe, const struct xe_device_desc *desc) in find_subplatform()
453 static void read_gmdid(struct xe_device *xe, enum xe_gmdid_type type, u32 *ver, u32 *revid) in read_gmdid()
475 static void handle_pre_gmdid(struct xe_device *xe, in handle_pre_gmdid()
490 static void handle_gmdid(struct xe_device *xe, in handle_gmdid()
539 static int xe_info_init_early(struct xe_device *xe, in xe_info_init_early()
575 static int xe_info_init(struct xe_device *xe, in xe_info_init()
682 struct xe_device *xe; in xe_pci_remove() local
697 struct xe_device *xe; in xe_pci_probe() local
797 struct xe_device *xe = pdev_to_xe_device(pdev); in d3cold_toggle() local
867 struct xe_device *xe = pdev_to_xe_device(pdev); in xe_pci_runtime_suspend() local
[all …]
Dxe_device_sysfs.c32 struct xe_device *xe = pdev_to_xe_device(pdev); in vram_d3cold_threshold_show() local
48 struct xe_device *xe = pdev_to_xe_device(pdev); in vram_d3cold_threshold_store() local
70 struct xe_device *xe = arg; in xe_device_sysfs_fini() local
75 void xe_device_sysfs_init(struct xe_device *xe) in xe_device_sysfs_init()
Dxe_guc_ct.c133 struct xe_device *xe = ct_to_xe(ct); in xe_guc_ct_init() local
173 static void guc_ct_ctb_h2g_init(struct xe_device *xe, struct guc_ctb *h2g, in guc_ct_ctb_h2g_init()
191 static void guc_ct_ctb_g2h_init(struct xe_device *xe, struct guc_ctb *g2h, in guc_ct_ctb_g2h_init()
283 struct xe_device *xe = ct_to_xe(ct); in xe_guc_ct_enable() local
411 struct xe_device *xe = ct_to_xe(ct); in h2g_write() local
482 struct xe_device *xe = ct_to_xe(ct); in __guc_ct_send_locked() local
590 struct xe_device *xe = ct_to_xe(ct); in guc_ct_send_locked() local
696 struct xe_device *xe = ct_to_xe(ct); in guc_ct_send_recv() local
789 struct xe_device *xe = ct_to_xe(ct); in parse_g2h_response() local
835 struct xe_device *xe = ct_to_xe(ct); in parse_g2h_msg() local
[all …]
Dxe_map.h23 static inline void xe_map_memcpy_to(struct xe_device *xe, struct iosys_map *dst, in xe_map_memcpy_to()
31 static inline void xe_map_memcpy_from(struct xe_device *xe, void *dst, in xe_map_memcpy_from()
39 static inline void xe_map_memset(struct xe_device *xe, in xe_map_memset()
48 static inline u32 xe_map_read32(struct xe_device *xe, struct iosys_map *map) in xe_map_read32()
58 static inline void xe_map_write32(struct xe_device *xe, struct iosys_map *map, in xe_map_write32()
Dxe_lrc.c38 size_t xe_lrc_size(struct xe_device *xe, enum xe_engine_class class) in xe_lrc_size()
498 static const u8 *reg_offsets(struct xe_device *xe, enum xe_engine_class class) in reg_offsets()
537 struct xe_device *xe = gt_to_xe(hwe->gt); in lrc_ring_mi_mode() local
572 static size_t lrc_reg_size(struct xe_device *xe) in lrc_reg_size()
580 size_t xe_lrc_skip_size(struct xe_device *xe) in xe_lrc_skip_size()
638 struct xe_device *xe = lrc_to_xe(lrc); in xe_lrc_read_ctx_reg() local
648 struct xe_device *xe = lrc_to_xe(lrc); in xe_lrc_write_ctx_reg() local
658 struct xe_device *xe = gt_to_xe(hwe->gt); in empty_lrc_data() local
691 struct xe_device *xe = gt_to_xe(gt); in xe_lrc_init() local
819 struct xe_device *xe = lrc_to_xe(lrc); in __xe_lrc_write_ring() local
[all …]
Dxe_guc.c37 struct xe_device *xe = guc_to_xe(guc); in guc_bo_ggtt_addr() local
134 struct xe_device *xe = guc_to_xe(guc); in guc_ctl_wa_flags() local
176 struct xe_device *xe = guc_to_xe(guc); in guc_ctl_devid() local
183 struct xe_device *xe = guc_to_xe(guc); in guc_init_params() local
203 struct xe_device *xe = guc_to_xe(guc); in guc_init_params_post_hwconfig() local
251 struct xe_device *xe = guc_to_xe(guc); in xe_guc_init() local
322 struct xe_device *xe = guc_to_xe(guc); in xe_guc_reset() local
357 struct xe_device *xe = guc_to_xe(guc); in guc_prepare_xfer() local
405 struct xe_device *xe = guc_to_xe(guc); in guc_wait_ucode() local
642 struct xe_device *xe = guc_to_xe(guc); in xe_guc_mmio_send_recv() local
[all …]
/linux-6.8/drivers/gpu/drm/xe/compat-i915-headers/
Di915_drv.h47 #define IS_PLATFORM(xe, x) ((xe)->info.platform == x) argument
100 #define INTEL_DISPLAY_ENABLED(xe) (HAS_DISPLAY((xe)) && !intel_opregion_headless_sku((xe))) argument
102 #define IS_GRAPHICS_VER(xe, first, last) \ argument
105 #define IS_MOBILE(xe) (xe && 0) argument
106 #define HAS_LLC(xe) (!IS_DGFX((xe))) argument
108 #define HAS_GMD_ID(xe) GRAPHICS_VERx100(xe) >= 1270 argument
111 #define IS_DISPLAY_STEP(xe, first, last) ({u8 __step = (xe)->info.step.display; first <= __step && … argument
112 #define IS_GRAPHICS_STEP(xe, first, last) ({u8 __step = (xe)->info.step.graphics; first <= __step &… argument
114 #define IS_LP(xe) (0) argument
115 #define IS_GEN9_LP(xe) (0) argument
[all …]
Di915_gem_stolen.h13 static inline int i915_gem_stolen_insert_node_in_range(struct xe_device *xe, in i915_gem_stolen_insert_node_in_range()
43 static inline int i915_gem_stolen_insert_node(struct xe_device *xe, in i915_gem_stolen_insert_node()
52 static inline void i915_gem_stolen_remove_node(struct xe_device *xe, in i915_gem_stolen_remove_node()
59 #define i915_gem_stolen_initialized(xe) (!!ttm_manager_type(&(xe)->ttm, XE_PL_STOLEN)) argument
71 #define i915_gem_stolen_area_address(xe) (!WARN_ON(1)) argument
73 #define i915_gem_stolen_area_size(xe) (!WARN_ON(1)) argument
75 #define i915_gem_stolen_node_address(xe, fb) (xe_ttm_stolen_gpu_offset(xe) + \ argument

123456