git: drm/linux: u64 is unsigned long long

Francois Tigeot ftigeot at crater.dragonflybsd.org
Mon Feb 20 13:45:38 PST 2017


commit f77dbd6cf5d4851131af043d5fdc50567da4be12
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Mon Feb 20 21:42:19 2017 +0100

    drm/linux: u64 is unsigned long long
    
    * Some basic Linux types were badly defined, causing unnecessary
      differences in various lines of driver code such as kprintf
      statements
    
    * Make u64 and __u64 unsigned long longs like in Linux
    
    * Reduce differences with Linux 4.6 in the generic drm code as well
      as drm/i915 and drm/radeon drivers
    
    * While there, make the include/ directory hierarchy more similar
      to the one in Linux 4.6

Summary of changes:
 sys/dev/agp/agp_i810.c                             |   4 +-
 sys/dev/drm/drm_crtc.c                             |   4 +-
 sys/dev/drm/drm_mm.c                               | 157 ++++++++++-----------
 sys/dev/drm/i915/i915_drv.h                        |   4 +-
 sys/dev/drm/i915/i915_gem.c                        |   4 +-
 sys/dev/drm/i915/i915_gem_fence.c                  |   4 +-
 sys/dev/drm/i915/i915_gem_gtt.c                    |  13 +-
 sys/dev/drm/i915/i915_irq.c                        |   2 +-
 sys/dev/drm/i915/intel_ddi.c                       |   4 +-
 sys/dev/drm/i915/intel_display.c                   |   4 +-
 sys/dev/drm/i915/intel_fbc.c                       |   2 +-
 sys/dev/drm/i915/intel_fbdev.c                     |   2 +-
 sys/dev/drm/include/asm/int-ll64.h                 |  24 +++-
 sys/dev/drm/include/asm/types.h                    |  46 +-----
 sys/dev/drm/include/drm/drm_mm.h                   | 106 ++++++--------
 sys/dev/drm/include/drm/intel-gtt.h                |   4 +-
 sys/dev/drm/include/linux/math64.h                 |   6 +-
 .../include/{asm/pgtable.h => linux/posix_types.h} |  12 +-
 sys/dev/drm/include/linux/types.h                  |  27 +---
 .../{acpi/video.h => uapi_asm-generic/int-ll64.h}  |  27 ++--
 .../include/{acpi/video.h => uapi_linux/types.h}   |  22 ++-
 sys/dev/drm/radeon/atombios_crtc.c                 |   4 +-
 sys/dev/drm/radeon/evergreen_cs.c                  |  60 ++++----
 sys/dev/drm/radeon/r600.c                          |   4 +-
 sys/dev/drm/radeon/r600_cs.c                       |  44 +++---
 sys/dev/drm/radeon/radeon.h                        |  12 +-
 sys/dev/drm/radeon/radeon_benchmark.c              |   4 +-
 sys/dev/drm/radeon/radeon_cursor.c                 |   2 +-
 sys/dev/drm/radeon/radeon_device.c                 |  10 +-
 sys/dev/drm/radeon/radeon_display.c                |   2 +-
 sys/dev/drm/radeon/radeon_fence.c                  |   8 +-
 sys/dev/drm/radeon/radeon_gart.c                   |   2 +-
 sys/dev/drm/radeon/radeon_gem.c                    |   2 +-
 sys/dev/drm/radeon/radeon_legacy_crtc.c            |   2 +-
 sys/dev/drm/radeon/radeon_object.c                 |   4 +-
 sys/dev/drm/radeon/radeon_ring.c                   |   2 +-
 sys/dev/drm/radeon/radeon_test.c                   |   4 +-
 sys/dev/drm/radeon/rv770.c                         |   2 +-
 38 files changed, 288 insertions(+), 358 deletions(-)
 copy sys/dev/drm/include/{asm/pgtable.h => linux/posix_types.h} (88%)
 copy sys/dev/drm/include/{acpi/video.h => uapi_asm-generic/int-ll64.h} (79%)
 copy sys/dev/drm/include/{acpi/video.h => uapi_linux/types.h} (85%)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list