New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=89d526030502850095cdb611b43ce1011a15413e
commit 89d526030502850095cdb611b43ce1011a15413e
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Sun Dec 9 10:06:14 2007 +0100
DAVINCI: Hardware acceleration using the DSP with a special firmware and
kernel module.
The DSP runs an ~8k firmware (in L1 cache) and provides different
functions. These
are called by writing a command packet into the 512k command queue in
memory. Each
function can have up to seven 32 bit arguments, up to eight flags and a sub
function
index of 8 bit.
There's a low and high priority queue, but only one is implemented at the
moment. The
idea is that the high priority queue can preempt the low priority queue at
any time when
a command is added. The low priority queue can only continue when the high
priority queue
is empty.
There are no interrupts from DSP nor to it so far. Waiting for a free queue
entry or for
an empty queue uses usleep() at the moment, but it's working quite well. An
interrupt handler
and a few ioctls() should be added.
Text rendering is just white at the moment. Blended rectangle filling will
be implemented.
Graphics Layer updates from ARGB to RGB16/A3 (dithered) planes are done by
the DSP, very fast.
We're mainly working on MPEG2 at the moment...
Benchmarking with 256x256 in 16bit mode... (16bit)
Fill Rectangle 20.936 secs (* 59.788
MPixel/sec) [ 7.4%]
Fill Rectangles [10] 23.168 secs (* 61.383
MPixel/sec) [ 0.3%]
Fill Spans 3.136 secs (* 45.975
MPixel/sec) [ 1.2%]
Blit 25.328 secs (* 48.127
MPixel/sec) [ 9.0%]
Blit colorkeyed 25.542 secs (* 47.724
MPixel/sec) [ 8.8%]
Benchmarking with 256x256 in 24bit mode... (32bit)
Anti-aliased Text 3.020 secs (* 138.278
KChars/sec) [ 99.3%]
Anti-aliased Text (blend) 3.040 secs (* 139.736
KChars/sec) [ 99.3%]
Fill Rectangle 31.360 secs (* 37.825
MPixel/sec) [ 4.7%]
Fill Rectangles [10] 32.120 secs (* 37.950
MPixel/sec) [ 0.1%]
Fill Spans 3.270 secs (* 32.066
MPixel/sec) [ 0.9%]
Blit 39.580 secs (* 29.307
MPixel/sec) [ 5.3%]
Blit colorkeyed 35.560 secs (* 32.989
MPixel/sec) [ 6.0%]
Blit with colorizing 39.600 secs (* 29.292
MPixel/sec) [ 5.7%]
Blit from 32bit (blend) 36.960 secs (* 31.562
MPixel/sec) [ 6.0%]
Blit from 32bit (blend) with colorizing 36.960 secs (* 31.562
MPixel/sec) [ 6.3%]
gfxdrivers/davinci/Makefile.am | 26 +-
gfxdrivers/davinci/Makefile.kernel | 5 +
gfxdrivers/davinci/davinci_2d.c | 375 +++++++-
gfxdrivers/davinci/davinci_2d.h | 52 +-
gfxdrivers/davinci/davinci_c64x.c | 958 ++++++++++++++++++++
gfxdrivers/davinci/davinci_c64x.h | 345 +++++++
gfxdrivers/davinci/davinci_gfxdriver.c | 66 +-
gfxdrivers/davinci/davinci_gfxdriver.h | 98 ++-
gfxdrivers/davinci/davinci_osd.c | 195 ++--
gfxdrivers/davinci/davinci_osd.h | 2 +-
gfxdrivers/davinci/davinci_osd_pool.c | 2 +-
gfxdrivers/davinci/davinci_osd_pool.h | 2 +-
gfxdrivers/davinci/davinci_screen.c | 2 +-
gfxdrivers/davinci/davinci_screen.h | 2 +-
gfxdrivers/davinci/davinci_video.c | 21 +-
gfxdrivers/davinci/davinci_video.h | 2 +-
gfxdrivers/davinci/davinci_video_pool.c | 2 +-
gfxdrivers/davinci/davinci_video_pool.h | 2 +-
gfxdrivers/davinci/directfbrc | 56 ++
gfxdrivers/davinci/kernel-module/c64x/c64x.c | 407 +++++++++
.../davinci/kernel-module/include/linux/c64x.h | 158 ++++
21 files changed, 2550 insertions(+), 228 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=b840827a900828b5c17d66ca279da0d3f319ef20
commit b840827a900828b5c17d66ca279da0d3f319ef20
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Sun Dec 9 06:11:02 2007 +0100
FUSION-SHM: Added "ramfs" to possible types during mount point probing.
lib/fusion/shm/shm.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=83ae918134e0c4a696f6a43f2d3903da5caff42b
commit 83ae918134e0c4a696f6a43f2d3903da5caff42b
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Sun Dec 9 06:08:41 2007 +0100
DEBUG: Added checks if debug support is disabled.
If DIRECT_ENABLE_DEBUG is defined, silently undefine it.
If DIRECT_FORCE_DEBUG is define, show a warning and undefine it.
lib/direct/build.h.in | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs