All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Michał Grzelak" <michal.grzelak@linux.intel.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v1 2/4] drm/i915/display: s/vbt_firmware/i915_vbt/
Date: Thu, 26 Nov 2026 18:15:42 +0000	[thread overview]
Message-ID: <sashiko-outbox-236007@kernel.org> (raw)
In-Reply-To: <20261126180614.224327-3-michal.grzelak@linux.intel.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/display: renaming vbt_firmware modparam breaks ABI
  and xe naming
--

commit fa8f42fa4eb41bc75f83d0f076e1f8926cb58a41
Author: Michał Grzelak <michal.grzelak@linux.intel.com>

drm/i915/display: s/vbt_firmware/i915_vbt/

This commit renames the vbt_firmware display module parameter and struct
intel_display_params member to i915_vbt.

> diff --git a/drivers/gpu/drm/i915/display/intel_display_params.c b/drivers/gpu/drm/i915/display/intel_display_params.c
> index d14294933bcd7..74a75eb9f5eae 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_params.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_params.c
> @@ -36,7 +36,7 @@ intel_display_param_named_unsafe(dmc_firmware_path, charp, 0400,
>  	"DMC firmware path to use instead of the default one. "
>  	"Use /dev/null to disable DMC and runtime PM.");
>  
> -intel_display_param_named_unsafe(vbt_firmware, charp, 0400,
> +intel_display_param_named_unsafe(i915_vbt, charp, 0400,
>  	"Load VBT from specified file under /lib/firmware");

[Severity: Medium]
Does renaming the vbt_firmware module parameter break existing kernel
command lines and modprobe configurations while exposing an
i915-prefixed parameter on xe?

vbt_firmware has been used since commit ab3595bc4ff3 ("drm/i915/opregion:
let user specify override VBT via firmware load") to specify a firmware
file under /lib/firmware, so renaming it breaks existing
i915.vbt_firmware and xe.vbt_firmware setups and causes modprobe to fail
when vbt_firmware is configured in /etc/modprobe.d/.

In addition, intel_display_params.c is shared between i915.ko and xe.ko
and parameters in INTEL_DISPLAY_PARAMS_FOR_EACH are already namespaced
by the driver name.  Naming the parameter i915_vbt yields i915.i915_vbt
on i915 and xe.i915_vbt (as well as /sys/module/xe/parameters/i915_vbt
and debugfs xe_params/i915_vbt) on xe.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261126180614.224327-1-michal.grzelak@linux.intel.com?part=2

  reply	other threads:[~2026-11-26 18:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 18:06 [PATCH v1 0/4] drm/i915: vbt/modparams-related cleanups Michał Grzelak
2026-11-26 18:06 ` [PATCH v1 1/4] drm/i915/display: remove edp_vswing modparam Michał Grzelak
2026-11-26 18:06 ` [PATCH v1 2/4] drm/i915/display: s/vbt_firmware/i915_vbt/ Michał Grzelak
2026-11-26 18:15   ` sashiko-bot [this message]
2026-11-26 18:06 ` [PATCH v1 3/4] drm/i915/bios: s/parse_ddi_ports/parse_each_ddi_port/ Michał Grzelak
2026-11-26 18:06 ` [PATCH v1 4/4] drm/i915/bios: s/init_bdb_blocks/init_each_bdb_block/ Michał Grzelak
2026-11-26 21:28 ` ✓ i915.CI.BAT: success for drm/i915: vbt/modparams-related cleanups Patchwork
2026-11-26 22:23 ` ✗ CI.checkpatch: warning " Patchwork
2026-11-26 22:25 ` ✓ CI.KUnit: success " Patchwork
2026-11-26 23:06 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-27 10:14 ` ✓ Xe.CI.FULL: " Patchwork
2026-11-28  1:45 ` ✗ i915.CI.Full: failure " 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=sashiko-outbox-236007@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=michal.grzelak@linux.intel.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.