Home
last modified time | relevance | path

Searched refs:xe_device (Results 1 – 25 of 192) sorted by relevance

12345678

/linux-6.15/drivers/gpu/drm/xe/display/
H A Dxe_display.h18 int xe_display_create(struct xe_device *xe);
20 int xe_display_probe(struct xe_device *xe);
22 int xe_display_init_early(struct xe_device *xe);
23 int xe_display_init(struct xe_device *xe);
25 void xe_display_register(struct xe_device *xe);
26 void xe_display_unregister(struct xe_device *xe);
30 void xe_display_irq_reset(struct xe_device *xe);
33 void xe_display_pm_suspend(struct xe_device *xe);
34 void xe_display_pm_shutdown(struct xe_device *xe);
35 void xe_display_pm_suspend_late(struct xe_device *xe);
[all …]
H A Dxe_display.c39 static bool has_display(struct xe_device *xe) in has_display()
86 struct xe_device *xe = to_xe_device(dev); in display_destroy()
102 int xe_display_create(struct xe_device *xe) in xe_display_create()
113 struct xe_device *xe = arg; in xe_display_fini_early()
125 int xe_display_init_early(struct xe_device *xe) in xe_display_init_early()
173 struct xe_device *xe = arg; in xe_display_fini()
182 int xe_display_init(struct xe_device *xe) in xe_display_init()
197 void xe_display_register(struct xe_device *xe) in xe_display_register()
208 void xe_display_unregister(struct xe_device *xe) in xe_display_unregister()
241 void xe_display_irq_reset(struct xe_device *xe) in xe_display_irq_reset()
[all …]
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_pm.h13 struct xe_device;
15 int xe_pm_suspend(struct xe_device *xe);
16 int xe_pm_resume(struct xe_device *xe);
18 int xe_pm_init_early(struct xe_device *xe);
19 int xe_pm_init(struct xe_device *xe);
20 void xe_pm_runtime_fini(struct xe_device *xe);
21 bool xe_pm_runtime_suspended(struct xe_device *xe);
22 int xe_pm_runtime_suspend(struct xe_device *xe);
23 int xe_pm_runtime_resume(struct xe_device *xe);
24 void xe_pm_runtime_get(struct xe_device *xe);
[all …]
H A Dxe_device.h17 return container_of(dev, struct xe_device, drm); in to_xe_device()
34 static inline struct xe_device *xe_device_const_cast(const struct xe_device *xe) in xe_device_const_cast()
36 return (struct xe_device *)xe; in xe_device_const_cast()
41 return container_of(ttm, struct xe_device, ttm); in ttm_to_xe_device()
46 int xe_device_probe_early(struct xe_device *xe);
47 int xe_device_probe(struct xe_device *xe);
48 void xe_device_remove(struct xe_device *xe);
49 void xe_device_shutdown(struct xe_device *xe);
51 void xe_device_wmb(struct xe_device *xe);
185 void xe_device_td_flush(struct xe_device *xe);
[all …]
H A Dxe_pm.c92 bool xe_rpm_reclaim_safe(const struct xe_device *xe) in xe_rpm_reclaim_safe()
117 int xe_pm_suspend(struct xe_device *xe) in xe_pm_suspend()
168 int xe_pm_resume(struct xe_device *xe) in xe_pm_resume()
262 int xe_pm_init_early(struct xe_device *xe) in xe_pm_init_early()
297 int xe_pm_init(struct xe_device *xe) in xe_pm_init()
328 void xe_pm_runtime_fini(struct xe_device *xe) in xe_pm_runtime_fini()
379 int xe_pm_runtime_suspend(struct xe_device *xe) in xe_pm_runtime_suspend()
464 int xe_pm_runtime_resume(struct xe_device *xe) in xe_pm_runtime_resume()
559 void xe_pm_runtime_get(struct xe_device *xe) in xe_pm_runtime_get()
575 void xe_pm_runtime_put(struct xe_device *xe) in xe_pm_runtime_put()
[all …]
H A Dxe_irq.h13 struct xe_device;
17 int xe_irq_init(struct xe_device *xe);
18 int xe_irq_install(struct xe_device *xe);
19 void xe_irq_suspend(struct xe_device *xe);
20 void xe_irq_resume(struct xe_device *xe);
22 int xe_irq_msix_request_irq(struct xe_device *xe, irq_handler_t handler, void *irq_buf,
24 void xe_irq_msix_free_irq(struct xe_device *xe, u16 msix);
H A Dxe_sriov_pf.h12 struct xe_device;
15 bool xe_sriov_pf_readiness(struct xe_device *xe);
16 int xe_sriov_pf_init_early(struct xe_device *xe);
17 void xe_sriov_pf_print_vfs_summary(struct xe_device *xe, struct drm_printer *p);
19 static inline bool xe_sriov_pf_readiness(struct xe_device *xe) in xe_sriov_pf_readiness()
24 static inline int xe_sriov_pf_init_early(struct xe_device *xe) in xe_sriov_pf_init_early()
H A Dxe_sriov.h18 void xe_sriov_probe_early(struct xe_device *xe);
19 void xe_sriov_print_info(struct xe_device *xe, struct drm_printer *p);
20 int xe_sriov_init(struct xe_device *xe);
22 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()
41 #define IS_SRIOV_PF(xe) (typecheck(struct xe_device *, (xe)) && false)
H A 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()
70 struct xe_device *__xe = xe__; \
76 struct xe_device *__xe = xe__; \
82 struct xe_device *__xe = xe__; \
88 struct xe_device *__xe = xe__; \
H A Dxe_sriov_vf.c130 void xe_sriov_vf_init_early(struct xe_device *xe) in xe_sriov_vf_init_early()
146 static int vf_post_migration_requery_guc(struct xe_device *xe) in vf_post_migration_requery_guc()
167 static bool vf_post_migration_imminent(struct xe_device *xe) in vf_post_migration_imminent()
176 static void vf_post_migration_notify_resfix_done(struct xe_device *xe) in vf_post_migration_notify_resfix_done()
192 static void vf_post_migration_recovery(struct xe_device *xe) in vf_post_migration_recovery()
221 struct xe_device *xe = container_of(w, struct xe_device, in migration_worker_func()
227 static bool vf_ready_to_recovery_on_all_gts(struct xe_device *xe) in vf_ready_to_recovery_on_all_gts()
247 void xe_sriov_vf_start_migration_recovery(struct xe_device *xe) in xe_sriov_vf_start_migration_recovery()
H A Dxe_irq.c137 struct xe_device *xe = gt_to_xe(gt); in xe_irq_enable_hwe()
225 gt_engine_identity(struct xe_device *xe, in gt_engine_identity()
281 struct xe_device *xe = tile_to_xe(tile); in pick_engine_gt()
309 struct xe_device *xe = tile_to_xe(tile); in gt_irq_handler()
367 struct xe_device *xe = arg; in xelp_irq_handler()
429 struct xe_device *xe = arg; in dg1_irq_handler()
672 struct xe_device *xe = arg; in vf_mem_irq_handler()
729 struct xe_device *xe = arg; in irq_uninstall()
742 int xe_irq_init(struct xe_device *xe) in xe_irq_init()
845 struct xe_device *xe = arg; in guc2host_irq_handler()
[all …]
H A Dxe_ttm_stolen_mgr.h13 struct xe_device;
15 int xe_ttm_stolen_mgr_init(struct xe_device *xe);
16 int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem);
17 bool xe_ttm_stolen_cpu_access_needs_ggtt(struct xe_device *xe);
19 u64 xe_ttm_stolen_gpu_offset(struct xe_device *xe);
H A Dxe_device.c71 struct xe_device *xe = to_xe_device(dev); in xe_file_open()
152 struct xe_device *xe = to_xe_device(dev); in xe_file_close()
305 struct xe_device *xe = to_xe_device(dev); in xe_pci_barrier_mmap()
390 struct xe_device *xe = to_xe_device(dev); in xe_device_destroy()
415 struct xe_device *xe; in xe_device_create()
582 struct xe_device *xe = arg; in xe_driver_flr_fini()
590 struct xe_device *xe = arg; in xe_device_sanitize()
761 int xe_device_probe(struct xe_device *xe) in xe_device_probe()
930 void xe_device_remove(struct xe_device *xe) in xe_device_remove()
968 void xe_device_wmb(struct xe_device *xe) in xe_device_wmb()
[all …]
H A Dxe_gsc_submit.h12 struct xe_device;
15 u32 xe_gsc_emit_header(struct xe_device *xe, struct iosys_map *map, u32 offset,
17 void xe_gsc_poison_header(struct xe_device *xe, struct iosys_map *map, u32 offset);
19 bool xe_gsc_check_and_update_pending(struct xe_device *xe,
23 int xe_gsc_read_out_header(struct xe_device *xe,
H A 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()
H A Dxe_bo_evict.h9 struct xe_device;
11 int xe_bo_evict_all(struct xe_device *xe);
12 int xe_bo_restore_kernel(struct xe_device *xe);
13 int xe_bo_restore_user(struct xe_device *xe);
H A 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 struct pci_dev *xe_pci_pf_get_vf_dev(struct xe_device *xe, unsigned int vf_id) in xe_pci_pf_get_vf_dev()
77 static void pf_link_vfs(struct xe_device *xe, int num_vfs) in pf_link_vfs()
114 static int pf_enable_vfs(struct xe_device *xe, int num_vfs) in pf_enable_vfs()
159 static int pf_disable_vfs(struct xe_device *xe) in pf_disable_vfs()
198 struct xe_device *xe = pdev_to_xe_device(pdev); in xe_pci_sriov_configure()
H A Dxe_heci_gsc.h10 struct xe_device;
36 int xe_heci_gsc_init(struct xe_device *xe);
37 void xe_heci_gsc_irq_handler(struct xe_device *xe, u32 iir);
38 void xe_heci_csc_irq_handler(struct xe_device *xe, u32 iir);
H A 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 u32 get_wopcm_size(struct xe_device *xe) in get_wopcm_size()
83 static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_bar2_dgfx()
121 static u32 detect_bar2_integrated(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_bar2_integrated()
196 static u64 detect_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) in detect_stolen()
210 int xe_ttm_stolen_mgr_init(struct xe_device *xe) in xe_ttm_stolen_mgr_init()
262 struct xe_device *xe = xe_bo_device(bo); in xe_ttm_stolen_io_offset()
276 static int __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe, in __xe_ttm_stolen_io_mem_reserve_bar2()
300 static int __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe, in __xe_ttm_stolen_io_mem_reserve_stolen()
327 int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem) in xe_ttm_stolen_io_mem_reserve()
[all …]
H A Dxe_bo.h86 struct xe_bo *___xe_bo_create_locked(struct xe_device *xe, struct xe_bo *bo,
92 xe_bo_create_locked_range(struct xe_device *xe,
96 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile,
99 struct xe_bo *xe_bo_create(struct xe_device *xe, struct xe_tile *tile,
102 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_tile *tile,
106 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
109 struct xe_bo *xe_bo_create_pin_map_at(struct xe_device *xe, struct xe_tile *tile,
112 struct xe_bo *xe_bo_create_pin_map_at_aligned(struct xe_device *xe,
118 struct xe_bo *xe_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile,
121 struct xe_bo *xe_managed_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
[all …]
H A Dxe_survivability_mode.c60 static void populate_survivability_info(struct xe_device *xe) in populate_survivability_info()
96 struct xe_device *xe = pdev_to_xe_device(pdev); in log_survivability_info()
114 struct xe_device *xe = pdev_to_xe_device(pdev); in survivability_mode_show()
132 struct xe_device *xe = arg; in xe_survivability_mode_fini()
142 struct xe_device *xe = pdev_to_xe_device(pdev); in enable_survivability_mode()
184 bool xe_survivability_mode_is_enabled(struct xe_device *xe) in xe_survivability_mode_is_enabled()
198 static bool survivability_mode_requested(struct xe_device *xe) in survivability_mode_requested()
223 int xe_survivability_mode_enable(struct xe_device *xe) in xe_survivability_mode_enable()
H A Dxe_trace.h29 TP_PROTO(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence),
49 TP_PROTO(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence),
55 TP_PROTO(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence),
379 TP_PROTO(struct xe_device *xe, void *caller),
396 TP_PROTO(struct xe_device *xe, void *caller),
401 TP_PROTO(struct xe_device *xe, void *caller),
406 TP_PROTO(struct xe_device *xe, void *caller),
411 TP_PROTO(struct xe_device *xe, void *caller),
416 TP_PROTO(struct xe_device *xe, void *caller),
421 TP_PROTO(struct xe_device *xe, void *caller),
[all …]
H A Dxe_pxp.h13 struct xe_device;
17 bool xe_pxp_is_supported(const struct xe_device *xe);
21 int xe_pxp_init(struct xe_device *xe);
22 void xe_pxp_irq_handler(struct xe_device *xe, u16 iir);
/linux-6.15/drivers/gpu/drm/xe/compat-i915-headers/
H A Dintel_runtime_pm.h26 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_suspended()
33 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get()
40 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_if_in_use()
47 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_noresume()
56 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_put_unchecked()
/linux-6.15/drivers/gpu/drm/xe/tests/
H A Dxe_kunit_helpers.c33 struct xe_device *xe_kunit_helper_alloc_xe_device(struct kunit *test, in xe_kunit_helper_alloc_xe_device()
36 struct xe_device *xe; in xe_kunit_helper_alloc_xe_device()
39 struct xe_device, in xe_kunit_helper_alloc_xe_device()
73 struct xe_device *xe; in xe_kunit_helper_xe_device_test_init()
94 KUNIT_DEFINE_ACTION_WRAPPER(put_xe_pm_runtime, xe_pm_runtime_put, struct xe_device *);
117 struct xe_device *xe = xe_device_const_cast(test->param_value); in xe_kunit_helper_xe_device_live_test_init()

12345678