Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 Don't ifdef out unmappin...



details:   https://anonhg.NetBSD.org/src/rev/3fc552160fc8
branches:  trunk
changeset: 795231:3fc552160fc8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Apr 04 15:16:29 2014 +0000

description:
Don't ifdef out unmapping of the GTT on NetBSD.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_dma.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 2e12a7e9de48 -r 3fc552160fc8 sys/external/bsd/drm2/dist/drm/i915/i915_dma.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c    Fri Apr 04 14:49:40 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c    Fri Apr 04 15:16:29 2014 +0000
@@ -1812,7 +1812,6 @@
        /* Cancel the retire work handler, which should be idle now. */
        cancel_delayed_work_sync(&dev_priv->mm.retire_work);
 
-#ifndef __NetBSD__
        io_mapping_free(dev_priv->mm.gtt_mapping);
        if (dev_priv->mm.gtt_mtrr >= 0) {
                mtrr_del(dev_priv->mm.gtt_mtrr,
@@ -1820,7 +1819,6 @@
                         dev_priv->mm.gtt->gtt_mappable_entries * PAGE_SIZE);
                dev_priv->mm.gtt_mtrr = -1;
        }
-#endif
 
        acpi_video_unregister();
 



Home | Main Index | Thread Index | Old Index