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-core-next' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/airlied/drm-2.6 * 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (204 commits) agp: intel-agp: do not use PCI resources before pci_enable_device() agp: efficeon-agp: do not use PCI resources before pci_enable_device() drm: kill BKL from common code drm/kms: Simplify setup of the initial I2C encoder config. drm,io-mapping: Specify slot to use for atomic mappings drm/radeon/kms: only expose underscan on avivo chips drm/radeon: add new pci ids drm: Cleanup after failing to create master->unique and dev->name drm/radeon: tone down overchatty acpi debug messages. drm/radeon/kms: enable underscan option for digital connectors drm/radeon/kms: fix calculation of h/v scaling factors drm/radeon/kms/igp: sideport is AMD only drm/radeon/kms: handle the case of no active displays properly in the bandwidth code drm: move ttm global code to core drm drm/i915: Clear the Ironlake dithering flags when the pipe doesn't want it. drm/radeon/kms: make sure HPD is set to NONE on analog-only connectors drm/radeon/kms: make sure rio_mem is valid before unmapping it drm/agp/i915: trim stolen space to 32M drm/i915: Unset cursor if out-of-bounds upon mode change (v4) drm/i915: Unreference object not handle on creation ...
- Loading branch information
Showing
204 changed files
with
6,990 additions
and
4,990 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -371,6 +371,17 @@ static int __devinit agp_efficeon_probe(struct pci_dev *pdev, | |
bridge->dev = pdev; | ||
bridge->capndx = cap_ptr; | ||
|
||
/* | ||
* 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)) { | ||
printk(KERN_ERR PFX "Unable to 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. | ||
|
@@ -385,17 +396,6 @@ static int __devinit agp_efficeon_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)) { | ||
printk(KERN_ERR PFX "Unable to 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -816,9 +816,9 @@ static const struct intel_driver_description { | |
{ PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB, PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG, | ||
"HD Graphics", NULL, &intel_i965_driver }, | ||
{ PCI_DEVICE_ID_INTEL_SANDYBRIDGE_HB, PCI_DEVICE_ID_INTEL_SANDYBRIDGE_IG, | ||
"Sandybridge", NULL, &intel_i965_driver }, | ||
"Sandybridge", NULL, &intel_gen6_driver }, | ||
{ PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB, PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_IG, | ||
"Sandybridge", NULL, &intel_i965_driver }, | ||
"Sandybridge", NULL, &intel_gen6_driver }, | ||
{ 0, 0, NULL, NULL, NULL } | ||
}; | ||
|
||
|
@@ -907,6 +907,17 @@ 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. | ||
|
@@ -921,17 +932,6 @@ 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
Oops, something went wrong.