DragonFlyBSD/src d653c72sys/dev/drm drm_bufs.c, sys/dev/drm/i915 i915_gem_gtt.c i915_gem_execbuffer.c

drm: Fix Linux/DragonFly PAGE_MASK confusion

* Both Linux and the DragonFly kernel use a PAGE_MASK constant,
  which is unfortunately defined differently in each one

* Define a LINUX_PAGE_MASK macro and use it when applicable in the
  drm code to fix this confusion

* One or two drm/radeon bugs were possibly caught during the process

* This commit based on a patch by tuxillo

Spotted-by: tuxillo
Fixes: https://bugs.dragonflybsd.org/issues/3171
DeltaFile
+2-4sys/dev/drm/i915/i915_gem_gtt.c
+2-2sys/dev/drm/i915/i915_gem_execbuffer.c
+3-1sys/dev/drm/include/asm/page.h
+3-0sys/dev/drm/i915/i915_gem_gtt.h
+1-1sys/dev/drm/drm_bufs.c
+1-1sys/dev/drm/radeon/radeon_vm.c
+1-1sys/dev/drm/i915/i915_gem.c
+1-1sys/dev/drm/i915/i915_gpu_error.c
+1-1sys/dev/drm/radeon/radeon_ttm.c
+15-129 files

UnifiedSplitRaw