[radeon BUG] Sleeping function called from invalid context
Submitted by ebi..@..il.com
Assigned to Default DRI bug account
Created attachment 72816
dmesg output showing 2 instances of radeon BUG during resume
I am running linux-3.8-rc3 on AMD64 with various debugging options enabled, including CONFIG_DEBUG_SLAB. When resuming the system from suspend-to-memory, I run into a warning and stacktrace regarding kmem_cache_alloc() being called from an invalid context in ttm_bo_move_accel_cleanup(). dmesg output attached. Marked as minor because suspend still works properly (at least the times I've tried it).
Based on the source code and object file it appears that the memory allocation is actually the kzalloc() at the beginning of ttm_buffer_object_transfer().
Graphics card is:
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]
Attachment 72816, "dmesg output showing 2 instances of radeon BUG during resume":