Skip to content

Commit 02f52f6

Browse files
bnilawarlucasdemarchi
authored andcommitted
drm/xe/xe_late_bind_fw: Reload late binding fw during system resume
Reload late binding fw during resume from system suspend v2: - Unconditionally reload late binding fw (Rodrigo) - Flush worker during system suspend Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Badal Nilawar <badal.nilawar@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://lore.kernel.org/r/20250905154953.3974335-8-badal.nilawar@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1 parent 69ac1bb commit 02f52f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/gpu/drm/xe/xe_pm.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ int xe_pm_suspend(struct xe_device *xe)
130130
if (err)
131131
goto err;
132132

133+
xe_late_bind_wait_for_worker_completion(&xe->late_bind);
134+
133135
for_each_gt(gt, xe, id)
134136
xe_gt_suspend_prepare(gt);
135137

@@ -217,6 +219,8 @@ int xe_pm_resume(struct xe_device *xe)
217219
if (IS_VF_CCS_READY(xe))
218220
xe_sriov_vf_ccs_register_context(xe);
219221

222+
xe_late_bind_fw_load(&xe->late_bind);
223+
220224
drm_dbg(&xe->drm, "Device resumed\n");
221225
return 0;
222226
err:

0 commit comments

Comments
 (0)