svn commit: r278853 - head/sys/dev/usb/video

Hans Petter Selasky hselasky at FreeBSD.org
Mon Feb 16 15:47:56 UTC 2015


Author: hselasky
Date: Mon Feb 16 15:47:55 2015
New Revision: 278853
URL: https://svnweb.freebsd.org/changeset/base/278853

Log:
  Reduce number of memory buffers a bit.

Modified:
  head/sys/dev/usb/video/udl.h

Modified: head/sys/dev/usb/video/udl.h
==============================================================================
--- head/sys/dev/usb/video/udl.h	Mon Feb 16 15:46:16 2015	(r278852)
+++ head/sys/dev/usb/video/udl.h	Mon Feb 16 15:47:55 2015	(r278853)
@@ -30,7 +30,7 @@
 #define	UDL_CMD_MAX_DATA_SIZE	512	/* bytes */
 #define	UDL_CMD_MAX_HEAD_SIZE	16	/* bytes */
 #define	UDL_CMD_MAX_PIXEL_COUNT	((UDL_CMD_MAX_DATA_SIZE - UDL_CMD_MAX_HEAD_SIZE) / 2)
-#define	UDL_CMD_MAX_BUFFERS	2048	/* units */
+#define	UDL_CMD_MAX_BUFFERS	(3 * UDL_CMD_MAX_FRAMES)
 #define	UDL_FONT_HEIGHT		16	/* pixels */
 #define	UDL_MAX_MODES		25	/* units */
 


More information about the svn-src-head mailing list