mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-01 03:32:26 +03:00
asus-*: fixes framebuffer patches...
The parameters were wrong for BGRA. asus-flo had mismatched field positions. Both devices had one offset two bits wrongly positioned. Hope nobody sees this, ever...
This commit is contained in:
parent
497fae7233
commit
350ca1b90a
@ -25,16 +25,16 @@ index a9cc8705345..444d7cd2beb 100644
|
||||
+ fix->xpanstep = 1;
|
||||
+ fix->ypanstep = 1;
|
||||
+ var->vmode = FB_VMODE_NONINTERLACED;
|
||||
+ var->blue.offset = 8;
|
||||
+ var->green.offset = 16;
|
||||
+ var->red.offset = 8;
|
||||
+ var->blue.length = 24;
|
||||
+ var->blue.offset = 0;
|
||||
+ var->green.offset = 8;
|
||||
+ var->red.offset = 16;
|
||||
+ var->blue.length = 8;
|
||||
+ var->green.length = 8;
|
||||
+ var->red.length = 8;
|
||||
+ var->blue.msb_right = 0;
|
||||
+ var->green.msb_right = 0;
|
||||
+ var->red.msb_right = 0;
|
||||
+ var->transp.offset = 0;
|
||||
+ var->transp.offset = 24;
|
||||
+ var->transp.length = 8;
|
||||
+ bpp = 4;
|
||||
+ break;
|
||||
|
@ -23,7 +23,7 @@ index 075ee8a3880..b4531f66a06 100644
|
||||
+ var->vmode = FB_VMODE_NONINTERLACED;
|
||||
+ var->blue.offset = 0;
|
||||
+ var->green.offset = 8;
|
||||
+ var->red.offset = 18;
|
||||
+ var->red.offset = 16;
|
||||
+ var->blue.length = 8;
|
||||
+ var->green.length = 8;
|
||||
+ var->red.length = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user