]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/bios: Round PCI ROM VBT allocation to multiple of 4
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 Sep 2024 15:24:50 +0000 (18:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Oct 2024 14:30:48 +0000 (17:30 +0300)
commit3823683a0f170c45b84e8a32a3c282f783f9620a
treeff906038e6c87ed3e7633a38ee0cdc3dfb24cafe
parent1533b4057f1d8fd3296116e010880ae5b604edbe
drm/i915/bios: Round PCI ROM VBT allocation to multiple of 4

The SPI code rounds the VBT allocation to a multiple of four bytes
(presumably because it reads the VBT 4 bytes at a time). Do the
same for the PCI ROM side to eliminate pointless differences between
the two codepaths. This will make no functional difference.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240923152453.11230-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_bios.c