drm/nv50: prevent multiple init tables being parsed at the same time
authorBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 00:22:29 +0000 (10:22 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 22:19:18 +0000 (08:19 +1000)
commit39c9bfb453b748ce220ceefacbe2a5c19fabf67b
treeadc629eb6e8fb8303e5ce2e950871889e035d06c
parent1ee7698fc3ec3d7949fa55e5154c8f5de8f1c3d9
drm/nv50: prevent multiple init tables being parsed at the same time

With DVI and DP plugged, the DVI clock change interrupts being run can
cause DP link training to fail.  This adds a spinlock around init table
parsing to prevent this.

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