[Mesa-dev] radeon/vcn: exclude raven2 from vcn 2.0 encode initialization
Liu, Leo
Leo.Liu at amd.com
Tue Sep 10 14:10:37 UTC 2019
Reviewed-by: Leo Liu <leo.liu at amd.com>
On 2019-09-10 10:06 a.m., Das, Indrajit-kumar wrote:
> From: Indrajit Das <indrajit-kumar.das at 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.das at 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);
More information about the mesa-dev
mailing list