[RFC PATCH v3 2/3] drm: add support modifiers for drivers whose planes only support linear layout

Andy Shevchenko andriy.shevchenko at linux.intel.com
Fri Jan 14 14:16:26 UTC 2022


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




More information about the amd-gfx mailing list