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)
commitf927b8907cb25943d6275d4ea036c065b8fd3f33
tree60ce23dcaef6be96b3c98bdd0ff9635c2c0a14ab
parent162265367a96d381f07066581d65e52627b08618
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