drm/nv17-nv4x: Fix analog load detection false positive on rare occasions.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 30 Aug 2010 13:37:57 +0000 (15:37 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:19:03 +0000 (16:19 +1000)
commit7314dec95c054258d5e5a3d1d55e1fd042f8eaad
tree3f4445cd0c96d186d15cff7182ad275e572cccdd
parent9d59e8a1fc8fc35bf22dc92d7722a7502769ab7e
drm/nv17-nv4x: Fix analog load detection false positive on rare occasions.

On some boards the residual current DAC outputs can draw when they're
disconnected can be high enough to give a false load detection
positive (I've only seen it in the S-video luma output of some cards,
but just to be sure). The output line capacitance is limited and
sampling twice should fix it reliably.

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