forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/airlied/drm-2.6 * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (27 commits) gpu/stub: fix acpi_video build error, fix stub kconfig dependencies drm/radeon/kms: dynamically allocate power state space drm/radeon/kms: fix s/r issues with bios scratch regs agp: ensure GART has an address before enabling it Revert "agp: AMD AGP is used on UP1100 & UP1500 alpha boxen" amd-k7-agp: remove non-x86 code drm/radeon/kms/evergreen: always set certain VGT regs at CP init drm/radeon/kms: add updated ib_execute function for evergreen drm/radeon: remove 0x4243 pci id drm/radeon/kms: Enable new pll calculation for avivo+ asics drm/radeon/kms: add new pll algo for avivo asics drm/radeon/kms: add pll debugging output drm/radeon/kms: switch back to min->max pll post divider iteration drm/radeon/kms: rv6xx+ thermal sensor fixes drm/nv50: fix display on 0x50 drm/nouveau: correctly pair hwmon_init and hwmon_fini drm/i915: Only bind to function 0 of the PCI device drm/i915: Suppress spurious vblank interrupts drm: Avoid leak of adjusted mode along quick set_mode paths drm: Simplify and defend later checks when disabling a crtc ...
- Loading branch information
Showing
32 changed files
with
400 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -773,21 +773,15 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev, | |
|
||
dev_info(&pdev->dev, "Intel %s Chipset\n", intel_agp_chipsets[i].name); | ||
|
||
/* | ||
* If the device has not been properly setup, the following will catch | ||
* the problem and should stop the system from crashing. | ||
* 20030610 - [email protected] | ||
*/ | ||
if (pci_enable_device(pdev)) { | ||
dev_err(&pdev->dev, "can't enable PCI device\n"); | ||
agp_put_bridge(bridge); | ||
return -ENODEV; | ||
} | ||
|
||
/* | ||
* The following fixes the case where the BIOS has "forgotten" to | ||
* provide an address range for the GART. | ||
* 20030610 - [email protected] | ||
* This happens before pci_enable_device() intentionally; | ||
* calling pci_enable_device() before assigning the resource | ||
* will result in the GART being disabled on machines with such | ||
* BIOSs (the GART ends up with a BAR starting at 0, which | ||
* conflicts a lot of other devices). | ||
*/ | ||
r = &pdev->resource[0]; | ||
if (!r->start && r->end) { | ||
|
@@ -798,6 +792,17 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev, | |
} | ||
} | ||
|
||
/* | ||
* If the device has not been properly setup, the following will catch | ||
* the problem and should stop the system from crashing. | ||
* 20030610 - [email protected] | ||
*/ | ||
if (pci_enable_device(pdev)) { | ||
dev_err(&pdev->dev, "can't enable PCI device\n"); | ||
agp_put_bridge(bridge); | ||
return -ENODEV; | ||
} | ||
|
||
/* Fill in the mode register */ | ||
if (cap_ptr) { | ||
pci_read_config_dword(pdev, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.