summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Staging: udlfb: explicit dependencies and warningsBernie Thompson2010-03-032-4/+24
| | | | | | | | | | | | | | | | | | Specify Kconfig dependencies, and include warnings for building as a module udlfb is dependent on FB_DEFERRED_IO, FB_SYS_*, and FB_MODE_HELPERS Because many kernels do not include defio (which cannot be built as a module), yet users want to be able to build udlfb as a module later, udlfb has ifdefs and these dependency warnings to help udlfb build with or without certain dependencies, but also print warnings for any lost function. Even though this kind of flexibility isn't common, we've gotten feedback from a significant portion of users that they were frustrated without it. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: Support for fbdev mmap clients (defio)Bernie Thompson2010-03-031-3/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for fbdev mmap clients who don't send damage ioctls Because DisplayLink devices are out on the other end of usb, their "framebuffer" is just normal system memory. So memory mapped writes don't automatically trigger anything. So up to this point, standard fbdev clients who rely on mmap() will get an unchanging screen. This patch makes udlfb a client of Jaya Kumar's defio framework - which sets up page fault triggers, and those faults are accumulated and sent to udlfb on a defferred basis, to process as damage notifications for the framebuffer. Because this involves more overhead than a notification directly from the application (e.g. just passing on X DAMAGE extension notifications), a sysfs attribute is provided by udlfb to control defio support. /sys/class/graphics/fb*/use_defio - writing a "0" to this file before calling mmap() causes defio to not be initialized - instead udlfb will rely on getting damage notifications directly through the damage ioctl. There are unsolved rendering problems with defio (horizontal dead regions on framebuffer, that accumulate over time) which still needs a fix. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: improved rendering performanceBernie Thompson2010-03-032-580/+341
| | | | | | | | | | | | | | | | | | Rework rendering for improved performance Approx 10-20% gain avg across several "benchmarks": x11perf, gtkperf, glxgears Moves from a single pre-alloc'd urb protected by a long-held mutex To a list of (4) pre-alloc'd urbs which can be dispatched asynchonously Improved rendering algorithm to hardware with lower CPU consumption, fewer system memory accesses, and slightly higher compression. Better scalability to multiple processors, especially with multiple framebuffers active. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: Rework startup and teardown to fix race conditionsBernie Thompson2010-03-032-109/+198
| | | | | | | | | | | | | | | Rework probe to use refcounts and std functions Because the different parts of the driver (usb, fbdev) tear down in different orders, the driver previously could crash accessing data that had already been freed. Refcounting system used to handle. Reworked probe to make use of refcounts, set mode using std fbops, and set up sysfs and pre-allocated urbs. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: Add functions to expose sysfs metrics and controlsBernie Thompson2010-03-032-0/+269
| | | | | | | | | | | | | | | | | | | | | | Add sysfs controls for edid and performance metrics There are 8 new files exposed in /sys/class/graphics/fb* edid - returns 128 byte edid blog, suitable for parsing with parse-edid metrics_bytes_identical metrics_bytes_rendered metrics_bytes_sent metrics_cpu_kcycles_used metrics_misc and metrics_reset, which resets all perf metrics to zero The 6 perf metrics are of type atomic_t. So these metrics return precise results for short benchmarks, but any test approx a minute or longer runtime may roll over. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: clean up function namingBernie Thompson2010-03-031-66/+67
| | | | | | | | | | | | Move to more consistent naming scheme All udlfb functions start with udlfb_ All functions for udlfb's fbdev interface start with udlfb_ops_ All functinos for udlfb's usb interface start with udlfb_usb_ Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: pre-allocated urb list helpersBernie Thompson2010-03-032-0/+227
| | | | | | | | | | | | | Add functions to pre-allocate and free usb bulk urbs for core render path. Udlfb currently allocates a single urb, guarded by a mutex, that is a key bottleneck. Because udlfb sends so much data, preallocation is most efficient. Functions will be used by new rendering functions in later patches. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: reorganize function orderBernie Thompson2010-03-032-33/+32
| | | | | | | | | Reorganize the location of a few things to be closer to related code Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: udlfb: checkpatch cleanupBernie Thompson2010-03-032-41/+34
| | | | | | | | Eliminate checkpatch.pl warnings and errors so later patches in series are clean Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: r8187se: Remove dead code from r8185b_init.cLarry Finger2010-03-031-630/+2
| | | | | | | | Remove dead code from r8185b_init.c. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: r8187se: Remove two private variables that have a fixed valueLarry Finger2010-03-035-568/+191
| | | | | | | | | | For the RTL8187SE, the variable priv->rf_chip is always RF_ZEBRA4 and priv->RegThreeWireMode is always HW_THREE_WIRE_SI. Remove these 2 variables. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: r8187se: Remove write_phy routineLarry Finger2010-03-031-37/+0
| | | | | | | | Remove a routine that is not used. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: wlan-ng: multiple safe style cleanupsSvenne Krap2010-03-0317-216/+217
| | | | | | | | | Cleanups as suggested by checkpatch.pl utiltiy. .o's from before and after cleanup have matching SHA1s. Signed-off-by: Svenne Krap <svenne@krap.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: wlan-ng: clean up assignments in if statementsSvenne Krap2010-03-031-8/+16
| | | | | | | | | Trivial changes to code-paths. Signed-off-by: Svenne Krap <svenne@krap.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: bracing fix to ni_atmio.cGraham M Howe2010-03-031-17/+17
| | | | | | | | | This is a patch to ni_atmio.c file to fix up bracing style problems found by checkpatch.pl tool Signed-off-by: Graham M Howe <gman.1352@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: vt6655: add missing curly bracesDan Carpenter2010-03-031-2/+4
| | | | | | | | | It's clear from the indent levels and the context that there are supposed to be curly braces here. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: r8187se: Fix for LED not following radio switchLarry Finger2010-03-031-3/+4
| | | | | | | | The current driver does not follow the state of the RF switch. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: r8187se: Change to use common eeprom routines in EEPROM_93CXLarry Finger2010-03-036-173/+61
| | | | | | | | | | The TODO list includes switching this driver to use the common EEPROM routines in EEPROM_93CX. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Tested by: Bernhard Schiffner <bernhard@schiffner-limbach.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: dream: more Code style fixesJochen Maes2010-03-031-10/+12
| | | | | | | | | | Removed parenthesis from return statements, split up assignment and if condition Signed-off-by: Jochen Maes <jochen.maes@sejo.be> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: dream: another Codestyle patchJochen Maes2010-03-031-33/+30
| | | | | | | | | Fixed code style issues. Signed-off-by: Jochen Maes <jochen.maes@sejo.be> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: dream: Codestyle fixJochen Maes2010-03-031-14/+12
| | | | | | | | | Fixed Codestyle issues Signed-off-by: Jochen Maes <jochen.maes@sejo.be> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: rti800: more Checkpatch cleanupsBenjamin Adolphi2010-03-031-11/+9
| | | | | | | | This fixes all checkpatch issues in the rti800 comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rar_register: add suspend and resume functionsMark Allyn2010-03-031-1/+14
| | | | | | | | | Add suspend and resume functions (which are currently stubs returning -ENOSYS) Signed-off-by: Mark Allyn <mark.a.allyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rar_register: fix checkpatch errors and debug program fileMark Allyn2010-03-031-283/+445
| | | | | | Signed-off-by: Mark Allyn <mark.a.allyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rar_register: fix checkpatch errors and debug header fileMark Allyn2010-03-031-60/+55
| | | | | | Signed-off-by: Mark Allyn <mark.a.allyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rar_register: provide better explanation in KconfigMark Allyn2010-03-031-0/+13
| | | | | | | | | Provides a better explanation of what this driver is for in the Kconfig file Signed-off-by: Mark Allyn <mark.a.allyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rar_register: renaming directory to rar_registerMark Allyn2010-03-036-2/+2
| | | | | | | | | Renames the directory in which the driver files are located; again for clarity. Signed-off-by: Mark Allyn <mark.a.allyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rar_register: renaming driver to rar_registerMark Allyn2010-03-033-2/+2
| | | | | | | | | Patch renames rar_driver to rar_register to clarifiy and differentiate from rar_handler that will be submitted later Signed-off-by: Mark Allyn <mark.a.allyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: mimio: remove the mimio driverGreg Kroah-Hartman2010-03-035-910/+0
| | | | | | | | | | | | | | | | | | It turns out that Mimio has a userspace solution for this product using libusb, and the in-kernel driver is just getting in the way now and causing problems. So they have asked that the in-kernel driver be removed. As the staging driver wasn't quite working anyway, and Mimio supports their libusb solution for all distros, I am removing the in-kernel driver. The libusb solution can be downloaded from: http://www.mimio.com/downloads/mimio_studio_software/linux.asp Cc: <mwilder@cs.nmsu.edu> Cc: Phil Hannent <phil@hannent.co.uk> Cc: Marc Rousseau <Marc.Rousseau@mimio.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: dt3155: fix coding style issues in dt3155_io.cGreg Kroah-Hartman2010-03-031-197/+136
| | | | | | | | | | This fixes up the sparse and coding style issues found in the dt3155_io.c file. No code is changed, only formatting and removing unused code. Cc: Scott Smedley <ss@aao.gov.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: dt3155: replace u_int and u_long usageGreg Kroah-Hartman2010-03-039-170/+169
| | | | | | | Use u32 and u64 instead, that's the proper thing to do. Cc: Scott Smedley <ss@aao.gov.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: dt3155: replace u_char usageGreg Kroah-Hartman2010-03-035-65/+65
| | | | | | | Use u8 instead, that's the proper thing to do. Cc: Scott Smedley <ss@aao.gov.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: dt3155: coding cleanups for dt3155_io.hGreg Kroah-Hartman2010-03-031-251/+212
| | | | | | | | This fixes up some coding style issues in the dt3155_io.h file Cc: Scott Smedley <ss@aao.gov.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: dt3155: fix build warningsGreg Kroah-Hartman2010-03-031-12/+13
| | | | | | | | This fixes the build warnings in the dt3155 driver Cc: Scott Smedley <ss@aao.gov.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: ssc_dnp: fixed a brace coding style issueGreg Kroah-Hartman2010-03-031-3/+3
| | | | | | | | | Fixed a coding style issue. Created during the keynote presentation at FOSDEM 2010 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: ni_pcidio: Checkpatch cleanupsBenjamin Adolphi2010-03-031-39/+44
| | | | | | | | This fixes almost all checkpatch issues in the ni_pcidio comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: rti802: Checkpatch cleanupsBenjamin Adolphi2010-03-031-5/+3
| | | | | | | | This fixes all checkpatch issues in the rti802 comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: dt2815: Checkpatch cleanupsBenjamin Adolphi2010-03-031-50/+39
| | | | | | | | This fixes all checkpatch issues in the dt2815 comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: samsung-laptop: fix coding style issuesChihau Chau2010-03-031-3/+6
| | | | | | | | This fixes some lines over 80 characters coding style issues. Signed-off-by: Chihau Chau <chihau@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rt2860: correct onstack wait_queue_head declarationYong Zhang2010-03-031-1/+1
| | | | | | | | | | | | Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: Alexander Beregalov <a.beregalov@gmail.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: fix spacing style issues in r8180_93cx6.cTim Schofield2010-03-031-31/+32
| | | | | | | | | This is a patch to the r8180_93cx6.c file that fixes up spacing issue warnings found by the checkpatch.pl tool Signed-off-by: Tim Schofield <tim@weberpafrica.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: fix brace coding style in comedi_fops.cPaul Elms2010-03-031-4/+2
| | | | | | | | This patch to the comedi_fops.c file fixes a brace warning found by the checkpatch.pl tool Signed-off-by: Paul Elms <paul@uprocera.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: fix brace coding style issues in ni_labpc.ctony burrows2010-03-031-21/+15
| | | | | | | | | This patch fixes all of the brace style warnings found by the checkpatch.pl tool Signed-off-by: Tony Burrows <tony@tonyburrows.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: Fix continuation line formatsJoe Perches2010-03-033-14/+13
| | | | | | | | | String constants that are continued on subsequent lines with \ are not good. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: wlan-ng: minor cleanupsRichard Kennedy2010-03-031-4/+0
| | | | | | | | | Remove iw_handle_def private initialisations as they are no longer need these. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: Fix continuation line formatsJoe Perches2010-03-034-8/+4
| | | | | | | | | | String constants that are continued on subsequent lines with \ are not good. Fixed a "is tryied" / tried typo Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: adq12b: Checkpatch cleanups 2Benjamin Adolphi2010-03-031-8/+10
| | | | | | | | This fixes all checkpatch issues in the adq12b comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: fl512: Checkpatch cleanupsBenjamin Adolphi2010-03-031-28/+44
| | | | | | | | This fixes all checkpatch issues in the fl512 comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: ni_65xx: Checkpatch cleanupsBenjamin Adolphi2010-03-031-25/+24
| | | | | | | | This fixes all checkpatch issues in the ni_65xx comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: ni_670x: Checkpatch cleanupsBenjamin Adolphi2010-03-031-14/+18
| | | | | | | | This fixes all checkpatch issues in the ni_670x comedi driver. Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud