Hi Tung,
I have tested my FB driver, it’s OK! And I found Boot logo can swap color, but
android system can’t.
I’m puzzled with this. Does system not use FB?
Best regards,
Qingwei
From: lqw1...@gmail.com
Sent: Friday, September 09, 2011 1:58 PM
To: Tung Dang
Cc: android-porting
Subject:
Hi,
Now I have to use BRG564 instead of RGB565, so I modified following codes, but
they have no effect.
file:
mxc_ipuv3_fb.c, function: mxcfb_check_var
..
switch
(var-bits_per_pixel) {
case 8:
..
break;
case 16:
var-red.length = 5;
var-red.offset =
Sorry for mistake: should be BGR565 instead of RGB565
From: lqw1...@gmail.com
Sent: Thursday, September 08, 2011 8:06 PM
To: android-porting
Subject: i.MX51 BBG: How to swap red color with blue on DIPS2 (RGB565)
Hi,
Now I have to use BRG564 instead of RGB565, so I modified following codes,
Hi,
Now I have to use BGR565 instead of RGB565, so I modified following codes,
but they have no effect.
file:
mxc_ipuv3_fb.c, function: mxcfb_check_var
..
switch
(var-bits_per_pixel) {
case 8:
..
break;
case 16:
var-red.length = 5;
var-red.offset = 11; 0
Hi, Dang,
We’re using driver/video/mxc/mxc_ipuv3_fb.c as framebuffer driver, and I think
the only thing I should do is modify check_var to re-define fb_bitfield, right?
Or I should modify other file? Could you please give a example or further tips?
Thanks a lot!
BR,
Qingwei
From: Tung Dang
Hi Tung,
Thank you!
I have ever done the similar thing with our FB driver, but it did not take
effect. Maybe our platform made some special changes, or driver has bugs. I’ll
check them carefully.
BTW, I wonder if there is another way to implement, e.g. modify fbmem.c or
other files.
Best