From: Geert Uytterhoeven Date: Mon, 21 Nov 2011 20:53:58 +0000 (+0100) Subject: fbdev/amifb: Enable Copper DMA after setting up the Copper X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=af5761d609290375cb8bc4ee77293da2560c574a;p=linux-beck.git fbdev/amifb: Enable Copper DMA after setting up the Copper Else the Copper may start executing random instructions Signed-off-by: Geert Uytterhoeven Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c index 13e7a179f8d4..2bfaf1b86d46 100644 --- a/drivers/video/amifb.c +++ b/drivers/video/amifb.c @@ -3733,17 +3733,15 @@ default_chipset: memset(dummysprite, 0, DUMMYSPRITEMEMSIZE); /* - * Enable Display DMA + * Make sure the Copper has something to do */ - - custom.dmacon = DMAF_SETCLR | DMAF_MASTER | DMAF_RASTER | DMAF_COPPER | - DMAF_BLITTER | DMAF_SPRITE; + ami_init_copper(); /* - * Make sure the Copper has something to do + * Enable Display DMA */ - - ami_init_copper(); + custom.dmacon = DMAF_SETCLR | DMAF_MASTER | DMAF_RASTER | DMAF_COPPER | + DMAF_BLITTER | DMAF_SPRITE; if (request_irq(IRQ_AMIGA_COPPER, amifb_interrupt, 0, "fb vertb handler", ¤tpar)) {