[Mesa-dev] [PATCH 2/3] panfrost: Allocate scanout BOs in panfrost device

Daniel Stone daniel at fooishbar.org
Fri Jul 5 14:14:00 UTC 2019


On Fri, 5 Jul 2019 at 14:38, Alyssa Rosenzweig
<alyssa.rosenzweig at collabora.com> wrote:
> > +        bool should_tile = !is_streaming && is_texture && is_2d && !is_scanout;
>
> I'm not opposed, but why can't we tile PIPE_BIND_SHARED textures? lima
> does exactly that. If we can't tile them, we certainly can't AFBC them.

We can't tile USE_SHARED unless it's explicitly listed in the modifiers.

If we don't have modifiers, then USE_SHARED means we'd be sending it
to a different process or subsystem (KMS, V4L, whatever) which isn't
going to know that it's tiled, because we aren't using modifiers to
tell it.

Cheers,
Daniel


More information about the mesa-dev mailing list