mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 3/5] uvesafb: change connector's max message size
@ 2007-06-30 16:33 Michal Januszewski
  2007-07-06 19:58 ` Michal Januszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Januszewski @ 2007-06-30 16:33 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: linux-kernel, hpa

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

Signed-off-by: Michal Januszewski <spock@gentoo.org>
---
 include/linux/connector.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/connector.h b/include/linux/connector.h
index 14cecaf..12e3140 100644
--- a/include/linux/connector.h
+++ b/include/linux/connector.h
@@ -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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v2 3/5] uvesafb: change connector's max message size
  2007-06-30 16:33 [PATCH v2 3/5] uvesafb: change connector's max message size Michal Januszewski
@ 2007-07-06 19:58 ` Michal Januszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Januszewski @ 2007-07-06 19:58 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: linux-kernel, hpa

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

Signed-off-by: Michal Januszewski <spock@gentoo.org>
---
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(-)

diff --git a/include/linux/connector.h b/include/linux/connector.h
index 14cecaf..12e3140 100644
--- a/include/linux/connector.h
+++ b/include/linux/connector.h
@@ -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 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-06 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-30 16:33 [PATCH v2 3/5] uvesafb: change connector's max message size Michal Januszewski
2007-07-06 19:58 ` Michal Januszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®