From: Christian König Date: Mon, 8 Jul 2013 17:51:20 +0000 (+0200) Subject: r600/uvd: fix check for UVD 2.x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=085c695488acc3408bf455ea3f97517a68cad714;p=mesa.git r600/uvd: fix check for UVD 2.x Signed-off-by: Christian König --- 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;