drm/nouveau: fix use of drm_mm_node in semaphore object
authorBen Skeggs <bskeggs@redhat.com>
Thu, 2 Dec 2010 23:05:20 +0000 (09:05 +1000)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 8 Dec 2010 02:00:38 +0000 (03:00 +0100)
commita8b214f007e299225d3fcf10c46f7fc603c275fa
treee1eba17a16decce8d81850deba029794a44efe60
parent7a45d764a8e3177f0c9cd4a0be9f2ab7965e55cb
drm/nouveau: fix use of drm_mm_node in semaphore object

At some point in the future, this bo won't necessarily be backed by
a drm_mm_node, so use the start/size fields of the ttm_mem_reg instead.

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