]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: new gem pushbuf interface, bump to 0.0.16
authorBen Skeggs <bskeggs@redhat.com>
Fri, 12 Feb 2010 00:27:35 +0000 (10:27 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2010 05:08:44 +0000 (15:08 +1000)
commit48975c47e8ed0a4322271a1591fb445fa9fc3a45
tree1f01726a80ea1e374d87fb6c6ebe3bbc6015b36a
parent91b970c594e08091e93ffc155dce82c3987ef08a
drm/nouveau: new gem pushbuf interface, bump to 0.0.16

This commit breaks the userspace interface, and requires a new libdrm for
nouveau to operate again.

The multiple GEM_PUSHBUF ioctls that were present in 0.0.15 for
compatibility purposes are now gone, and replaced with the new ioctl which
allows for multiple push buffers to be submitted (necessary for hw index
buffers in the nv50 3d driver) and relocations to be applied on any buffer.

A number of other ioctls (CARD_INIT, GEM_PIN, GEM_UNPIN) that were needed
for userspace modesetting have also been removed.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
drivers/gpu/drm/nouveau/nouveau_channel.c
drivers/gpu/drm/nouveau/nouveau_dma.c
drivers/gpu/drm/nouveau/nouveau_dma.h
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/nouveau/nouveau_state.c
include/drm/nouveau_drm.h