summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2013-07-28 12:06:57 +0200
committerMaarten Lankhorst <[email protected]>2013-07-28 12:06:57 +0200
commite847b5ae066bf9a209dad482fcc664f944983633 (patch)
treefd184646c4fdd8219903d77e61bd3fc86cb506cd /src/gallium
parent803f755edeabd1b0af3d8f4ebf2005333e152ad4 (diff)
nvc0: force use of correct firmware file
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_video.c b/src/gallium/drivers/nvc0/nvc0_video.c
index ad40b9456f6..7cc086a0e8c 100644
--- a/src/gallium/drivers/nvc0/nvc0_video.c
+++ b/src/gallium/drivers/nvc0/nvc0_video.c
@@ -153,7 +153,7 @@ static void nvc0_video_getpath(enum pipe_video_profile profile, char *path)
break;
}
case PIPE_VIDEO_CODEC_VC1: {
- sprintf(path, "/lib/firmware/nouveau/vuc-vc1-%u", profile - PIPE_VIDEO_PROFILE_VC1_SIMPLE);
+ sprintf(path, "/lib/firmware/nouveau/vuc-vc1-0");
break;
}
case PIPE_VIDEO_CODEC_MPEG4_AVC: {