]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix non-vram notifier blocks
authorBen Skeggs <bskeggs@redhat.com>
Wed, 27 Jan 2010 04:29:05 +0000 (14:29 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 02:47:52 +0000 (12:47 +1000)
commita8e57d51d786f372d808250dde593b4f185eb196
tree60ce23dcaef6be96b3c98bdd0ff9635c2c0a14ab
parentdda775116fbed4b7a88a81b03b2ae21cc184d0fb
drm/nouveau: fix non-vram notifier blocks

Due to a thinko, these were previously forced to VRAM even if we allocated
them in GART.

This commit fixes that bug, but keeps the previous behaviour of using VRAM
by default until it's been tested properly across more chipsets.

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