Commit 21454fe6 authored by Thierry Reding's avatar Thierry Reding Committed by Ben Skeggs
Browse files

drm/nouveau: gr/gk20a: Use firmware version 0



Tegra firmware doesn't actually use any version numbers and passing -1
causes the existing firmware binaries not to be found. Use version 0 to
find the correct files.

Fixes: ef16dc27 ("drm/nouveau/gr/gf100-: select implementation based on available FW")
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 9b5ca547
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ gk20a_gr_load(struct gf100_gr *gr, int ver, const struct gf100_gr_fwif *fwif)

static const struct gf100_gr_fwif
gk20a_gr_fwif[] = {
	{ -1, gk20a_gr_load, &gk20a_gr },
	{ 0, gk20a_gr_load, &gk20a_gr },
	{}
};