Commit 0ce4dfab authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Amifb wrong interrupt

Amiga frame buffer device: request the correct interrupt, so we no longer get
spurious interrupts. The old code worked only by accident.

To avoid flicker when updating the display parameters, we do not use the real
vertical blank interrupt, but instead ask the Copper to generate an interrupt
after the bitplane and sprite pointers have been set up at the beginning of
each frame.
parent d4aa631a
...@@ -1757,7 +1757,7 @@ int __init amifb_init(void) ...@@ -1757,7 +1757,7 @@ int __init amifb_init(void)
ami_init_copper(); ami_init_copper();
if (request_irq(IRQ_AMIGA_VERTB, amifb_interrupt, 0, if (request_irq(IRQ_AMIGA_COPPER, amifb_interrupt, 0,
"fb vertb handler", &currentpar)) { "fb vertb handler", &currentpar)) {
err = -EBUSY; err = -EBUSY;
goto amifb_error; goto amifb_error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment