git: drm: Define struct page and use it everywhere

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Jun 9 09:25:01 PDT 2018


commit f0bba3d1dd5ba7adfae61269b5424d4ad443ab97
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Jun 9 18:18:33 2018 +0200

    drm: Define struct page and use it everywhere
    
    * Removing countless differences with Linux
    
    * struct page is essentially struct vm_page named differently.
      Both can be casted to the other one without further thought.

Summary of changes:
 sys/dev/drm/drm_cache.c                            |  8 +--
 sys/dev/drm/i915/i915_cmd_parser.c                 |  2 +-
 sys/dev/drm/i915/i915_drv.h                        |  4 +-
 sys/dev/drm/i915/i915_gem.c                        | 36 ++++++-------
 sys/dev/drm/i915/i915_gem_fence.c                  |  4 +-
 sys/dev/drm/i915/i915_gem_gtt.h                    |  2 +-
 sys/dev/drm/i915/i915_gem_render_state.c           |  2 +-
 sys/dev/drm/i915/i915_guc_submission.c             |  2 +-
 sys/dev/drm/i915/intel_lrc.c                       |  2 +-
 sys/dev/drm/i915/intel_ringbuffer.c                |  2 +-
 sys/dev/drm/include/asm/cacheflush.h               | 14 +++--
 sys/dev/drm/include/asm/memory_model.h             | 11 +++-
 sys/dev/drm/include/asm/page.h                     | 12 ++++-
 sys/dev/drm/include/asm/pgtable.h                  |  4 +-
 sys/dev/drm/include/drm/drmP.h                     |  2 +-
 sys/dev/drm/include/drm/ttm/ttm_bo_api.h           |  2 +-
 sys/dev/drm/include/drm/ttm/ttm_bo_driver.h        | 14 ++---
 sys/dev/drm/include/drm/ttm/ttm_memory.h           |  6 +--
 sys/dev/drm/include/linux/dma-mapping.h            |  7 +--
 sys/dev/drm/include/linux/gfp.h                    | 14 +++--
 sys/dev/drm/include/linux/highmem.h                | 16 +++---
 sys/dev/drm/include/linux/mm.h                     | 10 ++--
 sys/dev/drm/include/linux/mm_types.h               |  4 +-
 sys/dev/drm/include/linux/{pid.h => mmdebug.h}     | 14 +++--
 sys/dev/drm/include/linux/{mm_types.h => mmzone.h} | 23 +++++----
 sys/dev/drm/include/linux/scatterlist.h            |  8 +--
 sys/dev/drm/include/linux/shmem_fs.h               |  3 +-
 sys/dev/drm/include/linux/swap.h                   | 15 ++++--
 sys/dev/drm/include/linux/vmalloc.h                |  2 +-
 sys/dev/drm/linux_scatterlist.c                    |  4 +-
 sys/dev/drm/linux_shmem.c                          |  4 +-
 sys/dev/drm/linux_vmalloc.c                        |  6 +--
 sys/dev/drm/radeon/radeon.h                        |  4 +-
 sys/dev/drm/radeon/radeon_gart.c                   |  2 +-
 sys/dev/drm/radeon/radeon_ttm.c                    |  4 +-
 sys/dev/drm/ttm/ttm_bo.c                           |  6 +--
 sys/dev/drm/ttm/ttm_bo_util.c                      | 14 ++---
 sys/dev/drm/ttm/ttm_bo_vm.c                        |  2 +-
 sys/dev/drm/ttm/ttm_memory.c                       |  4 +-
 sys/dev/drm/ttm/ttm_page_alloc.c                   | 59 ++++++++++++----------
 sys/dev/drm/ttm/ttm_tt.c                           | 16 +++---
 41 files changed, 204 insertions(+), 166 deletions(-)
 copy sys/dev/drm/include/linux/{pid.h => mmdebug.h} (90%)
 copy sys/dev/drm/include/linux/{mm_types.h => mmzone.h} (84%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f0bba3d1dd5ba7adfae61269b5424d4ad443ab97


-- 
DragonFly BSD source repository



More information about the Commits mailing list