Dec 3 2004, 01:52 AM
Post
#1
|
|
|
Group: Members Posts: 153 Joined: 5-January 04 Member No.: 1,081 |
I've been looking at the kernel source for the SL6000's framebuffer driver, and I can see an API provided to access the hardware acceleration - but it's documentation is pretty much zero
The only example of it being actually used in the driver itself is the tc6393_clear_screen() function, that uses the hardware rectangle fill to clear the screen. There's a very interesting looking command set provided in the tc6393fb.h file, and an ioctl provided to pass lists of commands to the graphics hardware for processing - but the actual commands (although defined) aren't actually documented The clear screen example in the driver is static u32 cmd[6]; cmd[0] = PXAIO_COMDI_DSADR|PXAIO_COMDD_DSADR(((int)remapped_fbuf)); cmd[1] = PXAIO_COMDI_DHPIX|PXAIO_COMDD_DHPIX(xres - 1); cmd[2] = PXAIO_COMDI_DVPIX|PXAIO_COMDD_DVPIX(yres - 1); cmd[3] = PXAIO_COMDI_FILL|PXAIO_COMDD_FILL(0xffff); cmd[4] = PXAIO_COMDI_FLGO; Using the ioctl interface to the framebuffer, this would be: static u32 cmd[6]; cmd[0] = 5; cmd[1] = PXAIO_COMDI_DSADR|PXAIO_COMDD_DSADR(((int)remapped_fbuf)); cmd[2] = PXAIO_COMDI_DHPIX|PXAIO_COMDD_DHPIX(xres - 1); cmd[3] = PXAIO_COMDI_DVPIX|PXAIO_COMDD_DVPIX(yres - 1); cmd[4] = PXAIO_COMDI_FILL|PXAIO_COMDD_FILL(0xffff); cmd[5] = PXAIO_COMDI_FLGO; ioctl(fbHandle,TC6393FB_ACC_CMD_WRITE,cmd); and then I'm guessing that if you want to make sure it's completed before carrying on, you can use: ioctl(fbHandle,TC6393FB_ACC_SYNC,0); But the tc6393 looks like it can do blitting as well....I've no idea what the rest of the command API def's actually do though? And glory be - Toshiba haven't released a datasheet for the chip When I eventually get my hands on my SL6000 (my wife's hidden it 'til Christmas) I'll start trying some of the commands, see if I can work it out through trial & error.....unless someone else beats me to it of course SDL would go much quicker with a bit of the ol' hardware accel... |
|
|
|
![]() |
Apr 16 2005, 11:01 AM
Post
#2
|
|
|
Group: Members Posts: 88 Joined: 8-January 05 Member No.: 6,156 |
any new about the TC6393XB video chip ? do someone work on a hardware accelarated display ?
do someone know about video performace of the sl6000l compare to the c1000 or c3000 (TC6393XB video chip vs W100) |
|
|
|
Apr 16 2005, 03:44 PM
Post
#3
|
|
|
Group: Members Posts: 500 Joined: 17-January 04 From: St. Louis, USA Member No.: 1,478 |
|
|
|
|
Apr 16 2005, 05:22 PM
Post
#4
|
|
|
Group: Members Posts: 88 Joined: 8-January 05 Member No.: 6,156 |
QUOTE(xjqian @ Apr 16 2005, 11:44 PM) QUOTE(seed @ Apr 16 2005, 02:01 PM) do someone know about video performace of the sl6000l compare to the c1000 or c3000 (TC6393XB video chip vs W100) video performance seems to be worse than than those with hardware accl. ..... i dont clearly understand performance of the sl6000l are worse than c1000?? |
|
|
|
cwaig Sl6000 Hardware Accelerated Display? Dec 3 2004, 01:52 AM
GoLinux Is this the same device?
http://www.mnementh.co.u... Dec 4 2004, 09:24 AM
cwaig I believe the part number is TC6393XB - there... Dec 4 2004, 10:30 AM
guylhem That would be a sweet addon to libsdl Dec 5 2004, 07:25 AM
GoLinux cwaig,
the information you can find at the link I... Dec 6 2004, 10:38 PM
psycoman asny news about TC6393XB video chip ? Jan 2 2005, 10:02 AM
GoLinux Not yet... I only found this guy who wrote a drive... Jan 3 2005, 01:38 PM
psycoman yeap, i send a email to this guy, he will send a p... Jan 4 2005, 02:43 AM
jcabrer QUOTE(psycoman @ Jan 4 2005, 03:43 AM)yeap, i... Jan 4 2006, 05:09 PM
speculatrix QUOTE(psycoman @ Jan 4 2005, 11:43 AM)yeap, i... Jan 24 2006, 06:09 AM
psycoman i get with ion, one documentation about the chip.
... Jan 5 2005, 05:29 AM
cwaig Has anyone made any progress with this (or seen th... Jan 17 2005, 12:46 PM
xjqian QUOTE(seed @ Apr 16 2005, 08:22 PM)QUOTE(xjqi... Apr 17 2005, 10:52 AM
seed [/quote]
not sure about c1k and c3k. but worse tha... Apr 17 2005, 01:51 PM
guylhem cwaig, did you got the docs I sent ?
Any progress... Apr 17 2005, 11:53 AM
seed any new about this Jun 12 2005, 07:13 PM
the_oak Any new developments in video hardware acceleratio... Jul 30 2005, 10:04 AM
speculatrix bump! Nov 16 2005, 02:44 PM
guylhem without the chip technical manual, no hope. Nov 17 2005, 05:51 PM
mahadri Sharp's tc6393fb.h has enough information to e... Nov 28 2005, 02:28 AM
speculatrix QUOTE(mahadri @ Nov 28 2005, 11:28 AM)Sharp... Nov 28 2005, 02:40 AM
mahadri QUOTE(speculatrix @ Nov 28 2005, 05:40 AM)thi... Nov 28 2005, 03:10 AM
speculatrix p.s. and I'll gladly contribute to a beer fund... Nov 28 2005, 02:41 AM
guylhem Hello
By any chance, would you have the chip tech... Dec 2 2005, 03:34 AM
xenophobe QUOTESharp's tc6393fb.h has enough information... Dec 8 2005, 08:15 AM
jcabrer My first response from Toshiba is displayed below.... Jan 5 2006, 09:49 AM
speculatrix Just to note that the MSDN site has a comment abou... Jan 5 2006, 01:33 PM
jcabrer QUOTE(speculatrix @ Jan 5 2006, 02:33 PM)Just... Jan 5 2006, 02:20 PM
speculatrix QUOTE(jcabrer @ Jan 5 2006, 11:20 PM)QUOTE(sp... Jan 5 2006, 03:56 PM
jcabrer Well, it's not the TC6393XB, but it is VERY CL... Jan 5 2006, 03:03 PM
jgardia QUOTE(jcabrer @ Jan 5 2006, 11:03 PM)Well, it... Jan 5 2006, 03:51 PM

speculatrix QUOTE(jgardia @ Jan 6 2006, 12:51 AM)group of... Jan 5 2006, 03:57 PM

jgardia QUOTE(speculatrix @ Jan 5 2006, 11:57 PM)QUOT... Jan 5 2006, 04:17 PM
dirk QUOTE(jcabrer @ Jan 6 2006, 12:03 AM)Well, it... Jan 5 2006, 11:27 PM
speculatrix looks quite useful, albeit it's a hardware ref... Jan 5 2006, 03:45 PM
jcabrer Ok. I don't think Toshiba is going to give me... Jan 6 2006, 10:55 AM
jcabrer Looks like I spoke too soon.
QUOTEHi John,
We... Jan 6 2006, 03:42 PM
jcabrer And here is the final nail in the coffin. The tec... Jan 18 2006, 04:41 PM
DrWowe I'm quite confident that, given some time, eve... Jan 18 2006, 09:22 PM
speculatrix progress seems quite slow on this... I am really r... Jan 23 2006, 03:32 PM
xenophobe I had achieve some more progress in graphics accel... Jan 24 2006, 05:30 AM
xenophobe One more thing about Tosa acceleration.
If you tak... Jan 24 2006, 05:42 AM
speculatrix any news at all on this.. even a slightly improved... Apr 9 2006, 02:33 PM
speculatrix I now work in the science park in Cambridge, and t... Jun 5 2006, 12:48 PM
GoLinux Hi guys,
I'm afraid it might only be about th... Oct 29 2006, 07:33 PM
speculatrix QUOTE(GoLinux @ Oct 30 2006, 04:33 AM)Hi guys... Oct 30 2006, 02:45 AM
sdjf I have found the Tosa ROM 1.12 to be extremely slo... Aug 1 2008, 06:26 AM
speculatrix QUOTE(sdjf @ Aug 1 2008, 03:26 PM) I have... Aug 1 2008, 06:57 AM
sdjf Uh, have done neither AFAIK but I'll go off an... Aug 3 2008, 03:33 AM
the_oak Mine has never been slow switching between already... Aug 3 2008, 05:39 AM
sdjf yeah, did that first thing I'm afraid of gett... Aug 3 2008, 01:50 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 08:14 AM |