16 Dec, 2009
40 commits
-
If a patch adds ioctls, then Documentation/ioctl/ioctl-number.txt
should also be updated.Remove reference to the OSDL PLM build farm.
Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
It is not necessary to write custom code for convert calendar time to
broken-down time. time_to_tm() is more generic to do that.Signed-off-by: Zhao Lei
Cc: OGAWA Hirofumi
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Pavel Machek
Cc: Andi Kleen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use bitmap_weight instead of doing hweight32 for each 32bit in bitmap.
Signed-off-by: Akinobu Mita
Cc: Mikulas Patocka
Cc: Al Viro
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use hweight32 instead of counting for each bit
Signed-off-by: Akinobu Mita
Cc: Mikulas Patocka
Cc: Al Viro
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
* small define cleanup in header
* fix #ifdeffery in procfs.c via KconfigSigned-off-by: Alexey Dobriyan
Cc: Jeff Mahoney
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
/proc/fs/reiserfs/version is on the way of removing ->read_proc interface.
It's empty however, so simply remove it instead of doing dummy
conversion. It's hard to see what information userspace can extract from
empty file.Signed-off-by: Alexey Dobriyan
Cc: Jeff Mahoney
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Alexey Dobriyan
Acked-by: Evgeniy Dushistov
Cc: Christoph Hellwig
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Alexey Dobriyan
Cc: Evgeniy Dushistov
Cc: Christoph Hellwig
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
When an IO error happens while writing metadata buffers, we should better
report it and call ext2_error since the filesystem is probably no longer
consistent. Sometimes such IO errors happen while flushing thread does
background writeback, the buffer gets later evicted from memory, and thus
the only trace of the error remains as AS_EIO bit set in blockdevice's
mapping. So we check this bit in ext2_fsync and report the error although
we cannot be really sure which buffer we failed to write.Signed-off-by: Jan Kara
Cc: Chris Mason
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This fixes a common warning reported by kerneloops.org
[Kernel summit hacking hour]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: "Theodore Ts'o"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Convert code away from ->read_proc/->write_proc interfaces. Switch to
proc_create()/proc_create_data() which make addition of proc entries
reliable wrt NULL ->proc_fops, NULL ->data and so on.Problem with ->read_proc et al is described here commit
786d7e1612f0b0adb6046f19b906609e4fe8b1ba "Fix rmmod/read/write races in
/proc entries"Signed-off-by: Alexey Dobriyan
Cc: Adam Belay
Cc: Bjorn Helgaas
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add the platform specific callback to control LCD panel and backlight
power.Signed-off-by: Chaithrika U S
Acked-by: Kevin Hilman
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The intelfb driver sets color map depending on currently active pipe.
However, if an LVDS display is attached (like in laptop) the active pipe
variable is never set. The default value is PIPE_A and can be wrong. Set
up the pipe variable during driver initialization after hardware state was
read.Also, the detection of the active display (and hence the pipe) is wrong.
The pipes are assigned to so called planes. Both pipes are always enabled
on my laptop but only one plane is enabled (the plane A for the CRT or the
plane B for the LVDS). Change active pipe detection code to take into
account a status of the plane assigned to each pipe.The problem is visible in the 8 bpp mode if colors above 15 are used. The
first 16 color entries are displayed correctly.The graphics chip description is here (G45 vol. 3):
http://intellinuxgraphics.org/documentation.htmlAddresses http://bugzilla.kernel.org/show_bug.cgi?id=13285
Signed-off-by: Krzysztof Helt
Cc: Michal Suchanek
Cc: Dean Menezes
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
A humble attempt to simplify the coding style to improve readability
Signed-off-by: Harald Welte
Signed-off-by: Florian Tobias Schandinat
Cc: Joseph Chan
Cc: Scott Fang
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
We now support the VX855, and the VX800 is no longer unaccellerated.
viafb_video_dev was removed as it was useless.Signed-off-by: Harald Welte
Signed-off-by: Florian Tobias Schandinat
Cc: Joseph Chan
Cc: Scott Fang
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Regression caused in 2.6.23 and then despite repeated requests never fixed
or dealt with (Petr promised to sort it in 2008 but seems to have
forgotten).Enough is enough - remove the problem line that was added. If it upsets
someone they've had two years to deal with it and at the very least it'll
rattle their cage and wake them up.Addresses http://bugzilla.kernel.org/show_bug.cgi?id=9709
Signed-off-by: Alan Cox
Reported-by: Damon
Tested-by: Ruud van Melick
Cc: Petr Vandrovec
Cc: Pekka Enberg
Cc: Paul A. Clarke
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Implement frame buffer blank operation feature for DA8xx/OMAP-L1xx driver.
Signed-off-by: Chaithrika U S
Cc: Kevin Hilman
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Suspend/resume support DA8xx/OMAP-L1xx frame buffer driver. This feature
has been tested on DA850/OMAP-L138 EVM. For the purpose of testing, the
patch series[1] which adds suspend support for DA850/OMAP-L138 SoC was
applied.[1] http://patchwork.kernel.org/patch/60260/
Signed-off-by: Chaithrika U S
Cc: Kevin Hilman
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add a helper function to enable raster. Also add one member in the
private data structure to track the current blank status, another function
pointer which takes in the platform specific callback function to control
panel power.These updates will help in adding suspend/resume and frame buffer blank
operation features.Signed-off-by: Chaithrika U S
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fixed a typo: missing *. This would lead to a kernel oops if the kernel
was compiled without support for the /proc file system.Found with a static checker. Compile tested.
Signed-off-by: Dan Carpenter
Acked-by: Florian Tobias Schandinat
Cc: Joseph Chan
Cc: Scott Fang
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch provides the acceleration entry points for the SM501
framebuffer driver.This patch provides the sync, copyarea and fillrect entry points, using
the SM501's 2D acceleration engine to perform the operations in-chip
rather than across the bus.Signed-off-by: Ben Dooks
Signed-off-by: Simtec Linux Team
Signed-off-by: Vincent Sanders
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fix the old style use of by replacing it with .
Signed-off-by: Ben Dooks
Signed-off-by: Simtec Linux Team
Cc: Vincent Sanders
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
There are several places in the SM501 fb driver that could do with using
resource_size() to calculate the size of a resource.Also fix a bug where request_mem_region() is being passed one too few
bytes when requesting the register memory region, which was causing the
following in /proc/iomem:13e80000-13e8ffff : sm501-fb.0
13e80000-13e8fffe : sm501-fbfixed, this reads:
13e80000-13e8ffff : sm501-fb.0
13e80000-13e8ffff : sm501-fbSigned-off-by: Ben Dooks
Signed-off-by: Simtec Linux Team
Cc: Vincent Sanders
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Alan Cox has found that the i810fb function "uses a whopping 2.5K of stack".
Signed-off-by: Krzysztof Helt
Reported-by: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The GRUB folks requested copyright/license info for lxfb.h, so here it is.
Signed-off-by: Andres Salomon
Cc: Jordan Crouse
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add cpufreq support for DA8xx/OMAP-L1xx frame buffer driver
Signed-off-by: Chaithrika U S
Cc: Krzysztof Helt
Cc: Kevin Hilman
Cc: Dave Jones
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The clock divider value can be calculated from the pixel clock value for
the panel. This gives more flexiblity to the driver to change the divider
value on the fly as in the case of cpufreq feature- support for which will
be added shortly.Signed-off-by: Chaithrika U S
Cc: Sudhakar Rajashekhara
Cc: Steve Chen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
[akpm@linux-foundation.org: clean up comments, remove do-nothing tests, use min()]
[akpm@linux-foundation.org: fix Alexandr's email address]
[akpm@linux-foundation.org: export mb862xxfb_init_accel]
Signed-off-by: Valentin Sitdikov
Cc: Krzysztof Helt
Cc: Anatolij Gustschin
Signed-off-by: Alexander Shishkin
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
If the NULL test on fbi is needed, then the dereference should be after the
NULL test.A simplified version of the semantic match that detects this problem is as
follows (http://coccinelle.lip6.fr/)://
@match exists@
expression x, E;
identifier fld;
@@* x->fld
... when != \(x = E\|&x\)
* x == NULL
//Signed-off-by: Julia Lawall
Cc: Krzysztof Helt
Cc: Eric Miao
Cc: Daniel Mack
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add check if palette register number is in correct range for few drivers
which miss it. The regno value comes indirectly from user space.Two drivers has converted check from BUG_ON() macro to just return an
error (non-zero value).Signed-off-by: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Kernel has simple_strtol() implementation which could be used as atoi().
Signed-off-by: Andy Shevchenko
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The TV_PALN bit was tested twice, replace one by TV_PALM.
Signed-off-by: Roel Kluin
Cc: Thomas Winischhofer
Cc: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The height/width framebuffer members need to be set in millimeters so that
software can do proper scaling.Signed-off-by: Michael Hennerich
Signed-off-by: Mike Frysinger
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The LCD commands DMA/timers as well as PPI which we need to save/restore.
Signed-off-by: Michael Hennerich
Signed-off-by: Mike Frysinger
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Framebuffer driver for the Landscape LCD EZ-Extender (ADZS-BFLLCD-EZEXT)
http://docs.blackfin.uclinux.org/doku.php?id=hw:cards:landscape_lcd_ez-extenderSigned-off-by: Michael Hennerich
Signed-off-by: Bryan Wu
Signed-off-by: Mike Frysinger
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Drivers may use gpiolib sysfs as part of their public user space
interface. The GPIO number and polarity might change from board to
board. The gpio_export_link() call can be used to hide the GPIO number
from user space. Add support for also hiding the GPIO line polarity
changes from user space.Signed-off-by: Jani Nikula
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
A GPIO driver for the Timberdale FPGA found on the Intel Atom board
Russellville.The GPIO driver also has an IRQ-chip to support interrupts on the pins.
Signed-off-by: Richard Röjfors
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The wrong test was used, gpio is unsigned and it had an off-by-one.
Signed-off-by: Roel Kluin
Cc: Alek Du
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds