[Intel-gfx] [PATCH 1/3] drm/i915/csr: keep firmware name and required version together

Chris Wilson chris at chris-wilson.co.uk
Thu Sep 6 09:07:36 UTC 2018


Quoting Jani Nikula (2018-09-06 09:21:24)
> Having two separate if ladders gets increasingly hard to maintain. Put
> them together.

Does it even have to be an if-ladder? Something like
struct platform_requirements {
	unsigned long platform_mask;
	u32 required_version;
	const char *path;
} [];

How does that work by patch 3?
-Chris


More information about the Intel-gfx mailing list