mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-01 17:40:17 +01:00
nouveau: fix notifiers on PPC.
This commit is contained in:
parent
74c6f2f47a
commit
dc60c452e6
1 changed files with 4 additions and 1 deletions
|
|
@ -37,9 +37,12 @@ nouveau_notifier_init_channel(struct nouveau_channel *chan)
|
|||
int flags, ret;
|
||||
|
||||
/*TODO: PCI notifier blocks */
|
||||
#if defined(__powerpc__)
|
||||
if (dev_priv->agp_heap)
|
||||
flags = NOUVEAU_MEM_AGP;
|
||||
else if (dev_priv->pci_heap)
|
||||
else
|
||||
#endif
|
||||
if (dev_priv->pci_heap)
|
||||
flags = NOUVEAU_MEM_PCI;
|
||||
else
|
||||
flags = NOUVEAU_MEM_FB;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue