On Thu, 14 Oct 2021, Jani Nikula <jani.nik...@linux.intel.com> wrote:
> On Thu, 07 Oct 2021, Imre Deak <imre.d...@intel.com> wrote:
>> +} intel_modifiers[] = {
>> +    {
>> +            .id = DRM_FORMAT_MOD_LINEAR,
>> +            .display_versions = DISPLAY_VER_MASK_ALL,
>
> What is this going to look like when display version mask isn't fine
> grained enough to cover all the platforms? Do we have cases like that
> already?

Day-dreaming, would be nice if we could turn our IS_PLATFORM() macros to
functions, and pass them as function pointers in places like this. Or
have lambda functions here.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center

Reply via email to