Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev/amifb: Enable Copper DMA after setting up the Copper

Else the Copper may start executing random instructions

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>

authored by

Geert Uytterhoeven and committed by
Florian Tobias Schandinat
af5761d6 03c740a0

+6 -8
+6 -8
drivers/video/amifb.c
··· 3733 3733 memset(dummysprite, 0, DUMMYSPRITEMEMSIZE); 3734 3734 3735 3735 /* 3736 - * Enable Display DMA 3737 - */ 3738 - 3739 - custom.dmacon = DMAF_SETCLR | DMAF_MASTER | DMAF_RASTER | DMAF_COPPER | 3740 - DMAF_BLITTER | DMAF_SPRITE; 3741 - 3742 - /* 3743 3736 * Make sure the Copper has something to do 3744 3737 */ 3745 - 3746 3738 ami_init_copper(); 3739 + 3740 + /* 3741 + * Enable Display DMA 3742 + */ 3743 + custom.dmacon = DMAF_SETCLR | DMAF_MASTER | DMAF_RASTER | DMAF_COPPER | 3744 + DMAF_BLITTER | DMAF_SPRITE; 3747 3745 3748 3746 if (request_irq(IRQ_AMIGA_COPPER, amifb_interrupt, 0, 3749 3747 "fb vertb handler", &currentpar)) {