From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: "Nilawar, Badal" <badal.nilawar@intel.com>
Cc: Sk Anirban <sk.anirban@intel.com>,
<intel-xe@lists.freedesktop.org>, <anshuman.gupta@intel.com>,
<riana.tauro@intel.com>, <karthik.poosa@intel.com>,
<raag.jadav@intel.com>, <soham.purkait@intel.com>,
<mallesh.koujalagi@intel.com>
Subject: Re: [PATCH 2/2] drm/xe: Add debug configfs option to force OCODE load
Date: Tue, 24 Nov 2026 10:54:07 -0500 [thread overview]
Message-ID: <awWzH-TK-g4avMwF@intel.com> (raw)
In-Reply-To: <32cf23d7-ff8f-4e0e-a212-d869b943a00e@intel.com>
On Tue, Nov 24, 2026 at 05:27:55PM +0530, Nilawar, Badal wrote:
> On 24-11-2026 01:49, Rodrigo Vivi wrote:
>
> > @@ -12,6 +12,7 @@
> > #include <drm/intel/intel_lb_mei_interface.h>
> > #include <drm/drm_print.h>
> >
> > +#include "xe_configfs.h"
> > #include "xe_device.h"
> > #include "xe_late_bind_fw.h"
> > #include "xe_pcode.h"
> > @@ -259,7 +260,9 @@ static void xe_late_bind_work(struct work_struct *work)
> > xe_device_assert_mem_access(xe);
> >
> > /* TODO: Compare the running OCODE version at probe when available. */
> > - if (lbfw->type == INTEL_LB_TYPE_OCODE && xe_sysctrl_is_oobmsm_fw_ready(xe)) {
> > + if (lbfw->type == INTEL_LB_TYPE_OCODE &&
> > + (!READ_ONCE(lbfw->probe) || !late_bind->force_ocode_load) &&
>
> > let's not complicate and remove this 'probe' check.
> > It is a debug only case, let's allow even on resume and move with it.
>
> Dropping probe will end-up load across every resume but user have option to
> disable lb using debug fs node "disable_late_binding".
I meant the other way around... drop the probe variable. Have same behavior
on both probe and resume and avoid the reload on both.
>
> Thanks,
> Badal
>
>
> > The rest looks fine.
>
>
> > + xe_sysctrl_is_oobmsm_fw_ready(xe)) {
> > drm_dbg(&xe->drm, "%s firmware already loaded, skipping\n",
> > fw_id_to_name[lbfw->id]);
> > goto out;
next prev parent reply other threads:[~2026-11-24 16:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 18:37 [PATCH 0/2] drm/xe: Skip OCODE late bind if already running Sk Anirban
2026-11-23 18:37 ` [PATCH 1/2] " Sk Anirban
2026-11-23 20:23 ` Rodrigo Vivi
2026-11-23 18:37 ` [PATCH 2/2] drm/xe: Add debug configfs option to force OCODE load Sk Anirban
2026-11-23 20:19 ` Rodrigo Vivi
2026-11-24 11:57 ` Nilawar, Badal
2026-11-24 15:54 ` Rodrigo Vivi [this message]
2026-11-23 19:03 ` ✗ CI.KUnit: failure for drm/xe: Skip OCODE late bind if already running Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awWzH-TK-g4avMwF@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=badal.nilawar@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=karthik.poosa@intel.com \
--cc=mallesh.koujalagi@intel.com \
--cc=raag.jadav@intel.com \
--cc=riana.tauro@intel.com \
--cc=sk.anirban@intel.com \
--cc=soham.purkait@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox