git: drm/i915/gem: Switch to the Linux scatterlist API

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Apr 23 12:58:32 PDT 2016


commit 7ec9f8e589bca0ae09d3770992c0dc94262468d5
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Apr 23 21:14:27 2016 +0200

    drm/i915/gem: Switch to the Linux scatterlist API
    
    * We were previously using regular arrays of pointers to vm pages
    
    * This change tremendously reduces differences with the Linux code
      and will make future evolutions of this driver easier to implement
    
    * Remove some unused i915 agp functions while I'm here

Summary of changes:
 sys/dev/agp/agp_i810.c                   | 152 +++++++------------------------
 sys/dev/drm/i915/i915_cmd_parser.c       |   8 +-
 sys/dev/drm/i915/i915_drv.h              |  34 ++++++-
 sys/dev/drm/i915/i915_gem.c              | 152 +++++++++++++++++--------------
 sys/dev/drm/i915/i915_gem_gtt.c          | 138 ++++++++++++----------------
 sys/dev/drm/i915/i915_gem_gtt.h          |   5 +-
 sys/dev/drm/i915/i915_gem_render_state.c |   2 +-
 sys/dev/drm/i915/i915_gem_tiling.c       |  17 ++--
 sys/dev/drm/i915/intel_lrc.c             |   4 +-
 sys/dev/drm/i915/intel_ringbuffer.c      |   8 +-
 sys/dev/drm/include/drm/intel-gtt.h      |  19 ++--
 sys/dev/drm/include/linux/scatterlist.h  |   9 +-
 12 files changed, 244 insertions(+), 304 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ec9f8e589bca0ae09d3770992c0dc94262468d5


-- 
DragonFly BSD source repository



More information about the Commits mailing list