[PATCH] Patch pvr2 driver to allow development of maple bus driver



This patch makes the PVR2 VBLANK interrupt on the SEGA Dreamcast
shareable - a small but necessary change to enable ongoing efforts to
develop a driver for the maple bus on the Dreamcast. (Maple is Sega's
proprietary serial interface for the Dreamcast and can be set to
synchronise dma transfers to the VBLANK).

This has no impact on the performance of the PVR2.

Signed-off by Adrian McMenamin <adrian@xxxxxxxxxxxxxxxxx>

diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c
index 7d6c298..13de07f 100644
--- a/drivers/video/pvr2fb.c
+++ b/drivers/video/pvr2fb.c
@@ -890,7 +890,7 @@ static int __init pvr2fb_dc_init(void)
pvr2_fix.mmio_start = 0xa05f8000; /* registers start here */
pvr2_fix.mmio_len = 0x2000;

- if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, 0,
+ if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, IRQF_SHARED,
"pvr2 VBL handler", fb_info)) {
return -EBUSY;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] Patch pvr2 driver to allow development of maple bus driver
    ... develop a driver for the maple bus on the Dreamcast. ... This has no impact on the performance of the PVR2. ... sharable implies the interrupt handler checks to see if it actually ...
    (Linux-Kernel)
  • Re: Problems with framebuffer in 2.6.22-git17
    ... Antonino A. Daplas wrote: ... > I ma having problems with the pvr2 fb on the Dreamcast in 2.6.22-git17 ... > - when the code is executed it appears to lock the Dreamcast up. ... Try reverting commit a66ad56eb2c9644717da4d7f05f971d6786145e3. ...
    (Linux-Kernel)
  • Problems with framebuffer in 2.6.22-git17
    ... I ma having problems with the pvr2 fb on the Dreamcast in 2.6.22-git17 ... - when the code is executed it appears to lock the Dreamcast up. ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)