dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Geert Uytterhoeven 2011-11-21 21:53:58 +01:00 committed by Florian Tobias Schandinat
parent 03c740a04c
commit af5761d609
1 changed files with 6 additions and 8 deletions

View File

@ -3732,19 +3732,17 @@ default_chipset:
memset(dummysprite, 0, DUMMYSPRITEMEMSIZE);
/*
* Enable Display DMA
*/
custom.dmacon = DMAF_SETCLR | DMAF_MASTER | DMAF_RASTER | DMAF_COPPER |
DMAF_BLITTER | DMAF_SPRITE;
/*
* Make sure the Copper has something to do
*/
ami_init_copper();
/*
* Enable Display DMA
*/
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", &currentpar)) {
err = -EBUSY;