[PATCH] SMedia-Glamo-fb hardware cursor and fixes.

andrzej zaborowski balrogg at gmail.com
Wed Jun 4 18:43:00 CEST 2008


Hey,
  I played with the Glamo framebuffer and did some changes, see
attachments and pick the changes you like.

First patch (against recent -andy) fixes some Kconfig confusion,
letting me build without GTA01 and KEXEC disabled.  At least one of
the changes in this patch is correct ;)  The Kconfig dependency pieces
for S3C24xx seem to be needlessly complicated and also broken.

The second file implements hardware cursor in the glamo-fb,
unfortunately this doesn't mean that you can go and use it.  There had
been some code for the hw cursor in the driver already but it was
missing some important parts and other parts were wrong.  I fixed this
and the cursor now looks very pretty, but now I see the Glamo blow up
after a random amount of screen activity and the screen fades to
white, while the rest of the system is unaffected.  Thus, the hw
cursor code is still left #ifdef'ed out, it's just more correct now.

There's some misc clean-up too because glamo-fb.c is cluttered with
lots of commented out and unused code.

In addition I allocate a FB type number in include/linux/fb.h for fb
identification purposes once we implement scrolling/blitting/blending
in hw (not meaning that I'm going to do this now ;)).  I see this
functionality as optional and perhaps enabled with a second Kconfig
option.  I would also like to see some form of malloc for the Glamo
memory instead of hardcoding offsets like we do now.  IIRC Dodji's
Xglamo implemented something like this.

I'll keep playing with different "engines" of the graphics chip in my
free time and see what I come up with.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Build-fixes.patch
Type: text/x-patch
Size: 3747 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080604/8f71dd61/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Hardware-glamo-fb-cursor-some-clean-up.patch
Type: text/x-patch
Size: 8789 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080604/8f71dd61/attachment-0001.bin 


More information about the openmoko-kernel mailing list