diff options
author | Christian König <[email protected]> | 2013-07-08 19:51:20 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2013-07-08 19:51:20 +0200 |
commit | 085c695488acc3408bf455ea3f97517a68cad714 (patch) | |
tree | ad72028e9a87af2b0af096ccd85b40f178ac9f10 /src/gallium/drivers/r600/r600_uvd.c | |
parent | 1415a1884c59aff37d0f1a53447ef389dd9f9b39 (diff) |
r600/uvd: fix check for UVD 2.x
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_uvd.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_uvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |