On Wed, Dec 19, 2007 at 06:11:10PM +0100, Andrea Gasparini wrote:
> I want to assign bttv irqs in order to don't share irqs between bttv cards.
> So, can i try to assign "statically", at least for some test, irqs in bttv 
> code?
> Could I lead to some problem doing that?

Yes, the problem is that you can't do what you want. IRQ routing is
dictated by the hardware, it's really about how the INT lines from the
PCI slots are wired up to the interrupt controller. Not something you
can change with a couple of lines of software.

> My idea is to assign statically as best as possibile irq for all bttv chip, 
> inside bttv_probe() and see is it improve in performance or quality.
> 
> I did a simple patch (in attachment) that implement it. 
> Only this doen's work, as I see continuosly 
> 
> Dec 19 16:58:46 localhost kernel: bttv0: timeout: drop=0 irq=0/0, 
> risc=0176f03c, irq.n=21bits: VSYNC HSYNC RISCI
> Dec 19 16:58:46 localhost kernel: bttv0: reset, reinitialize
> Dec 19 16:58:46 localhost kernel: bttv0: PLL: 28636363 => 35468950 . ok

That doesn't suprise me at all.


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature

Reply via email to