Bug 11798

Summary: [Radeon Xpress 1100 IGP] DRI fail on recent kernel updates
Product: Drivers Reporter: Gu Rui (chaos.proton)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: CLOSED CODE_FIX    
Severity: normal CC: alexdeucher, rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.27-git9 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 11808    
Attachments: dmesg
X.0.log that works(i.e, DRI disabled)
X log when dri enabled

Description Gu Rui 2008-10-21 04:28:22 UTC
I'm using the xf86-video-ati-6.9.0 driver(not fglrx ones;) and it work fine at least in the 2.6.27-rc* kernel. Under the 2.6.27-git9 kernel, if I enable the DRI in xorg.conf, it will give me totally black screen. Even Ctrl+Alt+F1 doesn't work. It seems that the screen  was totally turned off. I will provide dmesg and X.0.log soon.
Comment 1 Gu Rui 2008-10-21 04:28:57 UTC
Created attachment 18391 [details]
dmesg
Comment 2 Gu Rui 2008-10-21 04:31:37 UTC
Created attachment 18392 [details]
X.0.log that works(i.e, DRI disabled)

This is the X log when DRI is disabled. Could someone tell me how to dump X log in a totally black screen? ;) I wish the dmesg and this X log could do some help.
Comment 3 Diego Calleja 2008-10-21 07:51:09 UTC
You should be able to see previous X logs in /var/log/Xorg.0.log.old or something like that.
Comment 4 Gu Rui 2008-10-21 21:36:18 UTC
Created attachment 18396 [details]
X log when dri enabled
Comment 5 Gu Rui 2008-10-24 20:34:45 UTC
This problem can be fixed by simply revert:
commit	edc6f389f6ae9cb7621270a8ddbb1892bd8df125
"radeon: fix PCI bus mastering support enables."

As Alex is the author of the commit, I add CC to you. Would you please see what is going on here?
Comment 7 Rafael J. Wysocki 2008-10-27 10:29:36 UTC
What exactly do they apply to?
Comment 8 Alex Deucher 2008-10-27 11:10:56 UTC
they are against the upstream drm git tree, but should apply pretty trivially to the kernel as well.
Comment 9 Gu Rui 2008-11-06 21:00:52 UTC
I think the problem get fixed by the commit:

4e270e9b8a9d246290f3901f1fb6c5efdb734ddf
drm/radeon: fixup further bus mastering confusion.

at least it works well on my box ;) So I will close this entry.
Thanks Alex Deucher.