[Mesa-dev] radeon/vcn: exclude raven2 from vcn 2.0 encode initialization
Das, Indrajit-kumar
Indrajit-kumar.Das at amd.com
Tue Sep 10 14:06:41 UTC 2019
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);
--
2.7.4
More information about the mesa-dev
mailing list