Re: [Intel-gfx] [PATCH 02/11] drm/i915/bios: Make copies of VBT data blocks

2022-03-18 Thread Jani Nikula
On Fri, 18 Mar 2022, Ville Syrjälä wrote: > On Thu, Mar 17, 2022 at 09:02:46PM +0200, Jani Nikula wrote: >> On Thu, 17 Mar 2022, Ville Syrjala wrote: >> > From: Ville Syrjälä >> > >> > Make a copy of each VB data block with a guaranteed minimum >> > size. The extra (if any) will just be left

Re: [Intel-gfx] [PATCH 02/11] drm/i915/bios: Make copies of VBT data blocks

2022-03-17 Thread Ville Syrjälä
On Thu, Mar 17, 2022 at 09:02:46PM +0200, Jani Nikula wrote: > On Thu, 17 Mar 2022, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Make a copy of each VB data block with a guaranteed minimum > > size. The extra (if any) will just be left zeroed. > > *VBT > > > > > This means we don't

Re: [Intel-gfx] [PATCH 02/11] drm/i915/bios: Make copies of VBT data blocks

2022-03-17 Thread Jani Nikula
On Thu, 17 Mar 2022, Ville Syrjala wrote: > From: Ville Syrjälä > > Make a copy of each VB data block with a guaranteed minimum > size. The extra (if any) will just be left zeroed. *VBT > > This means we don't have to worry about going out of bounds > when accessing any of the structure

[Intel-gfx] [PATCH 02/11] drm/i915/bios: Make copies of VBT data blocks

2022-03-17 Thread Ville Syrjala
From: Ville Syrjälä Make a copy of each VB data block with a guaranteed minimum size. The extra (if any) will just be left zeroed. This means we don't have to worry about going out of bounds when accessing any of the structure members. Otherwise that could easliy happen if we simply get the