radeon/vce: disable vce dual pipe on VegaM
authorLeo Liu <leo.liu@amd.com>
Wed, 22 Nov 2017 18:31:53 +0000 (13:31 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 18 Apr 2018 18:45:35 +0000 (14:45 -0400)
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/radeon_vce.c

index 57b9d349582286c5a4d41d991c31c75cc8cf6667..22168b50e241754a239191e44a17d5875dddcdc1 100644 (file)
@@ -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) &&