Re: [RFC PATCH v3 2/3] drm: add support modifiers for drivers whose planes only support linear layout
From: Andy Shevchenko
Date: Fri Jan 14 2022 - 09:18:36 EST
On Fri, Jan 14, 2022 at 07:17:52PM +0900, Tomohito Esaki wrote:
> The LINEAR modifier is advertised as default if a driver doesn't specify
> modifiers.
...
> + const uint64_t default_modifiers[] = {
> + DRM_FORMAT_MOD_LINEAR,
> + DRM_FORMAT_MOD_INVALID
+ Comma?
> + };
Why not enum?
--
With Best Regards,
Andy Shevchenko