Home
last modified time | relevance | path

Searched refs:gt_to_fw (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_gt.c106 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_gt_enable_host_l2_vram()
117 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_gt_enable_host_l2_vram()
131 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_gt_disable_host_l2_vram()
139 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_gt_disable_host_l2_vram()
386 xe_force_wake_init_gt(gt, gt_to_fw(gt)); in xe_gt_init_early()
407 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in gt_fw_domain_init()
444 err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in gt_fw_domain_init()
451 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in gt_fw_domain_init()
463 err = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in all_fw_domain_init()
529 err = xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL); in all_fw_domain_init()
[all …]
H A Dxe_gt_idle.c121 XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FW_GT)); in xe_gt_idle_enable_pg()
132 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FW_GT)); in xe_gt_idle_enable_pg()
141 XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FW_GT)); in xe_gt_idle_disable_pg()
145 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FW_GT)); in xe_gt_idle_disable_pg()
208 XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FW_GT)); in gt_idle_fini()
210 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in gt_idle_fini()
257 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in xe_gt_idle_enable_c6()
272 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in xe_gt_idle_disable_c6()
H A Dxe_pat.c182 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xelp_dump()
196 err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xelp_dump()
211 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xehp_dump()
227 err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xehp_dump()
242 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xehpc_dump()
256 err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xehpc_dump()
271 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xelpg_dump()
290 err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xelpg_dump()
331 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe2_dump()
372 err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe2_dump()
H A Dxe_guc_pc.c424 ret = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_guc_pc_get_cur_freq()
433 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in xe_guc_pc_get_cur_freq()
496 ret = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_guc_pc_get_min_freq()
507 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in xe_guc_pc_get_min_freq()
727 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in xe_guc_pc_raise_unslice()
739 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in xe_guc_pc_init_early()
867 ret = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_guc_pc_gucrc_disable()
873 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in xe_guc_pc_gucrc_disable()
963 ret = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_guc_pc_start()
1008 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in xe_guc_pc_start()
[all …]
H A Dxe_devcoredump.c146 if (xe_force_wake_get(gt_to_fw(ss->gt), XE_FORCEWAKE_ALL)) in xe_devcoredump_deferred_snap_work()
150 xe_force_wake_put(gt_to_fw(ss->gt), XE_FORCEWAKE_ALL); in xe_devcoredump_deferred_snap_work()
247 if (xe_force_wake_get(gt_to_fw(q->gt), XE_FORCEWAKE_ALL)) in devcoredump_snapshot()
266 xe_force_wake_put(gt_to_fw(q->gt), XE_FORCEWAKE_ALL); in devcoredump_snapshot()
H A Dxe_gsc.c266 ret = xe_force_wake_get(gt_to_fw(tile->primary_gt), XE_FORCEWAKE_ALL); in gsc_upload_and_init()
284 xe_force_wake_put(gt_to_fw(tile->primary_gt), XE_FORCEWAKE_ALL); in gsc_upload_and_init()
363 xe_gt_WARN_ON(gt, xe_force_wake_get(gt_to_fw(gt), XE_FW_GSC)); in gsc_work()
383 xe_force_wake_put(gt_to_fw(gt), XE_FW_GSC); in gsc_work()
611 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GSC); in xe_gsc_print_info()
623 xe_force_wake_put(gt_to_fw(gt), XE_FW_GSC); in xe_gsc_print_info()
H A Dxe_debugfs.c66 xe_force_wake_ref(gt_to_fw(gt), XE_FW_GT)); in info()
97 XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in forcewake_open()
109 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in forcewake_release()
H A Dxe_device.c592 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_device_set_has_flat_ccs()
603 return xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_device_set_has_flat_ccs()
847 if (xe_force_wake_get(gt_to_fw(gt), XE_FW_GT)) in xe_device_td_flush()
862 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_device_td_flush()
876 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_device_l2_flush()
887 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_device_l2_flush()
H A Dxe_guc.c237 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in guc_write_params()
250 xe_gt_WARN_ON(gt, xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in guc_fini_hw()
252 xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL); in guc_fini_hw()
431 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in xe_guc_reset()
825 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in guc_handle_mmio_msg()
1154 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_guc_print_info()
1176 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_guc_print_info()
H A Dxe_gt_debugfs.c95 err = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in hw_engines()
104 err = xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL); in hw_engines()
H A Dxe_huc.c306 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_huc_print_info()
313 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_huc_print_info()
H A Dxe_vram.c242 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in tile_vram_size()
266 return xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in tile_vram_size()
H A Dxe_gt_tlb_invalidation.c289 xe_gt_WARN_ON(gt, xe_force_wake_get(gt_to_fw(gt), XE_FW_GT)); in xe_gt_tlb_invalidation_ggtt()
299 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_gt_tlb_invalidation_ggtt()
H A Dxe_hw_engine.c294 xe_force_wake_assert_held(gt_to_fw(hwe->gt), hwe->domain); in xe_hw_engine_mmio_write32()
314 xe_force_wake_assert_held(gt_to_fw(hwe->gt), hwe->domain); in xe_hw_engine_mmio_read32()
613 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in read_media_fuses()
658 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in read_copy_fuses()
903 snapshot->forcewake.ref = xe_force_wake_ref(gt_to_fw(hwe->gt), in xe_hw_engine_snapshot_capture()
H A Dxe_gsc_proxy.c460 err = xe_force_wake_get(gt_to_fw(gt), XE_FW_GSC); in xe_gsc_proxy_remove()
468 xe_force_wake_put(gt_to_fw(gt), XE_FW_GSC); in xe_gsc_proxy_remove()
H A Dxe_device.h139 static inline struct xe_force_wake *gt_to_fw(struct xe_gt *gt) in gt_to_fw() function
H A Dxe_wopcm.c215 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in xe_wopcm_init()
H A Dxe_mocs.c784 ret = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_mocs_dump()
791 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in xe_mocs_dump()
H A Dxe_query.c152 if (xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL)) in query_engine_cycles()
163 xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL); in query_engine_cycles()
H A Dxe_oa.c835 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in xe_oa_stream_destroy()
1412 XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in xe_oa_stream_init()
1454 XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); in xe_oa_stream_init()
H A Dxe_uc_fw.c813 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in uc_fw_xfer()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_mocs.c50 ret = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in read_l3cc_table()
75 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in read_l3cc_table()
90 ret = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in read_mocs_table()
109 xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); in read_mocs_table()
/linux/drivers/gpu/drm/xe/display/
H A Dxe_hdcp_gsc.c52 if (xe_force_wake_get(gt_to_fw(gt), XE_FW_GSC)) { in intel_hdcp_gsc_check_status()
62 xe_force_wake_put(gt_to_fw(gt), XE_FW_GSC); in intel_hdcp_gsc_check_status()