Age | Commit message (Collapse) | Author |
|
This adds a stopgap measure to permit manipulation of the LCD controller
chip in the absence of an fb notifier chain. It also adds some messing
around with the DPMS stuff.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds some register debugging watchpoints
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Well, duh.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This was uninitialised before.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This also alters some debug lines.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds some missing bits and pieces to make most of the KMS
initialisation flow work.`
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>
|
|
pdev -> platform_dev
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Nearly there...
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds some bits which were missed out before, necessary to
(amongst other things) get the DRM driver's "load" callback to
get called.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds more of the bare bones for KMS, to be fleshed out later.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This just tidies up the Glamo Kconfig file a bit.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This reuinites the "framebuffer" and "work" VRAM areas. With KMS, both roles will be done
by one pool of memory.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
|
|
This implements the ioctl used for mapping GEM objects into memory.
This needs a unit test in glamo-dri-tests, but for the time being appears to
make X.org less segfaulty.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This allows command sequences to make use of buffer objects by providing
their GEM handles.
It also reorganises the code a bit, and adds a lot of missing security stuff.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This fixes things which were broken after the previous commit.
VRAM allocation now appears to work.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This implements the GEM 'create' ioctl.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This just creates a new file for the memory management stuff.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Reinitialise the command queue on resume, so the fun can continue...
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This removes a lot of debugging. We can't afford to splurge out a
page of printk()s on every command submission.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
We must enable the clock divider for the 2D engine in order for
anything interesting to happen. Well, duh.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This just moves the engine enabling calls around a bit.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds [glamo-drm] before the debugging messages.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This still doesn't quite work...
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This implements resetting of the command queue engine.
Hint: Do this before trying to read registers.. :)
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This is just brought across from xf86-video-glamo
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This allows glamo_cmdq_wait() to timeout.
We will probably need to substitute this for something better later on, but for the
time being I wanted to avoid a deadlock if the command queue never cleared.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Tidy up the code in glamodrm_probe by doing glamodrm->gdrm
Pass 'gdrm' to glamo_cmdq_init, not glamo_core (d'oh!)
Enable the command queue engine at the start
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This fixes the licence text at the top of glamo-cmdq.c, noting that code from
Xorg has been incorporated.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This fixes up the Makefile so that the build actually works.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds handling of Glamo's ring buffer at the kernel level, to be accessed
via ioctl DRM_GLAMO_CMDBUF.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This provides the necessary tweak to get our ioctls to be called properly.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Conflicts:
drivers/mfd/glamo/Kconfig
|
|
This patch adds the call to the worker in
bq27000_battery_external_power_changed. Now (un)plugging the USB cable
effects the battery status soon. I don't know if it is possible call
the status change directly.
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
Signed-off-by: Daniel Willmann <daniel@totalueberwachung.de>
|
|
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
|
|
Distributions that use Xorg will not need the workaround at
all and now they can disable it.
Updated configurations to enable it by default.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
~ Cleanup of a redundant call I introduced before.
~ Removed useless assignation.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
To disable the workaround at run-time run:
echo 0 > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.9/glamo3362.0/glamo-fb.0/xglamo_hack
I guess I should add a compile option now to completely disable the workaround but let's call
this an enhancement and let's close the bug now.
By default the workaround is enabled.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Reported-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Disable EXT4 in gta02_moredrivers_defconfig.
Enable reiserfs3 in gta02_moredrivers_defconfig and gta02_packaging_defconfig.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Reported-by: W.Kenworthy <billk@iinet.net.au>
|
|
Removes ext4 support from the packaging defconfig; there is little
value in having this built into the kernel, and a bug in the current
2.6.29-rc3 kernel results in the kernel attempting to mount an ext2
rootfs as ext4, which fails.
Signed-off-by: Mike Westerhof <mwester@dls.net>
|
|
This is the beginnings of the definition of our GEM interface
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds a defconfig for compiling with DRM. Mostly this is just to make my
work with OpenEmbedded a bit easier.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
issue""
This reverts commit aa2dbc74bed8cf60e591c654ba1882011b9a8ece.
Reverting the revert. Sorry for the noise.
Check:
http://lists.openmoko.org/pipermail/openmoko-kernel/2009-April/010023.html
|