Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm/i915 i915_gem_cleanu...
details: https://anonhg.NetBSD.org/src/rev/78df951040e5
branches: riastradh-drm2
changeset: 788559:78df951040e5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Sep 08 16:20:45 2013 +0000
description:
i915_gem_cleanup_stolen need not take down mm.stolen after all.
The one caller, i915_driver_unload, already takes care of this.
Having i915_gem_cleanup_stolen do it is obviously the right thing,
but this state of affairs reduces diffs to upstream.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diffs (15 lines):
diff -r 362e4bb2436c -r 78df951040e5 sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c Sun Sep 08 16:19:15 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c Sun Sep 08 16:20:45 2013 +0000
@@ -171,11 +171,8 @@
void i915_gem_cleanup_stolen(struct drm_device *dev)
{
- struct drm_i915_private *dev_priv = dev->dev_private;
-
if (I915_HAS_FBC(dev) && i915_powersave)
i915_cleanup_compression(dev);
- drm_mm_takedown(&dev_priv->mm.stolen);
}
int i915_gem_init_stolen(struct drm_device *dev)
Home |
Main Index |
Thread Index |
Old Index