[Mesa-dev] [PATCH] Revert "st/vdpau: use linear layout for output surfaces"

Christian König deathsimple at vodafone.de
Sat Oct 1 08:27:40 UTC 2016


Am 01.10.2016 um 00:06 schrieb Marek Olšák:
> On Fri, Sep 30, 2016 at 11:23 PM, Dave Airlie <airlied at gmail.com> wrote:
>> On 1 October 2016 at 06:11, Marek Olšák <maraeo at gmail.com> wrote:
>>> On Fri, Sep 30, 2016 at 4:42 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>>>> So is this getting pushed, or should I push my "don't build vdpau for
>>>> nouveau" patch?
>>> Please wait.
>>>
>>> Christian, your commit says it fixes a radeonsi issue, but Ilia says
>>> it breaks nouveau.
>>>
>>> Can we do something to accommodate both drivers? Should we add a CAP
>>> for whether to use a linear layout for output surfaces?
>> I think we need a flag that isn't SHARED/LINEAR that is more SHARED_OTHER_GPU.
> That would be useless. Most OpenGL textures can be shared with other
> GPUs and processes via the EGL dmabuf extensions. Relying on
> PIPE_BIND_SHARED is a bug by itself and no driver should do that.

Yeah, completely agree.

To answer the original question the comment in the patch was about an 
issue with sharing tiling information, but I think that is long fixed by 
now.

Anyway somebody needs to test this, but I don't have time right now.

Christian.


More information about the mesa-dev mailing list