radeon/vcn: exclude raven2 from vcn 2.0 encode initialization

Signed-off-by: Indrajit Das <indrajit-kumar.das@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
This commit is contained in:
Indrajit Das 2019-09-10 14:52:14 +05:30 committed by Leo Liu
parent a0f8a07308
commit 92765f85e1

View file

@ -411,7 +411,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);