diff options
Diffstat (limited to 'drivers/char/agp/intel-agp.c')
-rw-r--r-- | drivers/char/agp/intel-agp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index aa8889e8afc8..9bc3a0b82b96 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -1140,6 +1140,12 @@ static int intel_i915_configure(void) | |||
1140 | 1140 | ||
1141 | intel_i9xx_setup_flush(); | 1141 | intel_i9xx_setup_flush(); |
1142 | 1142 | ||
1143 | #ifdef USE_PCI_DMA_API | ||
1144 | if (pci_set_dma_mask(intel_private.pcidev, DMA_BIT_MASK(36))) | ||
1145 | dev_err(&intel_private.pcidev->dev, | ||
1146 | "set gfx device dma mask 36bit failed!\n"); | ||
1147 | #endif | ||
1148 | |||
1143 | return 0; | 1149 | return 0; |
1144 | } | 1150 | } |
1145 | 1151 | ||