drm/nv04-nv40: Disable connector polling when there're no spare CRTCs left.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 3 Jul 2010 13:52:03 +0000 (15:52 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Jul 2010 00:13:21 +0000 (10:13 +1000)
commit2ed06b7d974a750ccb90ff88f5b7a870b89db966
treee9989832a0bed2e44bece3f35b384c8c8a042475
parent8ccfe9e098d5975ef65d17de477f6b7dc0c446db
drm/nv04-nv40: Disable connector polling when there're no spare CRTCs left.

Load detection needs the connector wired to a CRTC, when there are no
inactive CRTCs left that means we need to cut some other head off for
a while, causing intermittent flickering.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_connector.h
drivers/gpu/drm/nouveau/nv04_crtc.c