Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298512
b: refs/heads/master
c: d06221c
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Dave Airlie committed Apr 2, 2012
1 parent 5828125 commit 7475a7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea71f98d680c9ac768a7849d26d7ce4744064510
refs/heads/master: d06221c0617ab6d0bc41c4980cefdd9c8cc9a1c1
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ bios_shadow(struct drm_device *dev)
mthd->score = score_vbios(bios, mthd->rw);
mthd->size = bios->length;
mthd->data = bios->data;
bios->data = NULL;
} while (mthd->score != 3 && (++mthd)->shadow);

mthd = shadow_methods;
Expand All @@ -281,7 +282,8 @@ bios_shadow(struct drm_device *dev)
if (mthd->score > best->score) {
kfree(best->data);
best = mthd;
}
} else
kfree(mthd->data);
} while ((++mthd)->shadow);

if (best->score) {
Expand Down

0 comments on commit 7475a7c

Please sign in to comment.