]> git.karo-electronics.de Git - linux-beck.git/commit
drm/nouveau: allocate kernel's notifier object at end of block
authorBen Skeggs <bskeggs@redhat.com>
Thu, 3 Mar 2011 23:58:36 +0000 (09:58 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Mar 2011 01:07:19 +0000 (11:07 +1000)
commit73412c3854c877e5f37ad944ee8977addde4d35a
treee47e7d021449b6c2d0a9b566cbc8d92f84d466cc
parentb65a0e0c84cf489bfa00d6aa6c48abc5a237100f
drm/nouveau: allocate kernel's notifier object at end of block

The nv30/nv40 3d driver is about to start using DMA_FENCE from the 3D
object which, it turns out, doesn't like its DMA object to not be
aligned to a 4KiB boundary.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dma.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_notifier.c