[Mesa-dev] [PATCH] radeonsi: cleanup disabling tiling for UVD v2

Michel Dänzer michel at daenzer.net
Wed Apr 24 01:21:05 PDT 2013


On Mit, 2013-04-24 at 10:09 +0200, Christian König wrote: 
> From: Christian König <christian.koenig at amd.com>
> 
> Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=63702
> 
> v2: add a comment that this is just a workaround
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>
> ---
>  src/gallium/drivers/radeonsi/radeonsi_uvd.c |    7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/src/gallium/drivers/radeonsi/radeonsi_uvd.c b/src/gallium/drivers/radeonsi/radeonsi_uvd.c
> index d49c088..311bae7 100644
> --- a/src/gallium/drivers/radeonsi/radeonsi_uvd.c
> +++ b/src/gallium/drivers/radeonsi/radeonsi_uvd.c
> @@ -76,6 +76,8 @@ struct pipe_video_buffer *radeonsi_video_buffer_create(struct pipe_context *pipe
>         template.height = align(tmpl->height / depth, VL_MACROBLOCK_HEIGHT);
>  
>         vl_vide_buffer_template(&templ, &template, resource_formats[0], depth, PIPE_USAGE_STATIC, 0);
> +       /* TODO: Setting the transfer flag is only a workaround till we get tilling working */

Spelling: 'tiling'

With that fixed,

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list