[PATCH] drm/fourcc: add Vivante TS modifiers

Lucas Stach l.stach at pengutronix.de
Tue Mar 23 20:23:39 UTC 2021


Am Montag, dem 22.03.2021 um 10:20 +0100 schrieb Lucas Stach:
> Hi Christian,
> 
> Am Montag, dem 22.03.2021 um 09:54 +0100 schrieb Christian Gmeiner:
> > Am Sa., 20. März 2021 um 20:11 Uhr schrieb Daniel Vetter <daniel at ffwll.ch>:
> > > 
> > > On Sat, Mar 20, 2021 at 10:28 AM Christian Gmeiner
> > > <christian.gmeiner at gmail.com> wrote:
> > > > 
> > > > Hi Lucas
> > > > 
> > > > Am Fr., 19. März 2021 um 20:06 Uhr schrieb Lucas Stach <l.stach at pengutronix.de>:
> > > > > 
> > > > > Vivante TS (tile-status) buffer modifiers. They can be combined with all of
> > > > > the Vivante color buffer tiling modifiers, so they are kind of a modifier
> > > > > modifier. If a TS modifier is present we have a additional plane for the
> > > > > TS buffer and the modifier defines the layout of this TS buffer.
> > > > > 
> > > > 
> > > > I am unsure why you want to have the TS modifiers in drm_fourcc.h. Can
> > > > you share some insight on this?
> > > 
> > > It's the official registry for drm_fourcc codes and drm modifiers.
> > > Whether the kernel ever uses it or not doesn't matter.
> > 
> > Fair point.. but I do not see any usage of these TS modifiers in mesa
> > - that's why I am asking.
> 
> I have a Mesa series using those modifiers, which I'm currently
> rebasing and will be posted shortly. However, the way things work is:
> first get the modifier into drm_fourcc.h, then merge any code using the
> new modifiers, so I figured it would be fair game to post this patch
> before I fully finished reworking the Mesa series.

Rebasing and re-testing did take a bit more time than I expected, but
userspace bits are now available at:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9780

I also have patches for DCSS to enable compression support all the way
to the display on i.MX8M, but those also need rebasing and re-testing.
I'll send them out when ready.

Regards,
Lucas





More information about the dri-devel mailing list