Reply
Thread Tools
Posts: 38 | Thanked: 2 times | Joined on Apr 2010 @ Novosibirsk, Russia
#1
Hello!
I built omap_resizer module as explained in http://wiki.maemo.org/Documentation/...o_Kernel_Guide

Then I compiled test program which use omap_resizer module for resize some test image. But omap_resizer module is stuck on function
Code:
wait_for_completion_interruptible(&device_config->compl_isr);
This interrubtible is completed in callback function
Code:
rsz_isr
which sets as callback by calling isp_mod`s function:
Code:
isp_set_callback(fh->dev, CBK_RESZ_DONE, rsz_isr, (void *) NULL,
							(void *)NULL))
As you see, callback is set for event CBK_RESZ_DONE.

But this callback is never being called...

Any ideas?

Last edited by Grinchman; 2010-08-04 at 06:44.
 
Posts: 38 | Thanked: 2 times | Joined on Apr 2010 @ Novosibirsk, Russia
#2
I investigated maemo kernel sources for ISP module. And found that ISP in function isp_set_callback not control CBK_RESZ_DONE event! They contol only CBK_PREV_DONE!!!
Code:
switch (type) {
	case CBK_PREV_DONE:
		isp_reg_writel(dev, IRQ0ENABLE_PRV_DONE_IRQ,
			       OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS);
		isp_reg_or(dev, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0ENABLE,
			   IRQ0ENABLE_PRV_DONE_IRQ);
		break;
	default:
		break;
	}
And now how to use resizer module in maemo without rebuilding kernel with correct isp module?
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:08.