r600/uvd: fix check for UVD 2.x
authorChristian König <christian.koenig@amd.com>
Mon, 8 Jul 2013 17:51:20 +0000 (19:51 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 8 Jul 2013 17:51:20 +0000 (19:51 +0200)
Signed-off-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r600/r600_uvd.c

index 6a3974c6b2703f2af81d6934e2d147f7feb0f934..a077a50d190f613088c1a8bed456c25f80900531 100644 (file)
@@ -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;