android_kernel_xiaomi_sm8350/drivers
Antonino A. Daplas a812c94b94 [PATCH] fbcon: Console Rotation - Add ability to control rotation via sysfs
Add ability to set rotation via sysfs.  The attributes are located in
/sys/class/graphics/fb[n] and accepts 0 - unrotated; 1 - clockwise; 2 - upside
down; 3 - counterclockwise.

The attributes are:

con_rotate (r/w) -   set rotation of the active console
con_rotate_all (w) - set rotation of all consoles
rotate (r/w) -       set rotation of the framebuffer, if supported.
Currently, none of the drivers support this.

This is probably temporary, since con_rotate and con_rotate_all are
console-specific and has no business being under the fb device.  However,
until the console layer acquires it's own sysfs class, these attributes will
temporarily reside here.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-09 07:56:35 -08:00
..
acorn
acpi [PATCH] sched: resched and cpu_idle rework 2005-11-09 07:56:33 -08:00
atm
base
block [PATCH] add a file_permission helper 2005-11-09 07:55:59 -08:00
bluetooth
cdrom
char
connector
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon
i2c
ide
ieee1394
infiniband
input
isdn
macintosh
mca
md
media [PATCH] V4L: 926: Saa7134 alsa can only be autoloaded after saa7134 is active 2005-11-09 07:56:32 -08:00
message
mfd
misc
mmc
mtd
net
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
rapidio
s390
sbus
scsi
serial
sh
sn
tc
telephony
usb
video [PATCH] fbcon: Console Rotation - Add ability to control rotation via sysfs 2005-11-09 07:56:35 -08:00
w1
zorro
Kconfig
Makefile