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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to