Home
last modified time | relevance | path

Searched refs:XE_FORCEWAKE_ALL (Results 1 – 18 of 18) sorted by relevance

/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_force_wake.c188 xe_gt_assert(gt, domains <= XE_FORCEWAKE_ALL); in xe_force_wake_get()
189 xe_gt_assert(gt, domains == XE_FORCEWAKE_ALL || fw->initialized_domains & domains); in xe_force_wake_get()
191 ref_rqst = (domains == XE_FORCEWAKE_ALL) ? fw->initialized_domains : domains; in xe_force_wake_get()
214 if (domains == XE_FORCEWAKE_ALL && ref_incr == fw->initialized_domains) in xe_force_wake_get()
215 ref_incr |= XE_FORCEWAKE_ALL; in xe_force_wake_get()
245 if (xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in xe_force_wake_put()
H A Dxe_force_wake.h26 xe_gt_assert(fw->gt, domain != XE_FORCEWAKE_ALL); in xe_force_wake_ref()
44 xe_gt_assert(fw->gt, domain != XE_FORCEWAKE_ALL); in xe_force_wake_assert_held()
H A Dxe_debugfs.c101 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in forcewake_open()
102 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in forcewake_open()
111 xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL); in forcewake_open()
129 xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL); in forcewake_release()
H A Dxe_gt.c449 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in all_fw_domain_init()
450 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in all_fw_domain_init()
794 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in gt_reset()
795 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in gt_reset()
858 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_suspend_prepare()
873 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_suspend()
874 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in xe_gt_suspend()
903 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_shutdown()
934 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_resume()
935 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in xe_gt_resume()
H A Dxe_reg_sr.c178 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_reg_sr_apply_mmio()
179 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in xe_reg_sr_apply_mmio()
H A Dxe_force_wake_types.h51 XE_FORCEWAKE_ALL = BIT(XE_FW_DOMAIN_ID_COUNT) enumerator
H A Dxe_devcoredump.c250 fw_ref = xe_force_wake_get(gt_to_fw(ss->gt), XE_FORCEWAKE_ALL); in xe_devcoredump_deferred_snap_work()
251 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in xe_devcoredump_deferred_snap_work()
308 fw_ref = xe_force_wake_get(gt_to_fw(q->gt), XE_FORCEWAKE_ALL); in devcoredump_snapshot()
H A Dxe_gt_debugfs.c98 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in hw_engines()
99 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in hw_engines()
H A Dxe_guc_pc.c928 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_guc_pc_gucrc_disable()
929 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in xe_guc_pc_gucrc_disable()
1140 fw_ref = xe_force_wake_get(gt_to_fw(pc_to_gt(pc)), XE_FORCEWAKE_ALL); in xe_guc_pc_fini_hw()
H A Dxe_pxp.c64 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in pxp_prerequisites_done()
74 XE_WARN_ON(!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)); in pxp_prerequisites_done()
H A Dxe_query.c159 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in query_engine_cycles()
160 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in query_engine_cycles()
H A Dxe_gsc.c268 fw_ref = xe_force_wake_get(gt_to_fw(tile->primary_gt), XE_FORCEWAKE_ALL); in gsc_upload_and_init()
H A Dxe_mocs.c784 domain = flags & HAS_LNCF_MOCS ? XE_FORCEWAKE_ALL : XE_FW_GT; in xe_mocs_dump()
H A Dxe_oa.c860 xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_oa_stream_destroy()
1736 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_oa_stream_init()
1737 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in xe_oa_stream_init()
H A Dxe_guc_submit.c1083 fw_ref = xe_force_wake_get(gt_to_fw(q->gt), XE_FORCEWAKE_ALL); in guc_exec_queue_timedout_job()
1084 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in guc_exec_queue_timedout_job()
H A Dxe_guc.c578 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in guc_fini_hw()
/linux-6.15/drivers/gpu/drm/xe/tests/
H A Dxe_mocs.c49 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in read_l3cc_table()
50 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in read_l3cc_table()
/linux-6.15/drivers/gpu/drm/xe/compat-i915-headers/
H A Dintel_uncore.h13 #define FORCEWAKE_ALL XE_FORCEWAKE_ALL