Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Grzelak" <michal.grzelak@linux.intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: "Jani Nikula" <jani.nikula@intel.com>,
	"Ville Syrjälä" <ville.syrjala@linux.intel.com>,
	"Michał Grzelak" <michal.grzelak@intel.com>,
	"Michał Grzelak" <michal.grzelak@linux.intel.com>
Subject: [PATCH v1 2/4] drm/i915/display: s/vbt_firmware/i915_vbt/
Date: Thu, 26 Nov 2026 19:06:12 +0100	[thread overview]
Message-ID: <20261126180614.224327-3-michal.grzelak@linux.intel.com> (raw)
In-Reply-To: <20261126180614.224327-1-michal.grzelak@linux.intel.com>

There is a naming incosistency between debugfs file for capturing VBT
and module parameter for passing custom one. Stick to one convention of
naming it i915_vbt.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Michał Grzelak <michal.grzelak@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_bios.c           | 2 +-
 drivers/gpu/drm/i915/display/intel_display_params.c | 2 +-
 drivers/gpu/drm/i915/display/intel_display_params.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
index 01ba0372bbe47..9bd2bc2e042b4 100644
--- a/drivers/gpu/drm/i915/display/intel_bios.c
+++ b/drivers/gpu/drm/i915/display/intel_bios.c
@@ -3185,7 +3185,7 @@ static struct vbt_header *firmware_get_vbt(struct intel_display *display,
 {
 	struct vbt_header *vbt = NULL;
 	const struct firmware *fw = NULL;
-	const char *name = display->params.vbt_firmware;
+	const char *name = display->params.i915_vbt;
 	int ret;
 
 	if (!name || !*name)
diff --git a/drivers/gpu/drm/i915/display/intel_display_params.c b/drivers/gpu/drm/i915/display/intel_display_params.c
index 20398deaa4878..25390b7fe93ad 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");
 
 intel_display_param_named_unsafe(lvds_channel_mode, int, 0400,
diff --git a/drivers/gpu/drm/i915/display/intel_display_params.h b/drivers/gpu/drm/i915/display/intel_display_params.h
index 50096a5c961cb..a647f84743d20 100644
--- a/drivers/gpu/drm/i915/display/intel_display_params.h
+++ b/drivers/gpu/drm/i915/display/intel_display_params.h
@@ -24,7 +24,7 @@ struct drm_printer;
  */
 #define INTEL_DISPLAY_PARAMS_FOR_EACH(param) \
 	param(char *, dmc_firmware_path, NULL, 0400) \
-	param(char *, vbt_firmware, NULL, 0400) \
+	param(char *, i915_vbt, NULL, 0400) \
 	param(int, lvds_channel_mode, 0, 0400) \
 	param(int, panel_use_ssc, -1, 0600) \
 	param(int, vbt_sdvo_panel_type, -1, 0400) \
-- 
2.45.2


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

Thread overview: 6+ 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 ` Michał Grzelak [this message]
2026-11-26 18:15   ` [PATCH v1 2/4] drm/i915/display: s/vbt_firmware/i915_vbt/ sashiko-bot
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

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=20261126180614.224327-3-michal.grzelak@linux.intel.com \
    --to=michal.grzelak@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=michal.grzelak@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