[PATCH v2 0/6] drm/i915/bios: Refactor ROM access
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Sep 23 15:24:47 UTC 2024
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Unify the behaviour of the PCI ROM vs. SPI flash VBT
read codepaths, and relocate out the low level nuts details
from intel_bios.c into a new soc/intel_rom.c file.
v2: Sort out the drm_dbg() vs. drm_dbg_kms() mess
Include terminating '\0' in vbt_signature[]
Drop an unneccesry cast
Ville Syrjälä (6):
drm/i915/bios: Use drm_dbg_kms() consistently
drm/i915/bios: Add some size checks to SPI VBT read
drm/i915/bios: Round PCI ROM VBT allocation to multiple of 4
drm/i915/bios: Extract intel_spi_read16()
drm/i915/bios: Extract vbt_signature[]
drm/i915/bios: Extract soc/intel_rom.c
drivers/gpu/drm/i915/Makefile | 3 +-
drivers/gpu/drm/i915/display/intel_bios.c | 157 +++++------------
drivers/gpu/drm/i915/soc/intel_rom.c | 160 ++++++++++++++++++
drivers/gpu/drm/i915/soc/intel_rom.h | 25 +++
drivers/gpu/drm/xe/Makefile | 3 +-
.../xe/compat-i915-headers/soc/intel_rom.h | 6 +
6 files changed, 239 insertions(+), 115 deletions(-)
create mode 100644 drivers/gpu/drm/i915/soc/intel_rom.c
create mode 100644 drivers/gpu/drm/i915/soc/intel_rom.h
create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/soc/intel_rom.h
--
2.44.2
More information about the Intel-gfx
mailing list