CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2015/04/07 20:28:14
Modified files: sys/dev/pci/drm: drm_linux.c drm_linux.h sys/dev/pci/drm/i915: i915_gem.c i915_gem_tiling.c sys/dev/pci/drm/ttm: ttm_bo_driver.h ttm_bo_util.c Log message: ttm has it's own version of kmap/kunmap that uses kernel_map/uvm_km_valloc and i915 has a version that uses phys_map/uvm_km_valloc_wait as calling code assumes kmap would sleep if no memory is available. Move these and ttm's vmap/vunmap into the linux compat files and make them all use phys_map/uvm_km_valloc_wait. looks good kettenis@