[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20bdbd2a-4ee6-492b-9ceb-13a70cd2d767@intel.com>
Date: Fri, 27 Jun 2025 13:23:16 +0530
From: "Nilawar, Badal" <badal.nilawar@...el.com>
To: <intel-xe@...ts.freedesktop.org>, <dri-devel@...ts.freedesktop.org>,
<linux-kernel@...r.kernel.org>, Daniele Ceraolo Spurio
<daniele.ceraolospurio@...el.com>
CC: <anshuman.gupta@...el.com>, <rodrigo.vivi@...el.com>,
<alexander.usyskin@...el.com>, <gregkh@...uxfoundation.org>
Subject: Re: [PATCH v4 07/10] drm/xe/xe_late_bind_fw: Reload late binding fw
during system resume
Hi Daniele,
On 25-06-2025 22:30, Badal Nilawar wrote:
> 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@...el.com>
> Signed-off-by: Badal Nilawar <badal.nilawar@...el.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 91923fd4af80..f49b7b6eab97 100644
> --- a/drivers/gpu/drm/xe/xe_pm.c
> +++ b/drivers/gpu/drm/xe/xe_pm.c
> @@ -127,6 +127,8 @@ int xe_pm_suspend(struct xe_device *xe)
> if (err)
> goto err;
>
> + xe_late_bind_wait_for_worker_completion(&xe->late_bind);
> +
During system suspend, MEI will unbind the component. This flush is
unnecessary because it takes place within
xe_late_bind_component_unbind(). I will remove this call.
Badal
> for_each_gt(gt, xe, id)
> xe_gt_suspend_prepare(gt);
>
> @@ -205,6 +207,8 @@ int xe_pm_resume(struct xe_device *xe)
>
> xe_pxp_pm_resume(xe->pxp);
>
> + xe_late_bind_fw_load(&xe->late_bind);
> +
> drm_dbg(&xe->drm, "Device resumed\n");
> return 0;
> err:
Powered by blists - more mailing lists