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

Christian Ruppert idl0r at qasl.de
Mon Sep 19 19:25:27 UTC 2016


>From: Dave Airlie <airlied at redhat.com>
>
>This reverts commit d180de35320eafa3df3d76f0e82b332656530126.
>
>This is a radeon specific hack that causes problems on nouveau
>when combined with the SHARED flag later. If radeonsi needs a fix
>for this, please fix it in the driver.
>
>Signed-off-by: Dave Airlie <airlied at redhat.com>
>Tested-by: Ilia Mirkin <imirkin at alum.mit.edu>
Tested-by: Christian Ruppert <idl0r at qasl.de>
>---
> src/gallium/state_trackers/vdpau/output.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c
>index 85751ea..09a1517 100644
>--- a/src/gallium/state_trackers/vdpau/output.c
>+++ b/src/gallium/state_trackers/vdpau/output.c
>@@ -82,7 +82,7 @@ vlVdpOutputSurfaceCreate(VdpDevice device,
>    res_tmpl.depth0 = 1;
>    res_tmpl.array_size = 1;
>    res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET |
>-                   PIPE_BIND_LINEAR | PIPE_BIND_SHARED;
>+                   PIPE_BIND_SHARED;
>    res_tmpl.usage = PIPE_USAGE_DEFAULT;
> 
>    pipe_mutex_lock(dev->mutex);
>

Without this Patch 12.x is horrible slow when opening the OSD of my VDR(softhddevice+vdpau/nouveau, nvidia ION) but that patch seems to fix it.

-- 
Regards,
Christian Ruppert


More information about the mesa-dev mailing list