On Tue, Oct 08, 2024 at 08:44:05AM +0200, Matthieu Herrb wrote:
> this when I've a bit more time. in the mean time the patch below
> should disable the offending logs.
Oops, old version. The full one is:
Index: hw/xfree86/modes/xf86EdidModes.c
===================================================================
RCS file: /local/cvs/xenocara/xserver/hw/xfree86/modes/xf86EdidModes.c,v
diff -u -p -r1.20 xf86EdidModes.c
--- hw/xfree86/modes/xf86EdidModes.c 11 Nov 2021 09:03:08 -0000 1.20
+++ hw/xfree86/modes/xf86EdidModes.c 8 Oct 2024 06:48:18 -0000
@@ -1057,9 +1057,10 @@ xf86DDCGetModes(int scrnIndex, xf86MonPt
int timing_level;
struct det_modes_parameter p;
+#ifdef SPAM_XORG_LOG
xf86DrvMsg(scrnIndex, X_INFO, "EDID vendor \"%s\", prod id %d\n",
DDC->vendor.name, DDC->vendor.prod_id);
-
+#endif
quirks = xf86DDCDetectQuirks(scrnIndex, DDC, TRUE);
preferred = PREFERRED_TIMING_MODE(DDC->features.msc);
@@ -1198,6 +1199,7 @@ xf86EdidMonitorSet(int scrnIndex, MonPtr
xf86ForEachDetailedBlock(DDC, handle_detailed_monset, &p);
if (Modes) {
+#ifdef SPAM_XORG_LOG
/* Print Modes */
xf86DrvMsg(scrnIndex, X_INFO, "Printing DDC gathered Modelines:\n");
@@ -1206,7 +1208,7 @@ xf86EdidMonitorSet(int scrnIndex, MonPtr
xf86PrintModeline(scrnIndex, Mode);
Mode = Mode->next;
}
-
+#endif
/* Do we still need ranges to be filled in? */
if (!Monitor->nHsync || !Monitor->nVrefresh)
DDCGuessRangesFromModes(scrnIndex, Monitor, Modes);
--
Matthieu Herrb