Bug 14963

Summary: no connectors detected when KMS is enabled on r100
Product: Drivers Reporter: farbing
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.33-rc2 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg with KMS enabled
fallback to default tables if no bios connector tables
working dmesg using patched 2.6.33-rc2

Description farbing 2009-12-30 15:05:28 UTC
Created attachment 24378 [details]
dmesg with KMS enabled

Booting with KMS enabled results in the VGA connector not being detected. It works fine if I disable KMS or use radeonfb:

[    0.336653] radeonfb: Found Intel x86 BIOS ROM Image                                                                     
[    0.336697] radeonfb: Retrieved PLL infos from BIOS                                                                      
[    0.336740] radeonfb: Reference=27.00 MHz (RefDiv=60) Memory=183.00 Mhz, System=183.00 MHz                               
[    0.336792] radeonfb: PLL min 12000 max 35000                                                                            
[    0.337063] radeonfb: No connector info table detected                                                                   
[    0.469522] i2c i2c-1: unable to read EDID block.                                                                        
[    0.689500] i2c i2c-1: unable to read EDID block.                                                                        
[    0.909486] i2c i2c-1: unable to read EDID block.                                                                        
[    1.230009] radeonfb: Monitor 1 type CRT found                                                                           
[    1.230051] radeonfb: EDID probed                                                                                        
[    1.269614] Console: switching to colour frame buffer device 128x48                                                      
[    1.278977] radeonfb (0000:02:00.0): ATI Radeon 5144 "QD"

X.Org detects the card as:

(--) PCI:*(0:2:0:0) 1002:5144:1002:001a ATI Technologies Inc Radeon R100 QD [Radeon 7200] rev 0, Mem @ 0xd0000000/134217728, 0xdd000000/524288, I/O @ 0x0000c000/256, BIOS @ 0x????????/131072
Comment 1 Alex Deucher 2010-01-05 00:18:00 UTC
Created attachment 24434 [details]
fallback to default tables if no bios connector tables

Does this patch help?
Comment 2 farbing 2010-01-05 07:35:48 UTC
(In reply to comment #1)
> Created an attachment (id=24434) [details]
> fallback to default tables if no bios connector tables
> 
> Does this patch help?

Yes, it works now, thanks
Comment 3 farbing 2010-01-05 07:38:49 UTC
Created attachment 24439 [details]
working dmesg using patched 2.6.33-rc2

It also works with 2.6.32.2 using your patch.
Comment 4 farbing 2010-12-05 07:09:40 UTC
Fixed by commit b9597a1c6fa6cbc938f14ab6a7fe09047b3a346b (drm/radeon/kms: fallback to default connector table)