diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-07-05 16:00:03 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-07-05 16:00:03 -0700 |
commit | e1064f52b0ff69ea7937897b8c951cc3e32cd752 (patch) | |
tree | 26f4872140a0f5fe1f939e1e4530a64a5945387a /src/i830_modes.c | |
parent | ffa6ecc18bc54151061d9956f1d12575fc057da3 (diff) |
Don't try to probe modes on an SDVO device with NULL sdvo_drv.
Diffstat (limited to 'src/i830_modes.c')
-rw-r--r-- | src/i830_modes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/i830_modes.c b/src/i830_modes.c index cb505230..bb097b8c 100644 --- a/src/i830_modes.c +++ b/src/i830_modes.c @@ -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; |