Displaying 5 results from an estimated 5 matches for "ttm_memtype_flag_needs_ioremap".
2011 Jan 23
1
dom0 nouvueau on 2.6.37 invokes OOM killer
hi,
With XEN enabled in mainline kernel 2.6.37 configured for nouveau,
X failed with familiar symptoms. Found drm-tree did not have the
TTM_MEMTYPE_FLAG_NEEDS_IOREMAP or the drm_scatter patches.
Applied these patches (generated from my working 2.6.32.18 xen kernel
with 2.6.35.4 drm-tree backported) to the 2.6.37 mainline kernel.
Now starting X in dom0 invokes the OOM killer!
Bare boot works, as usual.
Any suggestions?
Arvind.
________________________________...
2009 Aug 19
1
[PATCH] drm/nouveau: Add a MM for mappable VRAM that isn't usable as scanout.
...@@ nouveau_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type,
man->available_caching =
man->default_caching = 0;
break;
+ case TTM_PL_PRIV1: /* Mappable but unusable as scanout. */
+ {
+ man->flags = TTM_MEMTYPE_FLAG_FIXED |
+ TTM_MEMTYPE_FLAG_MAPPABLE |
+ TTM_MEMTYPE_FLAG_NEEDS_IOREMAP;
+ man->available_caching = TTM_PL_FLAG_UNCACHED |
+ TTM_PL_FLAG_WC;
+ man->default_caching = TTM_PL_FLAG_WC;
+
+ man->io_addr = NULL;
+ man->io_offset = drm_get_resource_start(dev, 1);
+ man->io_size = drm_get_resource_len(dev, 1);
+ man->gpu_offset = dev_priv->vm_v...
2010 Aug 06
7
[GIT PULL] devel/pat + devel/kms.fixes-0.5
...lso please pull from devel/kms.fixes-05 (based off your xen/dom0/agp)
which has the following patches:
Daniel De Graaf (1):
fb: propagate VM_IO to VMA.
Konrad Rzeszutek Wilk (10):
ttm: When TTM_PAGE_FLAG_DMA32 allocate pages under 4GB under Xen.
ttm: Set VM_IO only on pages with TTM_MEMTYPE_FLAG_NEEDS_IOREMAP set.
agp: Use Xen back-door to get bus address for legacy code.
agp: Program the GART with the real physical address under Xen.
agp: If _GFP_DMA_32 flag is set enforce pages to be under 4GB under Xen.
agp-backend: Use Xen back-door to get bus address for scratch page....
2010 Mar 10
34
[Patch RFC] nouveau accelerated on Xen pv-ops kernel
Hi,
Following is a simple patch that is needed in nouveau to get
accelerated X on a Xen dom0 pv_ops kernel. The kernel is jeremy's
2.6.31.6 as of 20100222. The whole gpu tree of nouveau (which is
almost the mainline merge), was substituted into the kernel-tree.
All components of X (mesa, Xorg-server-7.5, xf86-nouveau, libdrm) used
of the same day.
Patch:
diff -Naur
2010 Mar 10
34
[Patch RFC] nouveau accelerated on Xen pv-ops kernel
Hi,
Following is a simple patch that is needed in nouveau to get
accelerated X on a Xen dom0 pv_ops kernel. The kernel is jeremy's
2.6.31.6 as of 20100222. The whole gpu tree of nouveau (which is
almost the mainline merge), was substituted into the kernel-tree.
All components of X (mesa, Xorg-server-7.5, xf86-nouveau, libdrm) used
of the same day.
Patch:
diff -Naur