Thinking about this again, it seems like you could start with just simple enumerated modifiers like Intel does, and then only switch to more complicated logic with macros and fields if there is an actual need in the future.
- Re: [PATCH v2 5/6] drm/vs: Add KMS crtc&... Ville Syrjälä
- Re: [PATCH v2 5/6] drm/vs: Add KMS crtc&... Keith Zhao
- Re: [PATCH v2 5/6] drm/vs: Add KMS c... Keith Zhao
- Re: [PATCH v2 5/6] drm/vs: Add KMS crtc&... Keith Zhao
- [PATCH v2 4/6] drm/vs: Register DRM device Keith Zhao
- Re: [PATCH v2 4/6] drm/vs: Register DRM device Dmitry Baryshkov
- Re: [PATCH v2 4/6] drm/vs: Register DRM device Emil Renner Berthing
- [PATCH v2 3/6] drm/fourcc: Add drm/vs tiled modifiers Keith Zhao
- Re: [PATCH v2 3/6] drm/fourcc: Add drm/vs tiled ... Dmitry Baryshkov
- Re: [PATCH v2 3/6] drm/fourcc: Add drm/vs tiled ... Simon Ser
- Re: [PATCH v2 3/6] drm/fourcc: Add drm/vs ti... Simon Ser
- Re: [PATCH v2 3/6] drm/fourcc: Add drm/v... Keith Zhao
- Re: [PATCH v2 3/6] drm/fourcc: Add drm/vs tiled ... Emil Renner Berthing
- [PATCH v2 2/6] riscv: dts: starfive: jh7110: add dc c... Keith Zhao
- Re: [PATCH v2 2/6] riscv: dts: starfive: jh7110:... Emil Renner Berthing