Reviewed-by: Leo Liu <leo....@amd.com>

On 2019-09-10 10:06 a.m., Das, Indrajit-kumar wrote:
> From: Indrajit Das <indrajit-kumar....@amd.com>
> Date: Tue, 10 Sep 2019 14:52:14 +0530
> Subject: [PATCH] radeon/vcn: exclude raven2 from vcn 2.0 encode initialization
>
> Signed-off-by: Indrajit Das <indrajit-kumar....@amd.com>
> ---
>   src/gallium/drivers/radeon/radeon_vcn_enc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/radeon_vcn_enc.c 
> b/src/gallium/drivers/radeon/radeon_vcn_enc.c
> index afdc2a9..2ab4e45 100644
> --- a/src/gallium/drivers/radeon/radeon_vcn_enc.c
> +++ b/src/gallium/drivers/radeon/radeon_vcn_enc.c
> @@ -410,7 +410,7 @@ struct pipe_video_codec *radeon_create_encoder(struct 
> pipe_context *context,
>               goto error;
>       }
>   
> -     if (sscreen->info.family <= CHIP_RAVEN)
> +     if (sscreen->info.family <= CHIP_RAVEN2)
>               radeon_enc_1_2_init(enc);
>       else
>               radeon_enc_2_0_init(enc);
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to