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 Fix typo in int...



details:   https://anonhg.NetBSD.org/src/rev/84e585db1427
branches:  riastradh-drm2
changeset: 788419:84e585db1427
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 03:43:10 2013 +0000

description:
Fix typo in intel_ringbuffer: drm_iounmap takes dev_priv->dev, not dev.

diffstat:

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

diffs (12 lines):

diff -r 04ec4b479058 -r 84e585db1427 sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c    Wed Jul 24 03:42:54 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c    Wed Jul 24 03:43:10 2013 +0000
@@ -1260,7 +1260,7 @@
        I915_WRITE_CTL(ring, 0);
 
 #ifdef __NetBSD__
-       drm_iounmap(dev, &ring->virtual_start_map);
+       drm_iounmap(dev_priv->dev, &ring->virtual_start_map);
        ring->virtual_start_mapped = false;
 #else
        iounmap(ring->virtual_start);



Home | Main Index | Thread Index | Old Index