mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
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:
parent
a0f8a07308
commit
92765f85e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue