From 085c695488acc3408bf455ea3f97517a68cad714 Mon Sep 17 00:00:00 2001 From: Christian König Date: Mon, 8 Jul 2013 19:51:20 +0200 Subject: r600/uvd: fix check for UVD 2.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- src/gallium/drivers/r600/r600_uvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/r600/r600_uvd.c b/src/gallium/drivers/r600/r600_uvd.c index 6a3974c6b27..a077a50d190 100644 --- a/src/gallium/drivers/r600/r600_uvd.c +++ b/src/gallium/drivers/r600/r600_uvd.c @@ -185,7 +185,7 @@ int r600_uvd_get_video_param(struct pipe_screen *screen, struct r600_screen *rscreen = (struct r600_screen *)screen; /* No support for MPEG4 on UVD 2.x */ - if (param == PIPE_VIDEO_CAP_SUPPORTED && rscreen->family < CHIP_CEDAR && + if (param == PIPE_VIDEO_CAP_SUPPORTED && rscreen->family < CHIP_PALM && u_reduce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG4) return false; -- cgit v1.2.3