Hi Leo,

On 20 November 2015 at 15:12, Leo Liu <leo....@amd.com> wrote:
> Only one encoding pipe available for Stoney
>
> Signed-off-by: Leo Liu <leo....@amd.com>
> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
>  src/gallium/drivers/radeon/radeon_vce.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/radeon_vce.c 
> b/src/gallium/drivers/radeon/radeon_vce.c
> index b2b084e..8a60441 100644
> --- a/src/gallium/drivers/radeon/radeon_vce.c
> +++ b/src/gallium/drivers/radeon/radeon_vce.c
> @@ -406,7 +406,8 @@ struct pipe_video_codec *rvce_create_encoder(struct 
> pipe_context *context,
>                 enc->use_vm = true;
>         if ((rscreen->info.drm_major > 2) || (rscreen->info.drm_minor >= 42))
>                 enc->use_vui = true;
> -       if (rscreen->info.family >= CHIP_TONGA)
> +       if (rscreen->info.family >= CHIP_TONGA &&
> +             rscreen->info.family != CHIP_STONEY)
Since we have Stoney support in 11.0, can you send a patch to
mesa-stable that disables VCE for Stoney. I'd recommend committing
this and patch 1/2 some time today, as I will be branching 11.1 after
people finish they work day.

Thanks
Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to