Skip to contentSkip to conversation

AGP problem SiS 746FX Linux 2.6.5-rc3

DISCUSSION Hemmann, Volker Armin 2 participants 3 messages Apr 1, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

in 2.6.5-rc3 was incorporated a fix for SiS648 chipsets that need a little time to get into a sane state again, after switching to AGP 8x. The 746FX has the same timing problem and needs this 'pause', too. Unfortunatly in sis-apg.c this fix is only checked against the 648, not the 746, so the fix never gets invoked:

    		if(device->device == PCI_DEVICE_ID_SI_648) {
			// weird: on 648 and 648fx chipsets any rate change in the target command 
register
			// triggers a 5ms screwup during which the master cannot be configured
			printk(KERN_INFO PFX "sis 648 agp fix - giving bridge time to recover\n");
			set_current_state(TASK_UNINTERRUPTIBLE);
			schedule_timeout (1+(HZ*10)/1000);

Glück Auf,
Volker

Signature · 4 lines
Conclusions 
 In a straight-up fight, the Empire squashes the Federation like a bug. Even 
with its numerical advantage removed, the Empire would still squash the 
Federation like a bug. Accept it. -Michael Wong 
#1 lore raw
Quoted 7 lines · Volker Armin

Hi,

in 2.6.5-rc3 was incorporated a fix for SiS648 chipsets that need a little time to get into a sane state again, after switching to AGP 8x. The 746FX has the same timing problem and needs this 'pause', too. Unfortunatly in sis-apg.c this fix is only checked against the 648, not the 746, so the fix never gets invoked:

Ah, yes. I actually had that in mind when I merged this code, but it must've got paged out 8-)

Can you send lspci -n output please?

Dave

#2 lore raw

Hi,

Quoted 9 lines · Dave Jones
Quoted 7 lines · Volker Armin

Hi,

in 2.6.5-rc3 was incorporated a fix for SiS648 chipsets that need a little time to get into a sane state again, after switching to AGP 8x. The 746FX has the same timing problem and needs this 'pause', too. Unfortunatly in sis-apg.c this fix is only checked against the 648, not the 746, so the fix never gets invoked:

Quoted 6 lines

Ah, yes. I actually had that in mind when I merged this code, but it must've got paged out 8-)

Can you send lspci -n output please?

Dave

here it is:
energy root # lspci -n
0000:00:00.0 Class 0600: 1039:0746 (rev 02) 0000:00:01.0 Class 0604: 1039:0002 0000:00:02.0 Class 0601: 1039:0963 (rev 25) 0000:00:02.1 Class 0c05: 1039:0016 0000:00:02.5 Class 0101: 1039:5513 0000:00:03.0 Class 0c03: 1039:7001 (rev 0f) 0000:00:03.1 Class 0c03: 1039:7001 (rev 0f) 0000:00:03.2 Class 0c03: 1039:7002 0000:00:04.0 Class 0200: 1039:0900 (rev 90) 0000:00:0b.0 Class 0400: 109e:0350 (rev 12) 0000:00:0d.0 Class 0401: 13f6:0111 (rev 10) 0000:01:00.0 Class 0300: 10de:0322 (rev a1)

Glück Auf,
Volker

Signature · 4 lines
Conclusions 
 In a straight-up fight, the Empire squashes the Federation like a bug. Even 
with its numerical advantage removed, the Empire would still squash the 
Federation like a bug. Accept it. -Michael Wong