[Mesa-dev] [PATCH] Revert "st/vdpau: use linear layout for output surfaces"
Marek Olšák
maraeo at gmail.com
Fri Sep 30 22:06:30 UTC 2016
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.
Marek
More information about the mesa-dev
mailing list