summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonny Jiang <sonny.jiang@amd.com>2015-12-15 15:33:40 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-03-24 23:08:04 -0400
commitf87ed903fb6fd1bdb0cfa7a4dd5b9d00a9f38e31 (patch)
tree28e86ebe1156bb81f73f900a1a2bd6d7cc1b9ffa
parent0c5477465f08502fd81783ce17c449330537eb00 (diff)
downloadexternal_mesa3d-f87ed903fb6fd1bdb0cfa7a4dd5b9d00a9f38e31.zip
external_mesa3d-f87ed903fb6fd1bdb0cfa7a4dd5b9d00a9f38e31.tar.gz
external_mesa3d-f87ed903fb6fd1bdb0cfa7a4dd5b9d00a9f38e31.tar.bz2
radeon/vce: disable two pipe mode for Polaris11
Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>
-rw-r--r--src/gallium/drivers/radeon/radeon_vce.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c
index 6584393..99b82ca 100644
--- a/src/gallium/drivers/radeon/radeon_vce.c
+++ b/src/gallium/drivers/radeon/radeon_vce.c
@@ -409,7 +409,8 @@ struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
rscreen->info.drm_major == 3)
enc->use_vui = true;
if (rscreen->info.family >= CHIP_TONGA &&
- rscreen->info.family != CHIP_STONEY)
+ rscreen->info.family != CHIP_STONEY &&
+ rscreen->info.family != CHIP_POLARIS11)
enc->dual_pipe = true;
/* TODO enable B frame with dual instance */
if ((rscreen->info.family >= CHIP_TONGA) &&