Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Grzelak" <michal.grzelak@intel.com>
To: "Michał Grzelak" <michal.grzelak@intel.com>
Cc: igt-dev@lists.freedesktop.org,
	"Jani Nikula" <jani.nikula@intel.com>,
	"Suraj Kandpal" <suraj.kandpal@intel.com>,
	"Ville Syrjälä" <ville.syrjala@linux.intel.com>
Subject: Re: [PATCH i-g-t v3 06/10] tools/intel_vbt_decode: fall back to guessing PCI ID from VBT signature
Date: Mon, 15 Jun 2026 12:33:35 +0200 (CEST)	[thread overview]
Message-ID: <03d110cf-ebf6-39bf-2303-082652159d93@intel.com> (raw)
In-Reply-To: <20260615093137.681050-7-michal.grzelak@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

On Mon, 15 Jun 2026, Michał Grzelak wrote:
> From: Jani Nikula <jani.nikula@intel.com>
>
> From: Jani Nikula <jani.nikula@intel.com>
>
> If the PCI ID wasn't passed on the command-line, DEVICE environment
> variable, or VBIOS, fall back to guessing the device ID from the VBT
> signature.
>
> Cc: Michał Grzelak <michal.grzelak@intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Signed-off-by: Michał Grzelak <michal.grzelak@intel.com>

> ---
> tools/intel_vbt_decode.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
> index 0956d34dc2..a2e57206d6 100644
> --- a/tools/intel_vbt_decode.c
> +++ b/tools/intel_vbt_decode.c
> @@ -4331,6 +4331,8 @@ int main(int argc, char **argv)
> 	}
> 	if (!context.devid)
> 		context.devid = get_device_id(VBIOS, size);
> +	if (!context.devid)
> +		context.devid = intel_guess_device_id(context.codename);
> 	if (!context.devid)
> 		fprintf(stderr, "Warning: could not find PCI device ID!\n");
>
> -- 
> 2.45.2
>
>

  reply	other threads:[~2026-06-15 10:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-15  9:31 [PATCH i-g-t v3 00/10] Vswing / Pre-emphasis Override decoding Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 01/10] tools/vbt_decode: fix tables' offset reading Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 02/10] tools/vbt_decode: rename VBT#57 related vars Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 03/10] tools/intel_vbt_decode: store codename from VBT signature to context Michał Grzelak
2026-06-15 10:31   ` Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 04/10] lib/intel_device_info: add a helper to guess the PCI ID for a codename Michał Grzelak
2026-06-15  9:57   ` Jani Nikula
2026-06-15 10:21     ` Michał Grzelak
2026-06-15 10:32   ` Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 05/10] tools/vbt_decode: return 0 from get_device_id() Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 06/10] tools/intel_vbt_decode: fall back to guessing PCI ID from VBT signature Michał Grzelak
2026-06-15 10:33   ` Michał Grzelak [this message]
2026-06-15  9:31 ` [PATCH i-g-t v3 07/10] tools/vbt_decode: validate DEVICE env var Michał Grzelak
2026-06-15 11:21   ` Jani Nikula
2026-06-15  9:31 ` [PATCH i-g-t v3 08/10] tools/vbt_decode: parse & dump VS/PE-O tables for LT Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 09/10] tools/vbt_decode: parse & dump VS/PE-O tables for Snps Michał Grzelak
2026-06-15  9:31 ` [PATCH i-g-t v3 10/10] tools/vbt_decode: parse & dump VS/PE-O tables for Combo Michał Grzelak
2026-06-15 16:51 ` ✓ Xe.CI.BAT: success for Vswing / Pre-emphasis Override decoding (rev2) Patchwork
2026-06-15 17:05 ` ✓ i915.CI.BAT: " Patchwork
2026-06-15 18:06 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-06-16  0:10 ` ✓ i915.CI.Full: success " 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=03d110cf-ebf6-39bf-2303-082652159d93@intel.com \
    --to=michal.grzelak@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=suraj.kandpal@intel.com \
    --cc=ville.syrjala@linux.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