[BUG-REPORT] [PREEMPT_RT] Build break with DRM_I915 and HAVE_ATOMIC_IOMAP

From: John Kacur
Date: Wed Mar 17 2010 - 10:08:23 EST


This is a compile failure on 2.6.33.1-rt9 on x86

ERROR: "iounmap_atomic" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "iomap_atomic_prot_pfn" [drivers/gpu/drm/i915/i915.ko] undefined!

Analysis:

i915_drv.c and i915_gem.c include i915_drv.h which includes io_mapping.h
file: io_mapping.h
has function io_mapping_map_atomic_wc which calls iomap_atomic_prot_pfn
has function io_mapping_unmap_atomic which calls iounmap_atomic

These functions are defined in iomap_32.c but not ifdef PREEMPT_RT
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/