search for: pfb714

Displaying 1 result from an estimated 1 matches for "pfb714".

Did you mean: lfb74
2012 Feb 03
3
[PATCH 1/4] nouveau: Allow allocating BOs at specific offsets
...t(struct drm_device *dev) { struct drm_nouveau_private *dev_priv = dev->dev_private; struct nouveau_vram_engine *vram = &dev_priv->engine.vram; - const u32 rsvd_head = ( 256 * 1024) >> 12; /* vga memory */ const u32 rsvd_tail = (1024 * 1024) >> 12; /* vbios etc */ u32 pfb714 = nv_rd32(dev, 0x100714); + u32 rsvd_head; u32 rblock, length; switch (pfb714 & 0x00000007) { @@ -207,6 +211,11 @@ nv50_vram_init(struct drm_device *dev) break; } + if (efi_enabled) + rsvd_head = 0; + else + rsvd_head = ( 256 * 1024) >> 12; /* vga memory */ + dev_priv-&gt...