Mesa (master): nvc0: force use of correct firmware file

Maarten Lankhorst mlankhorst at kemper.freedesktop.org
Sun Jul 28 10:07:16 UTC 2013


Module: Mesa
Branch: master
Commit: e847b5ae066bf9a209dad482fcc664f944983633
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e847b5ae066bf9a209dad482fcc664f944983633

Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date:   Sun Jul 28 12:06:57 2013 +0200

nvc0: force use of correct firmware file

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>

---

 src/gallium/drivers/nvc0/nvc0_video.c |    2 +-
 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 ad40b94..7cc086a 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: {




More information about the mesa-commit mailing list