Reload late binding fw during runtime resume.

Signed-off-by: Badal Nilawar <badal.nila...@intel.com>
---
 drivers/gpu/drm/xe/xe_pm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
index 38514cef817e..da7ee67eefd1 100644
--- a/drivers/gpu/drm/xe/xe_pm.c
+++ b/drivers/gpu/drm/xe/xe_pm.c
@@ -21,6 +21,7 @@
 #include "xe_gt.h"
 #include "xe_guc.h"
 #include "xe_irq.h"
+#include "xe_late_bind_fw.h"
 #include "xe_pcode.h"
 #include "xe_pxp.h"
 #include "xe_trace.h"
@@ -556,6 +557,9 @@ int xe_pm_runtime_resume(struct xe_device *xe)
 
        xe_pxp_pm_resume(xe->pxp);
 
+       if (xe->d3cold.allowed)
+               xe_late_bind_fw_load(&xe->late_bind);
+
 out:
        xe_rpm_lockmap_release(xe);
        xe_pm_write_callback_task(xe, NULL);
-- 
2.34.1

Reply via email to