mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-07 12:18:05 +02:00
nouveau: don't use AGP on PPC. It's a hopeless case.
This commit is contained in:
parent
1b176e7613
commit
5766d81074
1 changed files with 2 additions and 0 deletions
|
|
@ -392,11 +392,13 @@ int nouveau_mem_init(struct drm_device *dev)
|
|||
dev_priv->fb_nomap_heap=NULL;
|
||||
}
|
||||
|
||||
#ifndef __powerpc__
|
||||
/* Init AGP / NV50 PCIEGART */
|
||||
if (drm_device_is_agp(dev) && dev->agp) {
|
||||
if ((ret = nouveau_mem_init_agp(dev)))
|
||||
DRM_ERROR("Error initialising AGP: %d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*Note: this is *not* just NV50 code, but only used on NV50 for now */
|
||||
if (dev_priv->gart_info.type == NOUVEAU_GART_NONE &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue