Message ID | 1257492211-609-1-git-send-email-yakui.zhao@intel.com (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 3417cab..2b7ee49 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -705,7 +705,9 @@ static int drmmode_output_lvds_edid(xf86OutputPtr output, edid_det_block_num = sizeof(edid_mon->det_mon) / sizeof(edid_mon->det_mon[0]); for (i = 0; i < edid_det_block_num; i++) { - if (edid_mon->det_mon[i].type >= DS_VENDOR && j == -1) + if ((edid_mon->det_mon[i].type >= DS_VENDOR || + edid_mon->det_mon[i].type == DS_UNKOWN) && + j == -1) j = i; if (edid_mon->det_mon[i].type == DS_RANGES) { j = i;