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

Author: Sonny Jiang <sonny.ji...@amd.com>
Date:   Tue Dec 15 15:33:40 2015 -0500

radeon/vce: disable two pipe mode for Polaris11

Signed-off-by: Sonny Jiang <sonny.ji...@amd.com>
Reviewed-by: Leo Liu <leo....@amd.com>

---

 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 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) &&

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to