Home
last modified time | relevance | path

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

1234567

/linux/drivers/gpu/drm/xe/display/
A Dxe_display.h17 void xe_display_driver_remove(struct xe_device *xe);
19 int xe_display_create(struct xe_device *xe);
21 int xe_display_probe(struct xe_device *xe);
23 int xe_display_init_nommio(struct xe_device *xe);
24 int xe_display_init_noirq(struct xe_device *xe);
25 int xe_display_init_noaccel(struct xe_device *xe);
26 int xe_display_init(struct xe_device *xe);
27 void xe_display_fini(struct xe_device *xe);
29 void xe_display_register(struct xe_device *xe);
30 void xe_display_unregister(struct xe_device *xe);
[all …]
A Dxe_display.c35 static bool has_display(struct xe_device *xe) in has_display()
78 struct xe_device *xe = to_xe_device(dev); in display_destroy()
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()
129 struct xe_device *xe = arg; in xe_display_fini_noirq()
173 struct xe_device *xe = arg; in xe_display_fini_noaccel()
195 int xe_display_init(struct xe_device *xe) in xe_display_init()
203 void xe_display_fini(struct xe_device *xe) in xe_display_fini()
214 void xe_display_register(struct xe_device *xe) in xe_display_register()
447 struct xe_device *xe = arg; in display_device_remove()
[all …]
A 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/drivers/gpu/drm/xe/
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 …]
A Dxe_device.h15 return container_of(dev, struct xe_device, drm); in to_xe_device()
32 static inline struct xe_device *xe_device_const_cast(const struct xe_device *xe) in xe_device_const_cast()
34 return (struct xe_device *)xe; in xe_device_const_cast()
39 return container_of(ttm, struct xe_device, ttm); in ttm_to_xe_device()
44 int xe_device_probe_early(struct xe_device *xe);
45 int xe_device_probe(struct xe_device *xe);
46 void xe_device_remove(struct xe_device *xe);
47 void xe_device_shutdown(struct xe_device *xe);
49 void xe_device_wmb(struct xe_device *xe);
168 void xe_device_td_flush(struct xe_device *xe);
[all …]
A Dxe_pm.c89 bool xe_rpm_reclaim_safe(const struct xe_device *xe) in xe_rpm_reclaim_safe()
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()
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()
355 int xe_pm_runtime_suspend(struct xe_device *xe) in xe_pm_runtime_suspend()
431 int xe_pm_runtime_resume(struct xe_device *xe) in xe_pm_runtime_resume()
524 void xe_pm_runtime_get(struct xe_device *xe) in xe_pm_runtime_get()
540 void xe_pm_runtime_put(struct xe_device *xe) in xe_pm_runtime_put()
[all …]
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()
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)
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__; \
A Dxe_ttm_stolen_mgr.h13 struct xe_device;
15 void 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);
A Dxe_device.c64 struct xe_device *xe = to_xe_device(dev); in xe_file_open()
145 struct xe_device *xe = to_xe_device(dev); in xe_file_close()
279 struct xe_device *xe = to_xe_device(dev); in xe_device_destroy()
299 struct xe_device *xe; in xe_device_create()
443 struct xe_device *xe = arg; in xe_driver_flr_fini()
451 struct xe_device *xe = arg; in xe_device_sanitize()
606 int xe_device_probe(struct xe_device *xe) in xe_device_probe()
771 void xe_device_remove(struct xe_device *xe) in xe_device_remove()
790 void xe_device_shutdown(struct xe_device *xe) in xe_device_shutdown()
803 void xe_device_wmb(struct xe_device *xe) in xe_device_wmb()
[all …]
A Dxe_heci_gsc.h10 struct xe_device;
36 void xe_heci_gsc_init(struct xe_device *xe);
37 void xe_heci_gsc_fini(struct xe_device *xe);
38 void xe_heci_gsc_irq_handler(struct xe_device *xe, u32 iir);
39 void xe_heci_csc_irq_handler(struct xe_device *xe, u32 iir);
A Dxe_oa.h13 struct xe_device;
17 int xe_oa_init(struct xe_device *xe);
18 void xe_oa_fini(struct xe_device *xe);
19 void xe_oa_register(struct xe_device *xe);
20 void xe_oa_unregister(struct xe_device *xe);
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,
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()
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);
A Dxe_irq.h9 struct xe_device;
13 int xe_irq_install(struct xe_device *xe);
14 void xe_irq_suspend(struct xe_device *xe);
15 void xe_irq_resume(struct xe_device *xe);
A Dxe_bo.h71 struct xe_bo *___xe_bo_create_locked(struct xe_device *xe, struct xe_bo *bo,
77 xe_bo_create_locked_range(struct xe_device *xe,
81 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile,
84 struct xe_bo *xe_bo_create(struct xe_device *xe, struct xe_tile *tile,
87 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_tile *tile,
91 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
94 struct xe_bo *xe_bo_create_pin_map_at(struct xe_device *xe, struct xe_tile *tile,
97 struct xe_bo *xe_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile,
100 struct xe_bo *xe_managed_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
102 struct xe_bo *xe_managed_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile,
[all …]
A Dxe_trace.h28 TP_PROTO(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence),
48 TP_PROTO(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence),
54 TP_PROTO(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence),
373 TP_PROTO(struct xe_device *xe, void *caller),
390 TP_PROTO(struct xe_device *xe, void *caller),
395 TP_PROTO(struct xe_device *xe, void *caller),
400 TP_PROTO(struct xe_device *xe, void *caller),
405 TP_PROTO(struct xe_device *xe, void *caller),
410 TP_PROTO(struct xe_device *xe, void *caller),
415 TP_PROTO(struct xe_device *xe, void *caller),
[all …]
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 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()
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 …]
A Dxe_irq.c131 struct xe_device *xe = gt_to_xe(gt); in xe_irq_enable_hwe()
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()
293 struct xe_device *xe = tile_to_xe(tile); in gt_irq_handler()
345 struct xe_device *xe = arg; in xelp_irq_handler()
411 struct xe_device *xe = arg; in dg1_irq_handler()
643 struct xe_device *xe = arg; in vf_mem_irq_handler()
673 struct xe_device *xe = arg; in irq_uninstall()
687 int xe_irq_install(struct xe_device *xe) in xe_irq_install()
743 void xe_irq_suspend(struct xe_device *xe) in xe_irq_suspend()
[all …]
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 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()
A 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()
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()
/linux/drivers/gpu/drm/xe/compat-i915-headers/
A Dintel_runtime_pm.h25 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get()
32 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_if_in_use()
39 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_noresume()
47 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_put_unchecked()
/linux/drivers/gpu/drm/xe/tests/
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()

Completed in 41 milliseconds

1234567