aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-16Implement enable/reset of 3D engineHEADdrm-trackingThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-26Merge branch 'andy-tracking' into drm-trackingThomas White
2009-11-26mfd: glamo: Enable FIFO stage for the LCD engine's memory accessThomas White
By avoiding conflicts of memory access inside Glamo, this doubles the speed of internal memory access. Signed-off-by: Thomas White <taw@bitwiz.org.uk> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-11-26input: lis302dl: fix the resume pathMichael Trimarchi
This fix the resume path of the accelerometer. If the accelerometer is not power up, restore to initial status. Move the REG_CTRL1 to the last one position avoid writing on the register when the device is in power down mode. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-11-20Fix KMS framebuffer physical addressThomas White
This allows "/dev/fb0" to work correctly with mmap(). Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-16Simplify fences somewhatThomas White
The "dummy blit" isn't actually needed. Leaving the scratch buffer there for the time being, since it nicely shows up things which need fixing in KMS. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-15Fix ordering of KMS initialisationThomas White
This fixes a problem which was hidden because the framebuffer was always at the lowest address. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-15Enable FIFO stage for the LCD engine's memory accessThomas White
By avoiding conflicts of memory access inside Glamo, this doubles the speed of internal memory access. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-15Add interrupt-driven waitqueue for better GPU synchronisationThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-09Fix oops in GEM object allocationThomas White
If the allocation of a new GEM object failed due to there being no available VRAM, then glamo_gem_object_alloc() would bail out, calling drm_gem_object_unreference() in the process. glamodrm_gem_free_object() would then proceed to try to give back the memory which was unsuccessfully allocated. This obviously doesn't work, and resulted in an oops. To fix it, check that the VRAM block handle is non-NULL before freeing it. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-08Fix some CmdQ nonsense (?)Thomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-08Tidy up and fix burst submissionThomas White
Fixing a stupid mistake in the process... Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-05glamo-spi: missing semicolon after MODULE_AUTHOR()Martin Jansa
Fix compilation error due to missing semicolon Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-10-22Add burst commandsThomas White
This adds kernel support for sending burst commands to the hardware. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-10-02GTA01/GTA02: disable android drivers in default configsRadek Polak
Android drivers are not needed for standard linux systems. We can save memory by disabling them. Android low memory killer (CONFIG_ANDROID_LOW_MEMORY_KILLER) also prevents using swap by killing applications before swapping can start on non android systems. Reported-by: Jim Morris <morris@wolfman.com> Signed-off-by: Radek Polak <psonek2@seznam.cz> Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-10-01Fix s3c-adc suspendVasily Khoruzhick
Fix for a bug that shows when the s3c2410 TS driver requests a conversion from the s3c-adc driver and the machine goes into suspend. In this case the touchscreen stops working. Note: Nelson edited the original patch with a few small changes. Reported-by: Radek Polak <psonek2@seznam.cz> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-27Merge commit 'refs/remotes/openmoko/andy-tracking' into drm-trackingThomas White
2009-09-24Fix small typoNelson Castillo
s/though/thought/ Reported-by: Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk> Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-23Fix wrong commitNelson Castillo
I'm quite sorry I sent the commit that crashes GTA01. The fix is quite short. Fixing is easier than reverting and fixing conflicts. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-23Require CONFIG_S3C24XX_ADC for GTA01/GTA02Nelson Castillo
Select CONFIG_S3C24XX_ADC by defult for GTA01/GTA02. Somebody will hate me if I don't send this patch soon. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22GTA01: Disable glamoNelson Castillo
Remove glamo from defconfig. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22Remove sort call from group filterNelson Castillo
This patch applies upstream feedback to the group filter. The algorithms are equivalent, thus we will get the same results after applying this patch. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22Fix Andy's email in filters.Nelson Castillo
He is not reachable at the OM address. We need the right email if we send upstream. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22s3_ts: cleanupsNelson Castillo
General cleanups. Now we pass checkpatch.pl. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22Make s3c TS driver use s3c-adc APINelson Castillo
I had a patch by Vasily Khoruzhick <anarsoul@gmail.com> in the linux-arm-kernel as a guide for some of the changes. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22s3c24xx: introduce s3c-adc delayVasily Khoruzhick
Without this patch we cannot make the s3c2410/s3c2440 touchscreen driver work. Is this delay device-dependant? Is there a better way to do this? We specify the delay value (S3C2410_ADCDLY). Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-09-22S3C: ADC: Expose number of remaining conversions to convert callbackNelson Castillo
This patch allow us to efficiently modify the number of remaining conversions from the client side. This us useful when we do not know in advance how many conversions we will need or when we need to cancel pending conversions. This change is simple enough to be compatible with existing code that can just define the new pointer in the callback and ignore it. Sample usage: http://tinyurl.com/s3c2410-ts-c (function stylus_adc_action). Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-09-22S3C: ADC: Fix lines with more than 80 chars in adc.hNelson Castillo
Small cleanup. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net> [ben-linux@fluff.org: rewrote subject] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-09-22Remove dependence on old netdev operationsMichael Trimarchi
Remove the dependence to the OLD NET DEV operation Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-09-11Merge commit 'remotes/openmoko/andy-tracking' into drm-trackingThomas White
2009-09-10Fix sanitisationThomas White
Muppetry... Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-09-09Sanitise size and alignment of GEM objectsThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-09-02gta01: when charging the current reported should be negativePaul Fertser
Reported-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-09-02pcf50606: fix RTC alarmArnaud Patard
This makes wake up on RTC alarm work properly, ported from rtc-pcf50633 commits 4caf79de95c26495e7cdc8204023d97598f887d2 and c3e4e22fb0c3e1d82f66e67f6592949e48f3995a. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-09-02pcf50633: move messages to appropriate log levelsArnaud Patard
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-09-02pcf50606: move messages to appropriate log levelsArnaud Patard
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-09-02Revert "AR6000: move low-level cleanup from ar6000_destroy to ar6000_close"Paul Fertser
This reverts commit 9c4451ff31b937a478f3d3eabef30b71cbe12b12. This commit made wifi unusable after ifconfig down and sometimes after unbinding.
2009-08-27Silence suspend/resumeThomas White
This removes a few excess printks to tidy up suspend/resume. Identical changes exist in andy-tracking already Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-23Fix max voltage of LDO1Sven Rebhan
This patch fixes a typo in the voltage setting of LDO1. In the function mangle_pmu_pdata_by_system_rev() the value of min_uV is set twice, while the value of max_uV stays at the initialized value. This leaves us with .constraints.min_uV = 3300000 and .constraints.max_uV = 1300000, which is probably not what we want. This patch is only required on andy-tracking. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-08-22Remove 'vram_base'Thomas White
This isn't needed any more. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-22Release mapping resources when deleting a GEM objectThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-22Zero VRAM before passing to userspaceThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-20Initial buffer wait/IRQ stuffThomas White
IRQ stuff brought across from earlier work by Andreas. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-19Move glamo_ioctl_gem_wait_rendering() to glamo-cmdq.cThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-19Formatting fussinessThomas White
2009-08-19Remove KMS function announcementsThomas White
I'm happy with how this works, now. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-18Remove CmdQ wrap-around printkThomas White
This works - no need for the message any more. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-16Unlock mutex on unsuccessful mmapThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-16FormattingThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-08-16Remove unused snippetThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>