drm/nouveau: fix assumption that semaphore dmaobj is valid in x-chan sync
authorBen Skeggs <bskeggs@redhat.com>
Fri, 17 Jun 2011 13:41:54 +0000 (23:41 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 18 Jun 2011 04:56:24 +0000 (14:56 +1000)
commitb16a5a18ff994532120c1d18e678bbc5fb477b62
treef8d8e69abbeba8ae0f7221462106038bebf6b5eb
parentf66b3d5540994cb92182312be24944864cec5a16
drm/nouveau: fix assumption that semaphore dmaobj is valid in x-chan sync

The DDX modifies DMA_SEMAPHORE on nv50 in order to implement sync-to-vblank,
things will go very wrong for cross-channel sync after this.

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