Hi devels

I'm currently trying to implement a gfxdriver for a custom design based on an Leon chip on an Altera FPGA. I have managed to mmap the video hardware I/O registers to the gfxdriver so it is succesfully initialized, probed and started

I run an example directfb application that does some blits with alphachannel blend which is the first function i want to accelerate. I see the enginesync and checkstate functions get called but not the setstate and blit functions

In checkstate i call

state->accel |= DFXL_BLIT;

and in setstate

state->set |= DFXL_BLIT;
state->mod_hw = 0;

also in blit i just return true

in initdriver is set

funcs->CheckState            = sciensis_check_state;
funcs->SetState                = sciensis_set_state;
funcs->EngineSync           = sciensis_engine_sync;
funcs->Blit                        = sciensis_blit;

and finally in initdevice

dev_info->caps.flags = CCF_CLIPPING;
dev_info->caps.accel = DFXL_BLIT;
dev_info->caps.blitting = DSBLIT_ALL;

the last just to be sure

after the gfxdriver is initialized and probed i get

(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop resolution to 320x240 failed!
    -> Using default resolution.
(!) DirectFB/DirectFBCreate: Setting desktop format failed!
    -> Using default format.
(!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
    -> No virtual resolution support or not enough memory?
       Falling back to system back buffer.

that i saw comes from the layers module

i have a framebuffer fixed 320x240x32 @ 0x50000000 (address)
it has allocated 600k of mem

what could be the problem?


thanx in advance guys and girls

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to