Mesa (master): radeon/vcn: exclude raven2 from vcn 2.0 encode initialization

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Sep 13 13:20:29 UTC 2019


Module: Mesa
Branch: master
Commit: 92765f85e1bb677b9d61b4f4a3f87c6b64649e12
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92765f85e1bb677b9d61b4f4a3f87c6b64649e12

Author: Indrajit Das <indrajit-kumar.das at amd.com>
Date:   Tue Sep 10 15:10:14 2019 +0530

radeon/vcn: exclude raven2 from vcn 2.0 encode initialization

Signed-off-by: Indrajit Das <indrajit-kumar.das at amd.com>
Reviewed-by: Leo Liu <leo.liu 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 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);




More information about the mesa-commit mailing list