Mesa (master): radeon/vce: disable two pipe mode for stoney
Leo Liu
leoliu at kemper.freedesktop.org
Fri Nov 20 18:31:11 UTC 2015
Module: Mesa
Branch: master
Commit: 8762570cc5382730afda9954c53dead5a56f398a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8762570cc5382730afda9954c53dead5a56f398a
Author: Leo Liu <leo.liu at amd.com>
Date: Tue Nov 10 13:34:17 2015 -0500
radeon/vce: disable two pipe mode for stoney
Only one encoding pipe available for Stoney
Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Christian König <christian.koenig at 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 b2b084e..8a60441 100644
--- a/src/gallium/drivers/radeon/radeon_vce.c
+++ b/src/gallium/drivers/radeon/radeon_vce.c
@@ -406,7 +406,8 @@ struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
enc->use_vm = true;
if ((rscreen->info.drm_major > 2) || (rscreen->info.drm_minor >= 42))
enc->use_vui = true;
- if (rscreen->info.family >= CHIP_TONGA)
+ if (rscreen->info.family >= CHIP_TONGA &&
+ rscreen->info.family != CHIP_STONEY)
enc->dual_pipe = true;
/* TODO enable B frame with dual instance */
if ((rscreen->info.family >= CHIP_TONGA) &&
More information about the mesa-commit
mailing list