diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bo.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 320a14bceb99..aa2dfbc3e351 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c | |||
@@ -311,8 +311,10 @@ nouveau_bo_create_ttm_backend_entry(struct ttm_bo_device *bdev) | |||
311 | struct drm_device *dev = dev_priv->dev; | 311 | struct drm_device *dev = dev_priv->dev; |
312 | 312 | ||
313 | switch (dev_priv->gart_info.type) { | 313 | switch (dev_priv->gart_info.type) { |
314 | #if __OS_HAS_AGP | ||
314 | case NOUVEAU_GART_AGP: | 315 | case NOUVEAU_GART_AGP: |
315 | return ttm_agp_backend_init(bdev, dev->agp->bridge); | 316 | return ttm_agp_backend_init(bdev, dev->agp->bridge); |
317 | #endif | ||
316 | case NOUVEAU_GART_SGDMA: | 318 | case NOUVEAU_GART_SGDMA: |
317 | return nouveau_sgdma_init_ttm(dev); | 319 | return nouveau_sgdma_init_ttm(dev); |
318 | default: | 320 | default: |