Re: [PATCH v2 3/3] drm/i915/bios: abstract child device expected size

2024-03-05 Thread Chauhan, Shekhar
On 3/5/2024 16:43, Jani Nikula wrote: On Tue, 05 Mar 2024, "Chauhan, Shekhar" wrote: On 2/26/2024 23:28, Jani Nikula wrote: Add a function to return the expected child device size. Flip the if ladder around and use the same versions as in documentation to make it easier to verify. Return an

Re: [PATCH v2 3/3] drm/i915/bios: abstract child device expected size

2024-03-05 Thread Jani Nikula
On Tue, 05 Mar 2024, "Chauhan, Shekhar" wrote: > On 2/26/2024 23:28, Jani Nikula wrote: >> Add a function to return the expected child device size. Flip the if >> ladder around and use the same versions as in documentation to make it >> easier to verify. Return an error for unknown versions. No fu

Re: [PATCH v2 3/3] drm/i915/bios: abstract child device expected size

2024-03-04 Thread Chauhan, Shekhar
On 2/26/2024 23:28, Jani Nikula wrote: Add a function to return the expected child device size. Flip the if ladder around and use the same versions as in documentation to make it easier to verify. Return an error for unknown versions. No functional changes. v2: Move BUILD_BUG_ON() next to the

Re: [PATCH v2 3/3] drm/i915/bios: abstract child device expected size

2024-02-29 Thread Jani Nikula
On Thu, 29 Feb 2024, Ville Syrjälä wrote: > On Mon, Feb 26, 2024 at 07:58:54PM +0200, Jani Nikula wrote: >> Add a function to return the expected child device size. Flip the if >> ladder around and use the same versions as in documentation to make it >> easier to verify. Return an error for unknow

Re: [PATCH v2 3/3] drm/i915/bios: abstract child device expected size

2024-02-29 Thread Ville Syrjälä
On Mon, Feb 26, 2024 at 07:58:54PM +0200, Jani Nikula wrote: > Add a function to return the expected child device size. Flip the if > ladder around and use the same versions as in documentation to make it > easier to verify. Return an error for unknown versions. No functional > changes. > > v2: Mo

[PATCH v2 3/3] drm/i915/bios: abstract child device expected size

2024-02-26 Thread Jani Nikula
Add a function to return the expected child device size. Flip the if ladder around and use the same versions as in documentation to make it easier to verify. Return an error for unknown versions. No functional changes. v2: Move BUILD_BUG_ON() next to the expected sizes Signed-off-by: Jani Nikula