]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ba29723e1dffc3010906f7bbf80a35eeef7db53
treeadc629eb6e8fb8303e5ce2e950871889e035d06c
parent914df11ca8d815ab93c5bd468ddabdf547b006e8
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