/linux/drivers/gpu/drm/xe/ |
H A D | xe_gt.c | 106 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 D | xe_gt_idle.c | 121 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 D | xe_pat.c | 182 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 D | xe_guc_pc.c | 424 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 D | xe_devcoredump.c | 146 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 D | xe_gsc.c | 266 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 D | xe_debugfs.c | 66 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 D | xe_device.c | 592 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 D | xe_guc.c | 237 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 D | xe_gt_debugfs.c | 95 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 D | xe_huc.c | 306 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 D | xe_vram.c | 242 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 D | xe_gt_tlb_invalidation.c | 289 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 D | xe_hw_engine.c | 294 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 D | xe_gsc_proxy.c | 460 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 D | xe_device.h | 139 static inline struct xe_force_wake *gt_to_fw(struct xe_gt *gt) in gt_to_fw() function
|
H A D | xe_wopcm.c | 215 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in xe_wopcm_init()
|
H A D | xe_mocs.c | 784 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 D | xe_query.c | 152 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 D | xe_oa.c | 835 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 D | xe_uc_fw.c | 813 xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT); in uc_fw_xfer()
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_mocs.c | 50 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 D | xe_hdcp_gsc.c | 52 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()
|