[Libdlo] [PATCH] udlfb: improve debugging printouts

Martin Decky martin at decky.cz
Tue Mar 8 04:19:14 PST 2011


From: Martin Decky <martin at decky.cz>

Improve udlfb debugging printouts. It is not very helpful to print a
list of the same resolutions without the refresh rate.

Signed-off-by: Martin Decky <martin at decky.cz>
----
diff -Naurp linux-next.orig/drivers/video/udlfb.c linux-next/drivers/video/udlfb.c
--- linux-next.orig/drivers/video/udlfb.c	2011-02-13 22:47:14.000000000 +0100
+++ linux-next/drivers/video/udlfb.c	2011-02-13 22:50:51.492302122 +0100
@@ -975,7 +975,8 @@ static int dlfb_is_valid_mode(struct fb_
  		return 0;
  	}

-	pr_info("%dx%d valid mode\n", mode->xres, mode->yres);
+	pr_info("%dx%d @ %d Hz valid mode\n", mode->xres, mode->yres,
+	    mode->refresh);

  	return 1;
  }



More information about the Libdlo mailing list