intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] drm/i915/bios: Refactor ROM access
@ 2024-09-23 15:24 Ville Syrjala
  2024-09-23 15:24 ` [PATCH v2 1/6] drm/i915/bios: Use drm_dbg_kms() consistently Ville Syrjala
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Ville Syrjala @ 2024-09-23 15:24 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe

From: Ville Syrjälä <ville.syrjala@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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-09-26 23:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 15:24 [PATCH v2 0/6] drm/i915/bios: Refactor ROM access Ville Syrjala
2024-09-23 15:24 ` [PATCH v2 1/6] drm/i915/bios: Use drm_dbg_kms() consistently Ville Syrjala
2024-09-24 13:52   ` Jani Nikula
2024-09-23 15:24 ` [PATCH v2 2/6] drm/i915/bios: Add some size checks to SPI VBT read Ville Syrjala
2024-09-23 15:24 ` [PATCH v2 3/6] drm/i915/bios: Round PCI ROM VBT allocation to multiple of 4 Ville Syrjala
2024-09-23 15:24 ` [PATCH v2 4/6] drm/i915/bios: Extract intel_spi_read16() Ville Syrjala
2024-09-23 15:24 ` [PATCH v2 5/6] drm/i915/bios: Extract vbt_signature[] Ville Syrjala
2024-09-23 15:24 ` [PATCH v2 6/6] drm/i915/bios: Extract soc/intel_rom.c Ville Syrjala
2024-09-26 17:22 ` ✓ Fi.CI.BAT: success for drm/i915/bios: Refactor ROM access (rev2) Patchwork
2024-09-26 17:22 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-09-26 17:22 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-09-26 23:12 ` ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).