radeon/vce: disable two pipe mode for Polaris11
authorSonny Jiang <sonny.jiang@amd.com>
Tue, 15 Dec 2015 20:33:40 +0000 (15:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2016 03:08:04 +0000 (23:08 -0400)
Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/drivers/radeon/radeon_vce.c

index 6584393f4304f0deab4df6245b2e4c7cbdbc07b5..99b82ca940935b00f27dbaccb09e920ba0c788a8 100644 (file)
@@ -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) &&