Bug 40922 - Radeon page-flipping uses mutex in inappropriate context
Summary: Radeon page-flipping uses mutex in inappropriate context
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: i386 Linux
: P1 normal
Assignee: drivers_video-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 23:05 UTC by Chris Rankin
Modified: 2016-03-23 19:00 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.0.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Full dmesg output from 3.0.1 (52.45 KB, text/plain)
2011-08-10 23:06 UTC, Chris Rankin
Details
Xorg.0.log file (336.21 KB, text/plain)
2011-08-10 23:08 UTC, Chris Rankin
Details

Description Chris Rankin 2011-08-10 23:05:17 UTC
Lenovo T60p laptop with built-in M66GL chip. This error was logged when starting World of Warcraft:

[drm:radeon_crtc_page_flip] *ERROR* failed to reserve new rbo buffer before flip
BUG: sleeping function called from invalid context at kernel/mutex.c:85
in_atomic(): 1, irqs_disabled(): 1, pid: 2872, name: Xorg
Pid: 2872, comm: Xorg Not tainted 3.0.1 #1
Call Trace:
 [<c123d243>] ? mutex_lock+0x14/0x26
 [<f8594d4d>] ? radeon_crtc_page_flip+0x4a9/0x500 [radeon]
 [<c109b442>] ? kmem_cache_alloc+0x2f/0xad
 [<f845a771>] ? drm_mode_page_flip_ioctl+0x13f/0x17c [drm]
 [<f845094d>] ? drm_ioctl+0x234/0x2d4 [drm]
 [<f845a632>] ? drm_mode_gamma_get_ioctl+0xa5/0xa5 [drm]
 [<c1061911>] ? audit_syscall_exit+0x2cc/0x2e4
 [<c1009c06>] ? syscall_trace_leave+0x29/0xcb
 [<f8450719>] ? drm_version+0x84/0x84 [drm]
 [<c10b262d>] ? do_vfs_ioctl+0x4ec/0x525
 [<f8450cb3>] ? drm_read+0x122/0x13d [drm]
 [<c10a69d0>] ? vfs_read+0xde/0xe8
 [<c10b2693>] ? sys_ioctl+0x2d/0x46
 [<c123e90c>] ? sysenter_do_call+0x12/0x22
[drm:radeon_crtc_page_flip] *ERROR* failed to reserve new rbo buffer before flip
[drm:radeon_crtc_page_flip] *ERROR* failed to reserve new rbo buffer before flip

The "failed to reserve new rbo buffer before flip" errors are not new; I have been seeing those for a while but they didn't appear to be causing problems.
Comment 1 Chris Rankin 2011-08-10 23:06:02 UTC
Created attachment 68462 [details]
Full dmesg output from 3.0.1
Comment 2 Chris Rankin 2011-08-10 23:08:42 UTC
Created attachment 68472 [details]
Xorg.0.log file

This is using the very latest xorg driver from git.
Comment 3 xerofoify 2014-06-25 16:04:56 UTC
Please test against a newer kernel to see if this is fixed.
Cheers Nick

Note You need to log in before you can comment on or make changes to this bug.