mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 02:20:29 +01:00
nouveau: missed PCI case
This commit is contained in:
parent
f5599a7a3c
commit
8f67f98959
1 changed files with 2 additions and 1 deletions
|
|
@ -310,7 +310,8 @@ nouveau_bo_set_status(struct nouveau_bo *bo, uint32_t flags)
|
|||
/* Check current memtype vs requested, if they match do nothing */
|
||||
if ((nvbo->drm.flags & NOUVEAU_MEM_FB) && (flags & NOUVEAU_BO_VRAM))
|
||||
return 0;
|
||||
if ((nvbo->drm.flags & NOUVEAU_MEM_AGP) && (flags & NOUVEAU_BO_GART))
|
||||
if ((nvbo->drm.flags & (NOUVEAU_MEM_AGP | NOUVEAU_MEM_PCI)) &&
|
||||
(flags & NOUVEAU_BO_GART))
|
||||
return 0;
|
||||
if (nvbo->drm.size == 0 && nvbo->sysmem && (flags & NOUVEAU_BO_LOCAL))
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue