Intel-XE Archive on lore.kernel.org
 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
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ 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] 16+ messages in thread

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

Thread overview: 16+ 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-25 20:57 ` ✓ CI.Patch_applied: success for drm/i915/bios: Refactor ROM access (rev2) Patchwork
2024-09-25 20:58 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-25 20:59 ` ✓ CI.KUnit: success " Patchwork
2024-09-25 21:10 ` ✓ CI.Build: " Patchwork
2024-09-25 21:13 ` ✓ CI.Hooks: " Patchwork
2024-09-25 21:14 ` ✗ CI.checksparse: warning " Patchwork
2024-09-25 21:39 ` ✗ CI.BAT: failure " Patchwork
2024-09-25 23:37 ` ✗ CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox