diff options
author | Indrajit Das <[email protected]> | 2019-09-10 14:52:14 +0530 |
---|---|---|
committer | Leo Liu <[email protected]> | 2019-09-13 09:18:43 -0400 |
commit | 92765f85e1bb677b9d61b4f4a3f87c6b64649e12 (patch) | |
tree | 40553a00dcf74f4dad3ff5c592da3fa559714b26 /src/gallium/drivers/radeon | |
parent | a0f8a073087276e7e9b97c82df36f39840a081d4 (diff) |
radeon/vcn: exclude raven2 from vcn 2.0 encode initialization
Signed-off-by: Indrajit Das <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vcn_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vcn_enc.c b/src/gallium/drivers/radeon/radeon_vcn_enc.c index 0b6fe3344a5..aa9182f273b 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_enc.c +++ b/src/gallium/drivers/radeon/radeon_vcn_enc.c @@ -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); |