Age | Commit message (Collapse) | Author |
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
|
|
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>
|
|
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>
|
|
This allows "/dev/fb0" to work correctly with mmap().
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
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>
|
|
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>
|
|
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: Thomas White <taw@bitwiz.org.uk>
|
|
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>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Fixing a stupid mistake in the process...
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Fix compilation error due to missing semicolon
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
This adds kernel support for sending burst commands to the hardware.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
|
|
s/though/thought/
Reported-by: Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
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>
|
|
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>
|
|
General cleanups. Now we pass checkpatch.pl.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
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>
|
|
Remove the dependence to the OLD NET DEV operation
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
|
|
|
|
Muppetry...
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
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>
|
|
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
This reverts commit 9c4451ff31b937a478f3d3eabef30b71cbe12b12.
This commit made wifi unusable after ifconfig down and sometimes after
unbinding.
|
|
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>
|
|
This isn't needed any more.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
IRQ stuff brought across from earlier work by Andreas.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
|
|
I'm happy with how this works, now.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This works - no need for the message any more.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
git+ssh://git-weiss@git.bitwiz.org.uk/srv/git-public/kernel into drm-tracking
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Tidy up a few lines, and remove debug lines which would slow us down.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This fixes the glamo-kms-fb initialisation to ioremap() the proper address for the
framebuffer, rather than just assuming it's at the start of the VRAM.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Fix label usage, making a compiler warning go away in the process.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This removes the last remaining instance of glamo-kms-fb touching Glamo's
registers directly.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Update the copyright notice to include proper BSD credit for the memory mapping
in glamo-buffer.c.
Also removes some superfluous debug messages.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This doesn't work with the current 'standard' DDX, so there's no point trying
to make it work.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Current scheme is fragile and is likely to go off sync, especially on
batfull->adapter charging automatic MBC transition.
Query the status bit every time we need it instead.
We need to export another function to query for USB presence because
we can't read anything from PCF50633 (via I2C) inside irq context and
that is needed by usb gadgets.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|