Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/drivers/gpu/drm/xe/display/
Dxe_display.c35 static bool has_display(struct xe_device *xe) in has_display()
71 static void unset_display_features(struct xe_device *xe) in unset_display_features()
78 struct xe_device *xe = to_xe_device(dev); in display_destroy() local
94 int xe_display_create(struct xe_device *xe) in xe_display_create()
105 struct xe_device *xe = to_xe_device(dev); in xe_display_fini_nommio() local
113 int xe_display_init_nommio(struct xe_device *xe) in xe_display_init_nommio()
129 struct xe_device *xe = arg; in xe_display_fini_noirq() local
139 int xe_display_init_noirq(struct xe_device *xe) in xe_display_init_noirq()
173 struct xe_device *xe = arg; in xe_display_fini_noaccel() local
181 int xe_display_init_noaccel(struct xe_device *xe) in xe_display_init_noaccel()
[all …]
Dxe_display.h48 static inline void xe_display_driver_remove(struct xe_device *xe) {} in xe_display_driver_remove()
50 static inline int xe_display_create(struct xe_device *xe) { return 0; } in xe_display_create()
52 static inline int xe_display_probe(struct xe_device *xe) { return 0; } in xe_display_probe()
54 static inline int xe_display_init_nommio(struct xe_device *xe) { return 0; } in xe_display_init_nommio()
55 static inline int xe_display_init_noirq(struct xe_device *xe) { return 0; } in xe_display_init_noirq()
56 static inline int xe_display_init_noaccel(struct xe_device *xe) { return 0; } in xe_display_init_noaccel()
57 static inline int xe_display_init(struct xe_device *xe) { return 0; } in xe_display_init()
58 static inline void xe_display_fini(struct xe_device *xe) {} in xe_display_fini()
60 static inline void xe_display_register(struct xe_device *xe) {} in xe_display_register()
61 static inline void xe_display_unregister(struct xe_device *xe) {} in xe_display_unregister()
[all …]
Dxe_hdcp_gsc.c33 bool intel_hdcp_gsc_cs_required(struct xe_device *xe) in intel_hdcp_gsc_cs_required()
38 bool intel_hdcp_gsc_check_status(struct xe_device *xe) in intel_hdcp_gsc_check_status()
69 static int intel_hdcp_gsc_initialize_message(struct xe_device *xe, in intel_hdcp_gsc_initialize_message()
99 static int intel_hdcp_gsc_hdcp2_init(struct xe_device *xe) in intel_hdcp_gsc_hdcp2_init()
140 int intel_hdcp_gsc_init(struct xe_device *xe) in intel_hdcp_gsc_init()
162 void intel_hdcp_gsc_fini(struct xe_device *xe) in intel_hdcp_gsc_fini()
178 static int xe_gsc_send_sync(struct xe_device *xe, in xe_gsc_send_sync()
204 ssize_t intel_hdcp_gsc_msg_send(struct xe_device *xe, u8 *msg_in, in intel_hdcp_gsc_msg_send()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_pm.c89 bool xe_rpm_reclaim_safe(const struct xe_device *xe) in xe_rpm_reclaim_safe()
94 static void xe_rpm_lockmap_acquire(const struct xe_device *xe) in xe_rpm_lockmap_acquire()
101 static void xe_rpm_lockmap_release(const struct xe_device *xe) in xe_rpm_lockmap_release()
114 int xe_pm_suspend(struct xe_device *xe) in xe_pm_suspend()
158 int xe_pm_resume(struct xe_device *xe) in xe_pm_resume()
203 static bool xe_pm_pci_d3cold_capable(struct xe_device *xe) in xe_pm_pci_d3cold_capable()
227 static void xe_pm_runtime_init(struct xe_device *xe) in xe_pm_runtime_init()
250 int xe_pm_init_early(struct xe_device *xe) in xe_pm_init_early()
275 int xe_pm_init(struct xe_device *xe) in xe_pm_init()
304 void xe_pm_runtime_fini(struct xe_device *xe) in xe_pm_runtime_fini()
[all …]
Dxe_device.c64 struct xe_device *xe = to_xe_device(dev); in xe_file_open() local
145 struct xe_device *xe = to_xe_device(dev); in xe_file_close() local
196 struct xe_device *xe = to_xe_device(file_priv->minor->dev); in xe_drm_ioctl() local
214 struct xe_device *xe = to_xe_device(file_priv->minor->dev); in xe_drm_compat_ioctl() local
279 struct xe_device *xe = to_xe_device(dev); in xe_device_destroy() local
299 struct xe_device *xe; in xe_device_create() local
390 static void xe_driver_flr(struct xe_device *xe) in xe_driver_flr()
443 struct xe_device *xe = arg; in xe_driver_flr_fini() local
451 struct xe_device *xe = arg; in xe_device_sanitize() local
459 static int xe_set_dma_info(struct xe_device *xe) in xe_set_dma_info()
[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.c88 static u32 xelp_intr_disable(struct xe_device *xe) in xelp_intr_disable()
104 gu_misc_irq_ack(struct xe_device *xe, const u32 master_ctl) in gu_misc_irq_ack()
119 static inline void xelp_intr_enable(struct xe_device *xe, bool stall) in xelp_intr_enable()
131 struct xe_device *xe = gt_to_xe(gt); in xe_irq_enable_hwe() local
209 gt_engine_identity(struct xe_device *xe, in gt_engine_identity()
265 struct xe_device *xe = tile_to_xe(tile); in pick_engine_gt() local
293 struct xe_device *xe = tile_to_xe(tile); in gt_irq_handler() local
345 struct xe_device *xe = arg; in xelp_irq_handler() local
377 static u32 dg1_intr_disable(struct xe_device *xe) in dg1_intr_disable()
395 static void dg1_intr_enable(struct xe_device *xe, bool stall) in dg1_intr_enable()
[all …]
Dxe_sriov.h22 static inline enum xe_sriov_mode xe_device_sriov_mode(const struct xe_device *xe) in xe_device_sriov_mode()
28 static inline bool xe_device_is_sriov_pf(const struct xe_device *xe) in xe_device_is_sriov_pf()
33 static inline bool xe_device_is_sriov_vf(const struct xe_device *xe) in xe_device_is_sriov_vf()
39 #define IS_SRIOV_PF(xe) xe_device_is_sriov_pf(xe) argument
41 #define IS_SRIOV_PF(xe) (typecheck(struct xe_device *, (xe)) && false) argument
43 #define IS_SRIOV_VF(xe) xe_device_is_sriov_vf(xe) argument
45 #define IS_SRIOV(xe) (IS_SRIOV_PF(xe) || IS_SRIOV_VF(xe)) argument
Dxe_ttm_stolen_mgr.c55 bool xe_ttm_stolen_cpu_access_needs_ggtt(struct xe_device *xe) in xe_ttm_stolen_cpu_access_needs_ggtt()
60 static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_bar2_dgfx()
92 static u32 get_wopcm_size(struct xe_device *xe) in get_wopcm_size()
115 static u32 detect_bar2_integrated(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_bar2_integrated()
190 static u64 detect_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_stolen()
204 void xe_ttm_stolen_mgr_init(struct xe_device *xe) in xe_ttm_stolen_mgr_init()
255 struct xe_device *xe = xe_bo_device(bo); in xe_ttm_stolen_io_offset() local
269 static int __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe, in __xe_ttm_stolen_io_mem_reserve_bar2()
293 static int __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe, in __xe_ttm_stolen_io_mem_reserve_stolen()
320 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.c77 static bool resource_is_stolen_vram(struct xe_device *xe, struct ttm_resource *res) in resource_is_stolen_vram()
133 mem_type_to_migrate(struct xe_device *xe, u32 mem_type) in mem_type_to_migrate()
144 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); in res_to_mem_region() local
152 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system()
165 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram()
198 static void try_add_vram(struct xe_device *xe, struct xe_bo *bo, in try_add_vram()
207 static void try_add_stolen(struct xe_device *xe, struct xe_bo *bo, in try_add_stolen()
223 static int __xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in __xe_bo_placement_for_flags()
243 int xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in xe_bo_placement_for_flags()
343 struct xe_device *xe = xe_bo_device(bo); in xe_ttm_tt_create() local
[all …]
Dxe_device.h32 static inline struct xe_device *xe_device_const_cast(const struct xe_device *xe) in xe_device_const_cast()
56 static inline struct xe_tile *xe_device_get_root_tile(struct xe_device *xe) in xe_device_get_root_tile()
71 static inline struct xe_gt *xe_device_get_gt(struct xe_device *xe, u8 gt_id) in xe_device_get_gt()
113 static inline struct xe_gt *xe_root_mmio_gt(struct xe_device *xe) in xe_root_mmio_gt()
118 static inline bool xe_device_uc_enabled(struct xe_device *xe) in xe_device_uc_enabled()
146 static inline bool xe_device_has_flat_ccs(struct xe_device *xe) in xe_device_has_flat_ccs()
151 static inline bool xe_device_has_sriov(struct xe_device *xe) in xe_device_has_sriov()
156 static inline bool xe_device_has_memirq(struct xe_device *xe) in xe_device_has_memirq()
171 static inline bool xe_device_wedged(struct xe_device *xe) in xe_device_wedged()
Dxe_sriov_pf.c15 static unsigned int wanted_max_vfs(struct xe_device *xe) in wanted_max_vfs()
20 static int pf_reduce_totalvfs(struct xe_device *xe, int limit) in pf_reduce_totalvfs()
33 static bool pf_continue_as_native(struct xe_device *xe, const char *why) in pf_continue_as_native()
49 bool xe_sriov_pf_readiness(struct xe_device *xe) in xe_sriov_pf_readiness()
81 int xe_sriov_pf_init_early(struct xe_device *xe) in xe_sriov_pf_init_early()
95 void xe_sriov_pf_print_vfs_summary(struct xe_device *xe, struct drm_printer *p) in xe_sriov_pf_print_vfs_summary()
Dxe_query.c43 static size_t calc_hw_engine_info_size(struct xe_device *xe) in calc_hw_engine_info_size()
110 query_engine_cycles(struct xe_device *xe, in query_engine_cycles()
186 static int query_engines(struct xe_device *xe, in query_engines()
235 static size_t calc_mem_regions_size(struct xe_device *xe) in calc_mem_regions_size()
247 static int query_mem_regions(struct xe_device *xe, in query_mem_regions()
318 static int query_config(struct xe_device *xe, struct drm_xe_device_query *query) in query_config()
359 static int query_gt_list(struct xe_device *xe, struct drm_xe_device_query *query) in query_gt_list()
429 static int query_hwconfig(struct xe_device *xe, in query_hwconfig()
459 static size_t calc_topo_query_size(struct xe_device *xe) in calc_topo_query_size()
486 static int query_gt_topology(struct xe_device *xe, in query_gt_topology()
[all …]
Dxe_pci_sriov.c27 static int pf_provision_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_provision_vfs()
43 static void pf_unprovision_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_unprovision_vfs()
54 static void pf_reset_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_reset_vfs()
65 static int pf_enable_vfs(struct xe_device *xe, int num_vfs) in pf_enable_vfs()
108 static int pf_disable_vfs(struct xe_device *xe) in pf_disable_vfs()
147 struct xe_device *xe = pdev_to_xe_device(pdev); in xe_pci_sriov_configure() local
Dxe_debugfs.c39 struct xe_device *xe = node_to_xe(m->private); in info() local
77 struct xe_device *xe = node_to_xe(m->private); in sriov_info() local
91 struct xe_device *xe = inode->i_private; in forcewake_open() local
104 struct xe_device *xe = inode->i_private; in forcewake_release() local
124 struct xe_device *xe = file_inode(f)->i_private; in wedged_mode_show() local
136 struct xe_device *xe = file_inode(f)->i_private; in wedged_mode_set() local
173 void xe_debugfs_register(struct xe_device *xe) in xe_debugfs_register()
Dxe_sriov.c36 static bool test_is_vf(struct xe_device *xe) in test_is_vf()
54 void xe_sriov_probe_early(struct xe_device *xe) in xe_sriov_probe_early()
88 struct xe_device *xe = arg; in fini_sriov() local
103 int xe_sriov_init(struct xe_device *xe) in xe_sriov_init()
130 void xe_sriov_print_info(struct xe_device *xe, struct drm_printer *p) in xe_sriov_print_info()
Dxe_vram.c27 _resize_bar(struct xe_device *xe, int resno, resource_size_t size) in _resize_bar()
50 static void resize_vram_bar(struct xe_device *xe) in resize_vram_bar()
136 static int determine_lmem_bar_size(struct xe_device *xe) in determine_lmem_bar_size()
163 struct xe_device *xe = gt_to_xe(gt); in get_flat_ccs_offset() local
220 struct xe_device *xe = tile_to_xe(tile); in tile_vram_size() local
271 struct xe_device *xe = arg; in vram_fini() local
292 int xe_vram_probe(struct xe_device *xe) in xe_vram_probe()
Dxe_hw_engine.c408 struct xe_device *xe = gt_to_xe(gt); in hw_engine_setup_default_state() local
541 struct xe_device *xe = gt_to_xe(gt); in hw_engine_init() local
607 struct xe_device *xe = gt_to_xe(gt); in read_media_fuses() local
652 struct xe_device *xe = gt_to_xe(gt); in read_copy_fuses() local
677 struct xe_device *xe = gt_to_xe(gt); in read_compute_fuses_from_dss() local
704 struct xe_device *xe = gt_to_xe(gt); in read_compute_fuses_from_reg() local
731 struct xe_device *xe = gt_to_xe(gt); in check_gsc_availability() local
802 is_slice_common_per_gslice(struct xe_device *xe) in is_slice_common_per_gslice()
812 struct xe_device *xe = gt_to_xe(gt); in xe_hw_engine_snapshot_instdone_capture() local
971 struct xe_device *xe = gt_to_xe(gt); in xe_hw_engine_snapshot_instdone_print() local
[all …]
Dxe_rtp.c27 static bool has_samedia(const struct xe_device *xe) in has_samedia()
32 static bool rule_matches(const struct xe_device *xe, in rule_matches()
160 struct xe_device *xe, struct xe_gt *gt, in rtp_process_one_sr()
186 struct xe_device **xe) in rtp_get_context()
222 static void rtp_mark_active(struct xe_device *xe, in rtp_mark_active()
255 struct xe_device *xe = NULL; in xe_rtp_process_to_sr() local
299 struct xe_device *xe; in xe_rtp_process() local
Dxe_heci_gsc.c91 void xe_heci_gsc_fini(struct xe_device *xe) in xe_heci_gsc_fini()
111 static int heci_gsc_irq_setup(struct xe_device *xe) in heci_gsc_irq_setup()
129 static int heci_gsc_add_device(struct xe_device *xe, const struct heci_gsc_def *def) in heci_gsc_add_device()
174 void xe_heci_gsc_init(struct xe_device *xe) in xe_heci_gsc_init()
218 void xe_heci_gsc_irq_handler(struct xe_device *xe, u32 iir) in xe_heci_gsc_irq_handler()
238 void xe_heci_csc_irq_handler(struct xe_device *xe, u32 iir) in xe_heci_csc_irq_handler()
Dxe_guc_submit.c281 struct xe_device *xe = guc_to_xe(guc); in xe_guc_submit_init() local
414 struct xe_device *xe = guc_to_xe(guc); in init_policies() local
453 struct xe_device *xe = guc_to_xe(guc); in __register_mlrc_exec_queue() local
511 struct xe_device *xe = guc_to_xe(guc); in register_exec_queue() local
570 struct xe_device *xe = guc_to_xe(guc); in wq_wait_for_space() local
598 struct xe_device *xe = guc_to_xe(guc); in wq_noop_append() local
618 struct xe_device *xe = guc_to_xe(guc); in wq_item_append() local
663 struct xe_device *xe = guc_to_xe(guc); in submit_exec_queue() local
718 struct xe_device *xe = guc_to_xe(guc); in guc_exec_queue_run_job() local
768 struct xe_device *xe = guc_to_xe(guc); in disable_scheduling_deregister() local
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Di915_drv.h24 #define IS_PLATFORM(xe, x) ((xe)->info.platform == x) argument
76 #define IS_MOBILE(xe) (xe && 0) argument
78 #define IS_LP(xe) ((xe) && 0) argument
79 #define IS_GEN9_LP(xe) ((xe) && 0) argument
80 #define IS_GEN9_BC(xe) ((xe) && 0) argument
82 #define IS_TIGERLAKE_UY(xe) (xe && 0) argument
83 #define IS_COMETLAKE_ULX(xe) (xe && 0) argument
84 #define IS_COFFEELAKE_ULX(xe) (xe && 0) argument
85 #define IS_KABYLAKE_ULX(xe) (xe && 0) argument
86 #define IS_SKYLAKE_ULX(xe) (xe && 0) argument
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/gem/
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()
51 static inline int i915_gem_stolen_insert_node(struct xe_device *xe, in i915_gem_stolen_insert_node()
60 static inline void i915_gem_stolen_remove_node(struct xe_device *xe, in i915_gem_stolen_remove_node()
67 #define i915_gem_stolen_initialized(xe) (!!ttm_manager_type(&(xe)->ttm, XE_PL_STOLEN)) argument
79 #define i915_gem_stolen_area_address(xe) (!WARN_ON(1)) argument
81 #define i915_gem_stolen_area_size(xe) (!WARN_ON(1)) argument
83 #define i915_gem_stolen_node_address(xe, fb) (xe_ttm_stolen_gpu_offset(xe) + \ argument
/linux-6.12.1/drivers/gpu/drm/xe/tests/
Dxe_migrate.c15 static bool sanity_fence_failed(struct xe_device *xe, struct dma_fence *fence, in sanity_fence_failed()
37 static int run_sanity_job(struct xe_migrate *m, struct xe_device *xe, in run_sanity_job()
75 struct xe_device *xe = tile_to_xe(m->tile); in test_copy() local
186 struct xe_device *xe = tile_to_xe(tile); in xe_migrate_sanity_test() local
338 static int migrate_test_run_device(struct xe_device *xe) in migrate_test_run_device()
362 struct xe_device *xe = test->priv; in xe_migrate_sanity_kunit() local
373 struct xe_device *xe = gt_to_xe(gt); in blt_copy() local
493 static void test_migrate(struct xe_device *xe, struct xe_tile *tile, in test_migrate()
581 static void test_clear(struct xe_device *xe, struct xe_tile *tile, in test_clear()
636 static void validate_ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in validate_ccs_test_run_tile()
[all …]
Dxe_bo.c112 static void ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in ccs_test_run_tile()
156 static int ccs_test_run_device(struct xe_device *xe) in ccs_test_run_device()
189 struct xe_device *xe = test->priv; in xe_ccs_migrate_kunit() local
194 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile()
333 static int evict_test_run_device(struct xe_device *xe) in evict_test_run_device()
356 struct xe_device *xe = test->priv; in xe_bo_evict_kunit() local

12345678