From 001331f4f1f094ef02497aa618ae5eeb2febedfb Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 27 Jul 2009 07:23:09 +1000 Subject: nouveau: drm api 0.0.15, update object header, remove fake bo support --- libdrm/nouveau/nouveau_notifier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdrm/nouveau/nouveau_notifier.c') diff --git a/libdrm/nouveau/nouveau_notifier.c b/libdrm/nouveau/nouveau_notifier.c index 8f1d535e..f8cfd8b9 100644 --- a/libdrm/nouveau/nouveau_notifier.c +++ b/libdrm/nouveau/nouveau_notifier.c @@ -48,7 +48,7 @@ nouveau_notifier_alloc(struct nouveau_channel *chan, uint32_t handle, nvnotify->drm.channel = chan->id; nvnotify->drm.handle = handle; - nvnotify->drm.count = count; + nvnotify->drm.size = (count * 32); if ((ret = drmCommandWriteRead(nouveau_device(chan->device)->fd, DRM_NOUVEAU_NOTIFIEROBJ_ALLOC, &nvnotify->drm, @@ -57,7 +57,7 @@ nouveau_notifier_alloc(struct nouveau_channel *chan, uint32_t handle, return ret; } - nvnotify->map = (char *)nouveau_channel(chan)->notifier_block + + nvnotify->map = (char *)nouveau_channel(chan)->notifier_bo->map + nvnotify->drm.offset; *notifier = &nvnotify->base; return 0; -- cgit v1.2.3