search for: nouveau_bo_kmap

Displaying 2 results from an estimated 2 matches for "nouveau_bo_kmap".

2009 Dec 24
1
[PATCH] nouveau: when nouveau_bo_map fails you expect it to not be mapped
...; if (ret) - return ret; + goto out; } if (!nouveau_bo_allocated(nvbo)) { ret = nouveau_bo_ualloc(nvbo); if (ret) - return ret; + goto out; } } @@ -439,19 +445,22 @@ nouveau_bo_map_range(struct nouveau_bo *bo, uint32_t delta, uint32_t size, } else { ret = nouveau_bo_kmap(nvbo); if (ret) - return ret; + goto out; if (!(flags & NOUVEAU_BO_NOSYNC)) { ret = nouveau_bo_wait(bo, (flags & NOUVEAU_BO_WR), (flags & NOUVEAU_BO_NOWAIT), 0); if (ret) - return ret; + goto out; } bo->map = (char *)nvbo->map + delta;...
2010 Jun 14
0
NV30 (FX 5200 Ultra) OUT_RINGp and initial four GEM objects are mapped to the GART instead of System RAM - is that proper?
...ch fills the PRAMIN with four entries: the first having a dma adjust of zero, the second with the size-1, then third and fourth with frame ec000000. The target bit is set for AGP. b) Then we map the chan->pushbuf_bo: ret = nouveau_bo_map(chan->pushbuf_bo); The nouveau_bo_kmap calls ttm_bo_kmap which checks the ttm_bo_pci_offset which looks at the 'struct ttm_mem_type_manager' pool for this pool (which is the TT) and calls 'ttm_mem_reg_is_pci' to confirm whether this is a PCI memory or System RAM. Well, the logic here determines that this i...