projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc4ea5
)
i915: unmap BIOS when we're done with it
author
Jesse Barnes
<jbarnes@hobbes.lan>
Wed, 28 May 2008 15:24:42 +0000
(08:24 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Wed, 28 May 2008 15:24:42 +0000
(08:24 -0700)
At the moment, we only read it at startup time, so we can just unmap it there
when we're done.
linux-core/intel_bios.c
patch
|
blob
|
history
diff --git
a/linux-core/intel_bios.c
b/linux-core/intel_bios.c
index f124fa1a533b1b3df01f36738e9347d6f38f74f1..0cdc915c0a3cfa63d2518865f435067c69b6b0d0 100644
(file)
--- a/
linux-core/intel_bios.c
+++ b/
linux-core/intel_bios.c
@@
-236,5
+236,7
@@
intel_init_bios(struct drm_device *dev)
parse_general_features(dev_priv, bdb);
parse_panel_data(dev_priv, bdb);
+ pci_unmap_rom(pdev, bios);
+
return 0;
}