diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-07-27 07:23:09 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-07-28 20:59:05 +1000 |
commit | 001331f4f1f094ef02497aa618ae5eeb2febedfb (patch) | |
tree | 143f44c72d381d6e6bdc39f958480cfe3e12717c /libdrm/nouveau/nouveau_notifier.c | |
parent | 30449829c0347dc7dbe29acb13e49e2f2cb72ae9 (diff) |
nouveau: drm api 0.0.15, update object header, remove fake bo support
Diffstat (limited to 'libdrm/nouveau/nouveau_notifier.c')
-rw-r--r-- | libdrm/nouveau/nouveau_notifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |