summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* staging: hv: fix some white spaces in netvsc driverHaiyang Zhang2011-07-052-5/+5
| | | | | | | | Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Remove unneeded version.h include from drivers/staging/hv/hv_timesource.cJesper Juhl2011-07-051-1/+0Star
| | | | | | | | | It was pointed out by 'make versioncheck' that include of linux/version.h is not needed in drivers/staging/hv/hv_timesource.c . This patch removes it. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: vmbus: Properly handle the error in hv_acpi_init()K. Y. Srinivasan2011-07-051-1/+4
| | | | | | | | | Properly handle the error in hv_acpi_init(). Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: netvsc: Fix a bug in accounting transmit slotsK. Y. Srinivasan2011-07-051-7/+9
| | | | | | | | | | | | | The transmit slots were manipulated without proper locking. Fix this bug by making the variable tracking the transmit slots atomic. This patch should be ported to prior stable kernels 2.6.32 and later. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: storvsc: Increase the timeout value in the storvsc driverK. Y. Srinivasan2011-07-052-5/+5
| | | | | | | | | | | | | | | | On some loaded windows hosts, we have discovered that the host may not respond to guest requests within the specified time (one second) as evidenced by the guest timing out. Fix this problem by increasing the timeout to 5 seconds. It may be useful to apply this patch to the 3.0 kernel as well. the 3.0 kernel as well. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: netvsc: Increase the timeout value in the netvsc driverK. Y. Srinivasan2011-07-052-5/+5
| | | | | | | | | | | | | | | On some loaded windows hosts, we have discovered that the host may not respond to guest requests within the specified time (one second) as evidenced by the guest timing out. Fix this problem by increasing the timeout to 5 seconds. It may be useful to apply this patch to the 3.0 kernel as well. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: vmbus: Increase the timeout value in the vmbus driverK. Y. Srinivasan2011-07-053-3/+3
| | | | | | | | | | | | | | | On some loaded windows hosts, we have discovered that the host may not respond to guest requests within the specified time (one second) as evidenced by the guest timing out. Fix this problem by increasing the timeout to 5 seconds. It may be useful to apply this patch to the 3.0 kernel as well. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: remove reference to cs5535_gpio makefileKalle Valo2011-07-051-1/+0Star
| | | | | | | | | | | | The driver was removed but 'make clean' still failed: scripts/Makefile.clean:17: [...]/drivers/staging/cs5535_gpio/Makefile: No such file or directory make[3]: *** No rule to make target `[...]/drivers/staging/cs5535_gpio/Makefile'. Stop. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: fix build without backlight device supportJani Nikula2011-07-051-1/+1
| | | | | | | | | | | gma500: fix build without backlight device support Fix unmatched curly brackets when CONFIG_BACKLIGHT_CLASS_DEVICE is not defined. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: power can be touched in IRQ stateAlan Cox2011-07-051-8/+10
| | | | | | | So we need to use a spinlock here Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Fix missing memory checkAlan Cox2011-07-051-1/+5
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Workaround for Medfield/Cedarview cursor bugAlan Cox2011-07-051-0/+14
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Fix backlight crashAlan Cox2011-07-051-3/+4
| | | | | | | We need to check the NULL case earlier. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Add the HDMI bitsAlan Cox2011-07-053-4/+5
| | | | | | | This adds the basic HDMI support for Cedarview. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: begin adding CDV specific codeAlan Cox2011-07-058-108/+2459
| | | | | | | | | | A lot of the intel_display stuff is duplicated, but we will add it first, clean it up and then investigate the best way to merge stuff. This first block integrates the various basic chunks of the CDV display setup. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: move the power headerAlan Cox2011-07-0513-12/+12
| | | | | | | | At this point we now have the file naming making somewhat more sense although the dependancies are not as clean as would be ideal Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: move the BIOS headerAlan Cox2011-07-058-9/+7Star
| | | | | | | | We can move this to patch up as well. Shuffle the relevant includes as we go Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: tidying up the power stuff a spotAlan Cox2011-07-051-20/+13Star
| | | | | | | In particular don't destroy static mutexes, it upsets things Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: move the i2c codeAlan Cox2011-07-052-1/+1
| | | | | | | | This again is similar to upstream so give it a sensible name ready to look at any merging or synchronization Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: the MMU code is also genericAlan Cox2011-07-052-1/+1
| | | | | | | | | Move this over. In actual fact there are some underlying differences as some devices have more MMU contexts, but for our 2D purposes we don't actually care. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: move opregion filesAlan Cox2011-07-052-2/+1Star
| | | | | | | | | We've now sorted them out so they can go into the generic code. In actual fact only the non MID devices use the functions but they are small and having the name match i915 is going to help any future merging type work. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: tidy up the opregion and lid codeAlan Cox2011-07-056-10/+20
| | | | | | | | This is leaking an io mapping and also referencing stuff directly that should not be directly accessed. Sort it out Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Rename the psb_intel_bios codeAlan Cox2011-07-052-1/+1
| | | | | | | | | This is generic for the PC class devices and also very similar to the i915 intel_bios.c so rename it. That way the commonality will be obvious and we can look at merging them one day, or at least synching them up. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: begin the config based splitAlan Cox2011-07-054-10/+44
| | | | | | | | | We don't want to carry all the extra gunk around on every device so use the splitting work so far to tidy this up. Poulsbo is still mandatory as it is used in bits by the other drivers and not neatly modularised. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: the GEM and GTT code is device independantAlan Cox2011-07-055-4/+4
| | | | | | | Rename the gem and gtt files accordingly. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: The 2D code is now also device independentAlan Cox2011-07-053-3/+3
| | | | | | | Rename Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: move framebuffer fileAlan Cox2011-07-058-10/+9Star
| | | | | | | | The framebuffer code is now clean of device specific code, and passes checkpatch. Move it to its new name Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: tidy the framebuffer fixme and oddmentsAlan Cox2011-07-051-5/+1Star
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: the 'mrst' BIOS is actually MID genericAlan Cox2011-07-056-5/+5
| | | | | | | | Shuffle the naming so this reflects better and we can try and build some sort of ordering to the naming scheme. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Add the beginnings of Cedarview supportAlan Cox2011-07-054-0/+365
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: move configuration bits into the psb_ops structureAlan Cox2011-07-057-68/+86
| | | | | | | | We can stuff things like the number of pipes and the SGX offset away in here as well and clean up more conditional code. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: remove an un-needed checkAlan Cox2011-07-051-1/+1
| | | | | | | This is a Medfield only path Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: add more opsAlan Cox2011-07-056-20/+35
| | | | | | | | Split the 2d properties, name, and various function vectors out so that we can get rid of more conditional gloop in favour of a per device structure. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: enable Medfield CRTC supportAlan Cox2011-07-054-10/+39
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Read the GCT panel type information for MedfieldAlan Cox2011-07-051-1/+28
| | | | | | | Missed in the original merge work Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Fix early Medfield crashAlan Cox2011-07-051-0/+12
| | | | | | | | | We need to initialise the DBI interface and the code for it got missed in the original merge as it's in a daft place. This will need moving but lets get it added first. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: continue abstracting platform specific codeAlan Cox2011-07-0510-319/+445
| | | | | | | Next obvious target - backlight support Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: being abstracting out devices a bit moreAlan Cox2011-07-0510-538/+847
| | | | | | | | | | | | | | We really want to move towards a completely abstracted interface rather than having tons of per chip junk in the same files. Begin with the power code which is probably the worst offender. Add a set of methods, initialise a dev_priv->ops pointer and rip the chip specifics out of the power code. While we are it pick up the display init bits. So we know it's now chip specifics clean remove the psb_ naming from it. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Only fiddle with clock gating on PSBAlan Cox2011-07-051-1/+1
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Update the GEM todoAlan Cox2011-07-052-14/+10Star
| | | | | | | | We also pull out the undo side of the mmap offset processing so we can later push it into GEM where it belongs Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: psb_fb tidy/cleanup passAlan Cox2011-07-054-125/+29Star
| | | | | | | Eliminate unused stuff and clean up the code ordering. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Extract BIOSisy stuff from psb_drvAlan Cox2011-07-054-208/+260
| | | | | | | | | This is too big already so lets rip out more of the device specific crud. It also means we pull the ugly stuff that needs work out of our main line of cleanup. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Move our other GEM helper into the bits want to push into GEMAlan Cox2011-07-053-56/+56
| | | | | Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Medfield supportAlan Cox2011-07-0536-49/+9005
| | | | | | | | This large patch adds all the basics for Medfield support. Lots of clean up needed in this area still. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: 2D polishAlan Cox2011-07-053-127/+74Star
| | | | | | | | | Tidy up the 2D bits. For the fill case the CPU seems to be able to outperform the graphics engine for the cases we get, so don't bother fixing it but throw it out. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: CodingStyle passAlan Cox2011-07-0515-1140/+1156
| | | | | | | Start the style cleanup Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Use the GEM tweaks to provide a GEM frame bufferAlan Cox2011-07-052-7/+15
| | | | | | | We can now make our system frame buffer a GEM object. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: GEM glueAlan Cox2011-07-053-1/+53
| | | | | | | | | Add this temporarily so we can keep making progress and also bundle all the GEM bits we need together in our staging driver while we get them into GEM itself. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: Kill spare krefAlan Cox2011-07-053-37/+6Star
| | | | | | | We are using the underlying kref in the GEM object so we don't need our own Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* gma500: nuke the PSB debug stuffAlan Cox2011-07-0514-374/+87Star
| | | | | | | | Lose all the PSB debug gunge. We can replace it with dev_dbg() like normal drivers if and when we need debug on stuff. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>