diff options
| -rw-r--r-- | Documentation/fb/viafb.txt | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Documentation/fb/viafb.txt b/Documentation/fb/viafb.txt index f3e046a6a987..1a2e8aa3fbb1 100644 --- a/Documentation/fb/viafb.txt +++ b/Documentation/fb/viafb.txt | |||
| @@ -197,6 +197,54 @@ Notes: | |||
| 197 | example, | 197 | example, |
| 198 | # fbset -depth 16 | 198 | # fbset -depth 16 |
| 199 | 199 | ||
| 200 | |||
| 201 | [Configure viafb via /proc] | ||
| 202 | --------------------------- | ||
| 203 | The following files exist in /proc/viafb | ||
| 204 | |||
| 205 | supported_output_devices | ||
| 206 | |||
| 207 | This read-only file contains a full ',' seperated list containing all | ||
| 208 | output devices that could be available on your platform. It is likely | ||
| 209 | that not all of those have a connector on your hardware but it should | ||
| 210 | provide a good starting point to figure out which of those names match | ||
| 211 | a real connector. | ||
| 212 | Example: | ||
| 213 | # cat /proc/viafb/supported_output_devices | ||
| 214 | |||
| 215 | iga1/output_devices | ||
| 216 | iga2/output_devices | ||
| 217 | |||
| 218 | These two files are readable and writable. iga1 and iga2 are the two | ||
| 219 | independent units that produce the screen image. Those images can be | ||
| 220 | forwarded to one or more output devices. Reading those files is a way | ||
| 221 | to query which output devices are currently used by an iga. | ||
| 222 | Example: | ||
| 223 | # cat /proc/viafb/iga1/output_devices | ||
| 224 | If there are no output devices printed the output of this iga is lost. | ||
| 225 | This can happen for example if only one (the other) iga is used. | ||
| 226 | Writing to these files allows adjusting the output devices during | ||
| 227 | runtime. One can add new devices, remove existing ones or switch | ||
| 228 | between igas. Essentially you can write a ',' seperated list of device | ||
| 229 | names (or a single one) in the same format as the output to those | ||
| 230 | files. You can add a '+' or '-' as a prefix allowing simple addition | ||
| 231 | and removal of devices. So a prefix '+' adds the devices from your list | ||
| 232 | to the already existing ones, '-' removes the listed devices from the | ||
| 233 | existing ones and if no prefix is given it replaces all existing ones | ||
| 234 | with the listed ones. If you remove devices they are expected to turn | ||
| 235 | off. If you add devices that are already part of the other iga they are | ||
| 236 | removed there and added to the new one. | ||
| 237 | Examples: | ||
| 238 | Add CRT as output device to iga1 | ||
| 239 | # echo +CRT > /proc/viafb/iga1/output_devices | ||
| 240 | |||
| 241 | Remove (turn off) DVP1 and LVDS1 as output devices of iga2 | ||
| 242 | # echo -DVP1,LVDS1 > /proc/viafb/iga2/output_devices | ||
| 243 | |||
| 244 | Replace all iga1 output devices by CRT | ||
| 245 | # echo CRT > /proc/viafb/iga1/output_devices | ||
| 246 | |||
| 247 | |||
| 200 | [Bootup with viafb]: | 248 | [Bootup with viafb]: |
| 201 | -------------------- | 249 | -------------------- |
| 202 | Add the following line to your grub.conf: | 250 | Add the following line to your grub.conf: |
