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

Ilia Mirkin imirkin at alum.mit.edu
Thu Sep 15 04:00:15 UTC 2016


On Wed, Sep 14, 2016 at 11:58 PM, Dave Airlie <airlied at gmail.com> wrote:
> 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>
Cc: "12.0" <mesa-stable at lists.freedesktop.org>

> ---
>  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);
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list