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

From: John Kacur <jkacur@redhat.com>
Date: 2010-03-17 14:08:08
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help