Skip to contentSkip to conversation

uvesafb: change connector's max message size

PATCH In review Michal Januszewski 1 participant 2 messages Jun 30, 2007 – Jul 6, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH v2 3/5 uvesafb: change connector's max message size

Change the maximum message size to 4k to allow transfers of VBE data blocks from userspace.

---
 include/linux/connector.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/connector.h +1 -1
index 14cecaf..12e3140 100644
@@ -44,7 +44,7 @@
 /*
  * Maximum connector's message size.
  */
-#define CONNECTOR_MAX_MSG_SIZE 	1024
+#define CONNECTOR_MAX_MSG_SIZE		4096
 
 /*
  * idx and val are unique identifiers which 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

#1 lore raw

PATCH v2 3/5 uvesafb: change connector's max message size

Change the maximum message size to 16k to allow transfers of VBE data blocks from userspace.

---
This patch increases the limit to 16k since the previous value (4k) proved to be insufficient for the hardware state buffer on some video cards.

 include/linux/connector.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/connector.h +1 -1
index 14cecaf..12e3140 100644
@@ -44,7 +44,7 @@
 /*
  * Maximum connector's message size.
  */
-#define CONNECTOR_MAX_MSG_SIZE 	1024
+#define CONNECTOR_MAX_MSG_SIZE		16384
 
 /*
  * idx and val are unique identifiers which 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/