lcd: align fb writing address for horizontal display offset
PATCH 1/1 lcd: align fb writing address for horizontal display offset
CONFIG_SPLASH_SCREEN_ALIGN makes uboot support display offset for splashimage. The framebuffer writing address should be calculated according to different kinds of framebuffer pixel format, i.e., bits per pixel value.
--- common/lcd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/lcd.c +1 -1
@@ -731,7 +731,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y) bmap = (uchar *)bmp +le32_to_cpu (bmp->header.data_offset); fb = (uchar *) (lcd_base + - (y + height -1 ) * lcd_line_length + x); + (y + height -1 ) * lcd_line_length + x * bpix /8 );switch (bmp_bpix) {case 1 :/* pass through */
Signature · 1 line
1.6.3.3
PATCH 1/1 lcd: align fb writing address for horizontal display offset
Hello,
I sent the following patch for view about 2 weeks ago and haven't got any comment till now. Could anyone help to give comments? Thanks.
Best Regards,
Liu Ying
-----Original Message-----
From: Liu Ying-B17645
Sent: Tuesday, January 11, 2011 3:30 PM
To: u-boot at lists.denx.de
Cc: Liu Ying-B17645
Subject: [U-Boot][PATCH 1/1] lcd: align fb writing address for horizontal display offset
CONFIG_SPLASH_SCREEN_ALIGN makes uboot support display offset for splashimage. The framebuffer writing address should be calculated according to different kinds of framebuffer pixel format, i.e., bits per pixel value.
--- common/lcd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/lcd.c +1 -1
@@ -731,7 +731,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y) bmap = (uchar *)bmp +le32_to_cpu (bmp->header.data_offset); fb = (uchar *) (lcd_base + - (y + height -1 ) * lcd_line_length + x); + (y + height -1 ) * lcd_line_length + x * bpix /8 );switch (bmp_bpix) {case 1 :/* pass through */
--
1.6.3.3
PATCH 1/1 lcd: align fb writing address for horizontal display offset
Dear Liu Ying-B17645,
Quoted 5 lines · In message <D62B998DB8EFB547B4D75C9E57658A7F0BED86@039-SN1MPN1-006.039d.mgd.msf…
Hello,
I sent the following patch for view about 2 weeks ago and haven't got any c= omment till now.
Could anyone help to give comments? Thanks.
It would definitely help if you put the responsible custodian on Cc:
[Done now.]
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A man is not complete until he is married -- then he is finished.
PATCH 1/1 lcd: align fb writing address for horizontal display offset
In reply to Liu Ying-B17645Hello,
Quoted 4 lines · On Wed, 26 Jan 2011 01:52:33 +0000 Liu Ying-B17645 <[email protected]> wrote:
Hello,
I sent the following patch for view about 2 weeks ago and haven't got any comment till now. Could anyone help to give comments? Thanks.
Thanks! Your patch is delegated to me and is currently under review, please see [1]. Sorry it takes so long, I'm quite busy now, but I'll have a look at it soon. Please put me on Cc: next time when submitting video related patches, it should help.
Best regards,
Anatolij
PATCH 1/1 lcd: align fb writing address for horizontal display offset
In reply to Liu YingHello,
Quoted 9 lines · On Tue, 11 Jan 2011 15:29:58 +0800 Liu Ying <[email protected]> wrote:
CONFIG_SPLASH_SCREEN_ALIGNmakes uboot support display offset for splashimage. The framebuffer writing address should be calculated according to different kinds of framebuffer pixel format, i.e., bits per pixel value.Signed-off-by Liu Ying <[email protected]>--- common/lcd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied to u-boot-video/master. Thanks!
Anatolij
PATCH 1/1 lcd: align fb writing address for horizontal display offset
Hello, Anatolij,
Thanks for your review!
Best Regards,
Liu Ying
-----Original Message-----
From: Anatolij Gustschin [mailto:agust at denx.de]
Sent: Thursday, January 27, 2011 7:29 AM
To: Liu Ying-B17645
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH 1/1] lcd: align fb writing address for horizontal display offset
Hello,
Quoted 9 lines · On Tue, 11 Jan 2011 15:29:58 +0800 Liu Ying <[email protected]> wrote:
CONFIG_SPLASH_SCREEN_ALIGNmakes uboot support display offset for splashimage. The framebuffer writing address should be calculated according to different kinds of framebuffer pixel format, i.e., bits per pixel value.Signed-off-by Liu Ying <[email protected]>--- common/lcd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied to u-boot-video/master. Thanks!
Anatolij