From 8be58198cf480cbab05b5fa42101294cb8c1d667 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Fri, 20 Nov 2015 12:07:52 -0500 Subject: [PATCH] radeon/vce: disable Stoney VCE for 11.0 Signed-off-by: Leo Liu Cc: "11.0" Reviewed-by: Alex Deucher --- src/gallium/drivers/radeon/radeon_vce.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c index 7eab974a3df..bb1f9de5074 100644 --- a/src/gallium/drivers/radeon/radeon_vce.c +++ b/src/gallium/drivers/radeon/radeon_vce.c @@ -388,6 +388,11 @@ struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context, struct radeon_surf *tmp_surf; unsigned cpb_size; + if (rscreen->info.family == CHIP_STONEY) { + RVID_ERR("Stoney VCE is not supported!\n"); + return NULL; + } + if (!rscreen->info.vce_fw_version) { RVID_ERR("Kernel doesn't supports VCE!\n"); return NULL; -- 2.11.0