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 - 10:19:27 EST


On Fri, Jan 14, 2022 at 03:07:21PM +0000, Simon Ser wrote:
> On Friday, January 14th, 2022 at 15:16, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> > Why not enum?
>
> There is no enum for DRM format modifiers.

I'm not sure how this prevents to use enum in the code instead of const u64.
Any specific reason for that?

--
With Best Regards,
Andy Shevchenko