Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2015 15:47:56 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278853 - head/sys/dev/usb/video
Message-ID:  <201502161547.t1GFlu2k093219@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502161547.t1GFlu2k093219>