Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b41c82eb authored by Dave Jones's avatar Dave Jones
Browse files

[AGPGART] Add some informational printk to nforce GART failure path.



Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent cf5e4022
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -516,8 +516,10 @@ static int __devinit nforce3_agp_init(struct pci_dev *pdev)
	pci_read_config_dword (hammers[0], AMD64_GARTAPERTUREBASE, &apbase);

	/* if x86-64 aperture base is beyond 4G, exit here */
	if ( (apbase & 0x7fff) >> (32 - 25) )
	if ( (apbase & 0x7fff) >> (32 - 25) ) {
		printk(KERN_INFO PFX "aperture base > 4G\n");
		return -ENODEV;
	}

	apbase = (apbase & 0x7fff) << 25;