diff --git a/src/i830_lvds.c b/src/i830_lvds.c index c58a7e0..b230a1f 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -898,6 +898,9 @@ i830_lvds_init(ScrnInfoPtr pScrn) if (scan->next != NULL) scan->next = scan->prev; dev_priv->panel_fixed_mode = scan; + + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "EDID preferred mode:\n"); + xf86PrintModeline(pScrn->scrnIndex, scan); } /* Delete the mode list */ while (modes != NULL) @@ -914,8 +917,11 @@ i830_lvds_init(ScrnInfoPtr pScrn) if (lvds & LVDS_PORT_EN) { dev_priv->panel_fixed_mode = i830_crtc_mode_get(pScrn, crtc); - if (dev_priv->panel_fixed_mode != NULL) + if (dev_priv->panel_fixed_mode != NULL) { dev_priv->panel_fixed_mode->type |= M_T_PREFERRED; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "currently programmed mode:\n"); + xf86PrintModeline(pScrn->scrnIndex, dev_priv->panel_fixed_mode); + } } } @@ -925,6 +931,9 @@ i830_lvds_init(ScrnInfoPtr pScrn) */ bios_mode = i830_bios_get_panel_mode(pScrn, &dev_priv->panel_wants_dither); if (bios_mode != NULL) { + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "get BIOS mode:\n"); + xf86PrintModeline(pScrn->scrnIndex, bios_mode); + if (dev_priv->panel_fixed_mode != NULL) { /* Fixup for a 1280x768 panel with the horizontal trimmed * down to 1024 for text mode.