Don't try to probe modes on an SDVO device with NULL sdvo_drv.

This commit is contained in:
Eric Anholt 2006-07-05 16:00:03 -07:00
parent ffa6ecc18b
commit e1064f52b0
1 changed files with 3 additions and 1 deletions

View File

@ -733,7 +733,9 @@ I830ReprobePipeModeList(ScrnInfoPtr pScrn, int pipe)
}
break;
case I830_OUTPUT_SDVO:
if (outputs & PIPE_DFP) {
if (outputs & PIPE_DFP &&
pI830->output[i].sdvo_drv != NULL)
{
output_index = i;
}
break;