Re: [PATCH] drm/fourcc: add LINEAR modifiers with an exact pitch alignment

Marek Olšák <[email protected]> Tue, 14 Jan 2025 22:49:11 -0500
Newsgroups gmane.comp.freedesktop.amd-gfx,gmane.comp.video.dri.devel,gmane.comp.video.mesa3d.devel
Message-ID <CAAxE2A5eH4E6mHgfjNWQFL+r2O10HmvN1ZfEkv7sKwV2kiGjSw@mail.gmail.com>
On Tue, Jan 14, 2025 at 12:55 PM James Jones <[email protected]> wrote:

> I don't see how that fits in the current modifier usage patterns. I'm
> not clear how applications are supposed to programmatically "look at the
> modifiers of other drivers to find commonalities," nor how that "keeps
> "expectations the same as today for simplicity.". I think replacing the
> existing linear modifier would be very disruptive, and I don't think
> this proposal solves a general problem. Is it common for other vendors'
> hardware to have such strict pitch/height alignment requirements? Prior
> to this discussion, I'd only ever heard of minimum alignments.
>

James, no changes to apps are required. Driver developers can _choose_ to
look at other drivers to find commonalities and expose them in their own
drivers.

Marek