CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2015/04/05 05:53:53
Modified files: sys/dev/pci/drm: drm_crtc.c drm_linux.h files.drm sys/dev/pci/drm/i915: i915_drv.h i915_gem.c i915_gem_execbuffer.c sys/dev/pci/drm/ttm: ttm_bo_vm.c Added files: sys/dev/pci/drm: drm_linux.c Log message: Another round of reducing diffs with Linux. This one moves the various copy_to_user and copy_from_user functions into drm_linux.h and uses them instead of copyin/copyout and DRM_COPY_*. Also move the timespec functions, and put i915_gem_object_is_purgable() where it belongs. Uncovered a bug where the arguments to copyout() were in the wrong order. ok jsg@