diff options
Diffstat (limited to 'drivers/gpu/drm/i810/i810_dma.c')
-rw-r--r-- | drivers/gpu/drm/i810/i810_dma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i810/i810_dma.c b/drivers/gpu/drm/i810/i810_dma.c index 249fdff305c6..aeace37415aa 100644 --- a/drivers/gpu/drm/i810/i810_dma.c +++ b/drivers/gpu/drm/i810/i810_dma.c | |||
@@ -1193,6 +1193,10 @@ static int i810_flip_bufs(struct drm_device *dev, void *data, | |||
1193 | 1193 | ||
1194 | int i810_driver_load(struct drm_device *dev, unsigned long flags) | 1194 | int i810_driver_load(struct drm_device *dev, unsigned long flags) |
1195 | { | 1195 | { |
1196 | /* Our userspace depends upon the agp mapping support. */ | ||
1197 | if (!dev->agp) | ||
1198 | return -EINVAL; | ||
1199 | |||
1196 | pci_set_master(dev->pdev); | 1200 | pci_set_master(dev->pdev); |
1197 | 1201 | ||
1198 | return 0; | 1202 | return 0; |