From 90de03708fa269ad54de881b467f4811e4eef87e Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Wed, 22 Nov 2017 13:31:53 -0500 Subject: [PATCH] radeon/vce: disable vce dual pipe on VegaM MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Acked-by: Nicolai Hähnle --- src/gallium/drivers/radeon/radeon_vce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c index 57b9d349582..22168b50e24 100644 --- a/src/gallium/drivers/radeon/radeon_vce.c +++ b/src/gallium/drivers/radeon/radeon_vce.c @@ -416,7 +416,8 @@ struct pipe_video_codec *si_vce_create_encoder(struct pipe_context *context, if (sscreen->info.family >= CHIP_TONGA && sscreen->info.family != CHIP_STONEY && sscreen->info.family != CHIP_POLARIS11 && - sscreen->info.family != CHIP_POLARIS12) + sscreen->info.family != CHIP_POLARIS12 && + sscreen->info.family != CHIP_VEGAM) enc->dual_pipe = true; /* TODO enable B frame with dual instance */ if ((sscreen->info.family >= CHIP_TONGA) && -- 2.30.2