Displaying 3 results from an estimated 3 matches for "nouveau_bo_create_ttm_backend_entry".
2009 Dec 11
1
[Bug 25589] New: compiling nouveau kernel without AGP=y fails
...QAContact: xorg-team at lists.x.org
Check out a nouveau kernel tree.
make allnoconfig
make *config and enable only the necessary things to enable DRM_NOUVEAU
make all
This will fail with:
CC drivers/gpu/drm/nouveau/nouveau_bo.o
drivers/gpu/drm/nouveau/nouveau_bo.c: In function
'nouveau_bo_create_ttm_backend_entry':
drivers/gpu/drm/nouveau/nouveau_bo.c:315: error: implicit declaration of
function 'ttm_agp_backend_init'
drivers/gpu/drm/nouveau/nouveau_bo.c:315: warning: return makes pointer from
integer without a cast
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_bo.o] Error 1
To make ttm_agp_ba...
2009 Aug 04
5
[PATCH 1/6] drm/nouveau: bo read/write wrappers for nv04_crtc.c
..._bo_wr32(struct nouveau_bo *nvbo, unsigned index, u32 val)
+{
+ bool is_iomem;
+ u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem);
+ mem = &mem[index];
+ if (is_iomem)
+ iowrite32_native(val, (void __force __iomem *)mem);
+ else
+ *mem = val;
+}
static struct ttm_backend *
nouveau_bo_create_ttm_backend_entry(struct ttm_bo_device *bdev)
{
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index c6143b8..44a7ab5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -926,6 +926,8 @@ extern int nouveau_bo_pin(struct nouvea...
2009 Aug 17
8
drm bo accessors etc. v2
Revised patch set v2.
[PATCH 1/8] drm/nouveau: bo read/write wrappers for nv04_crtc.c
[PATCH 2/8] drm/nouveau: use bo accessors for push buffers
[PATCH 3/8] drm/nouveau: OUT_RINGp - optimize OUT_RING loops
[PATCH 4/8] drm/nv50: proper notifier_bo access in nv50_display_vblank_crtc_handler()
[PATCH 5/8] drm/nouveau: access fbcon notifier via bo accessors
[PATCH 6/8] drm/nouveau: screen_base and