git: drm/linux: Improve ioremap*/iounmap functions

Francois Tigeot ftigeot at crater.dragonflybsd.org
Tue Apr 12 01:55:02 PDT 2016


commit 24409b39a157c9c103a0e5debcf368727f712f34
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Tue Apr 12 10:45:21 2016 +0200

    drm/linux: Improve ioremap*/iounmap functions
    
    * Properly track ioremap allocations
    
    * Set address-space ranges to write back in iounmap() if and only
      if they are backed by regular memory

Summary of changes:
 sys/conf/files                      |  1 +
 sys/dev/drm/drm/Makefile            |  1 +
 sys/dev/drm/i915/intel_ringbuffer.c |  2 +-
 sys/dev/drm/include/asm/io.h        | 33 +++++++++----
 sys/dev/drm/linux_iomapping.c       | 92 +++++++++++++++++++++++++++++++++++++
 sys/dev/drm/radeon/radeon_bios.c    |  6 +--
 sys/dev/drm/radeon/radeon_device.c  |  2 +-
 7 files changed, 124 insertions(+), 13 deletions(-)
 create mode 100644 sys/dev/drm/linux_iomapping.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/24409b39a157c9c103a0e5debcf368727f712f34


-- 
DragonFly BSD source repository



More information about the Commits mailing list