nvc0: force use of correct firmware file
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Sun, 28 Jul 2013 10:06:57 +0000 (12:06 +0200)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Sun, 28 Jul 2013 10:06:57 +0000 (12:06 +0200)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
src/gallium/drivers/nvc0/nvc0_video.c

index ad40b9456f62b208db880671a7f8d05127f9a29a..7cc086a0e8c0fb973fe34f6f49cd779faf10aea9 100644 (file)
@@ -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: {