[Openchrome-devel] Bug in 2d initialization

Bartosz Kosiorek gang65
Mon Mar 16 04:24:12 PDT 2009


Hello.
I found a bug in accel.c file (VIAInitialize2DEngine function).
For example in VIA driver the registers initialization was from
register 0x04 to 0x40.
In Openchrome is:

for (i = 0x04; i < 0x40; i += 4) {
        VIASETREG(i, 0x0);
    }

I changed it to

for (i = 0x04; i <= 0x40; i += 4) {
        VIASETREG(i, 0x0);
    }

Best Regards
Bartosz Kosiorek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop.patch
Type: application/octet-stream
Size: 562 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-devel/attachments/20090316/a0fcfdf6/loop.obj



More information about the Openchrome-devel mailing list