diff options
-rw-r--r-- | Documentation/fb/udlfb.txt | 10 | ||||
-rw-r--r-- | drivers/video/udlfb.c | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/Documentation/fb/udlfb.txt b/Documentation/fb/udlfb.txt index c6d90a6fb901..57d2f2908b12 100644 --- a/Documentation/fb/udlfb.txt +++ b/Documentation/fb/udlfb.txt | |||
@@ -107,16 +107,18 @@ fb_defio Make use of the fb_defio (CONFIG_FB_DEFERRED_IO) kernel | |||
107 | Disable when running with X server that supports reporting | 107 | Disable when running with X server that supports reporting |
108 | changed regions via ioctl, as this method is simpler, | 108 | changed regions via ioctl, as this method is simpler, |
109 | more stable, and higher performance. | 109 | more stable, and higher performance. |
110 | default: fb_defio=1 | ||
110 | 111 | ||
111 | console Allow fbcon to attach to udlfb provided framebuffers. This | 112 | console Allow fbcon to attach to udlfb provided framebuffers. |
112 | is disabled by default because fbcon will aggressively consume | 113 | Can be disabled if fbcon and other clients |
113 | the first framebuffer it finds, which isn't usually what the | 114 | (e.g. X with --shared-vt) are in conflict. |
114 | user wants in the case of USB displays. | 115 | default: console=1 |
115 | 116 | ||
116 | shadow Allocate a 2nd framebuffer to shadow what's currently across | 117 | shadow Allocate a 2nd framebuffer to shadow what's currently across |
117 | the USB bus in device memory. If any pixels are unchanged, | 118 | the USB bus in device memory. If any pixels are unchanged, |
118 | do not transmit. Spends host memory to save USB transfers. | 119 | do not transmit. Spends host memory to save USB transfers. |
119 | Enabled by default. Only disable on very low memory systems. | 120 | Enabled by default. Only disable on very low memory systems. |
121 | default: shadow=1 | ||
120 | 122 | ||
121 | Sysfs Attributes | 123 | Sysfs Attributes |
122 | ================ | 124 | ================ |
diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c index 2b694e1c73cb..101846c2084a 100644 --- a/drivers/video/udlfb.c +++ b/drivers/video/udlfb.c | |||
@@ -60,7 +60,7 @@ static struct usb_device_id id_table[] = { | |||
60 | MODULE_DEVICE_TABLE(usb, id_table); | 60 | MODULE_DEVICE_TABLE(usb, id_table); |
61 | 61 | ||
62 | /* module options */ | 62 | /* module options */ |
63 | static int console; /* Optionally allow fbcon to consume first framebuffer */ | 63 | static int console = 1; /* Allow fbcon to open framebuffer */ |
64 | static int fb_defio = 1; /* Detect mmap writes using page faults */ | 64 | static int fb_defio = 1; /* Detect mmap writes using page faults */ |
65 | static int shadow = 1; /* Optionally disable shadow framebuffer */ | 65 | static int shadow = 1; /* Optionally disable shadow framebuffer */ |
66 | 66 | ||
@@ -1948,7 +1948,7 @@ static int dlfb_submit_urb(struct dlfb_data *dev, struct urb *urb, size_t len) | |||
1948 | } | 1948 | } |
1949 | 1949 | ||
1950 | module_param(console, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); | 1950 | module_param(console, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); |
1951 | MODULE_PARM_DESC(console, "Allow fbcon to consume first framebuffer found"); | 1951 | MODULE_PARM_DESC(console, "Allow fbcon to open framebuffer"); |
1952 | 1952 | ||
1953 | module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); | 1953 | module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); |
1954 | MODULE_PARM_DESC(fb_defio, "Page fault detection of mmap writes"); | 1954 | MODULE_PARM_DESC(fb_defio, "Page fault detection of mmap writes"); |