mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 11:09:29 +07:00
b8c21cf697
Add framebuffer support to PicoLCD device with use of deferred-io. Only changed areas of framebuffer get sent to device in order to save USB bandwidth and especially resources on PicoLCD device or allow higher refresh rate for a small area. Changed tiles are determined while updating shadow framebuffer. Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode
|
|
Date: March 2010
|
|
Contact: Bruno Prémont <bonbons@linux-vserver.org>
|
|
Description: Make it possible to switch the PicoLCD device between LCD
|
|
(firmware) and bootloader (flasher) operation modes.
|
|
|
|
Reading: returns list of available modes, the active mode being
|
|
enclosed in brackets ('[' and ']')
|
|
|
|
Writing: causes operation mode switch. Permitted values are
|
|
the non-active mode names listed when read, optionally followed
|
|
by a delay value expressed in ms.
|
|
|
|
Note: when switching mode the current PicoLCD HID device gets
|
|
disconnected and reconnects after above delay (default value
|
|
is 5 seconds though this default should not be relied on).
|
|
|
|
|
|
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate
|
|
Date: March 2010
|
|
Contact: Bruno Prémont <bonbons@linux-vserver.org>
|
|
Description: Make it possible to adjust defio refresh rate.
|
|
|
|
Reading: returns list of available refresh rates (expressed in Hz),
|
|
the active refresh rate being enclosed in brackets ('[' and ']')
|
|
|
|
Writing: accepts new refresh rate expressed in integer Hz
|
|
within permitted rates.
|
|
|
|
Note: As device can barely do 2 complete refreshes a second
|
|
it only makes sense to adjust this value if only one or two
|
|
tiles get changed and it's not appropriate to expect the application
|
|
to flush it's tiny changes explicitely at higher than default rate.
|
|
|