[coreboot-gerrit] Change in ...coreboot[master]: IntelFB: Add support for Intel font driver
build bot (Jenkins) (Code Review)
gerrit at coreboot.org
Wed Dec 12 09:28:02 CET 2018
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30182 )
Change subject: IntelFB: Add support for Intel font driver
......................................................................
Patch Set 1:
(21 comments)
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.h
File src/drivers/intel/fb/fbdriver.h:
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.h@8
PS1, Line 8: FB_POS_CENTER=0,
spaces required around that '=' (ctx:VxV)
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.h@12
PS1, Line 12: }FB_POS;
space required after that close brace '}'
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c
File src/drivers/intel/fb/fbdriver.c:
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@41
PS1, Line 41: unsigned char *glyph = font8x16 + ((ch & 0xFF) * FONT_HEIGHT);
code indent should use tabs where possible
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@41
PS1, Line 41: unsigned char *glyph = font8x16 + ((ch & 0xFF) * FONT_HEIGHT);
please, no spaces at the start of a line
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@42
PS1, Line 42: return glyph[y/FONT_SCALE] & (1 << x/FONT_SCALE);
code indent should use tabs where possible
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@42
PS1, Line 42: return glyph[y/FONT_SCALE] & (1 << x/FONT_SCALE);
please, no spaces at the start of a line
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@53
PS1, Line 53: status = fsp_fill_lb_framebuffer (&fb_info);
space prohibited between function name and open parenthesis '('
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@59
PS1, Line 59: printk (BIOS_DEBUG, "Inverse framebuffer color\n");
space prohibited between function name and open parenthesis '('
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@61
PS1, Line 61: memset ((void *)FB, 0xffffffff, bytes);
space prohibited between function name and open parenthesis '('
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@67
PS1, Line 67: void intelfb_destroy()
Bad function definition - void intelfb_destroy() should probably be void intelfb_destroy(void)
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@77
PS1, Line 77: void intelfb_clear()
Bad function definition - void intelfb_clear() should probably be void intelfb_clear(void)
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@100
PS1, Line 100: for(y = 0; y < font_height; y++) {
space required before the open parenthesis '('
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@101
PS1, Line 101: for(x = font_width - 1; x >= 0; x--) {
space required before the open parenthesis '('
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@102
PS1, Line 102: dst32 = (u32 *)(dst + (font_width - x) * (FI.bits_per_pixel >> 3));
line over 80 characters
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@104
PS1, Line 104: *dst32 = font_glyph_filled(ch, x, y) ? 0: 0xffffffff;
line over 80 characters
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@104
PS1, Line 104: *dst32 = font_glyph_filled(ch, x, y) ? 0: 0xffffffff;
spaces required around that ':' (ctx:VxW)
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@106
PS1, Line 106: *dst32 = font_glyph_filled(ch, x, y) ? 0xffffffff : 0;
line over 80 characters
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@126
PS1, Line 126: switch(position){
space required before the open brace '{'
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@126
PS1, Line 126: switch(position){
space required before the open parenthesis '('
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@136
PS1, Line 136: int_row = (4 *(vres / 5)) - (4 * FONT_SCALE);
need consistent spacing around '*' (ctx:WxV)
https://review.coreboot.org/#/c/30182/1/src/drivers/intel/fb/fbdriver.c@147
PS1, Line 147: for(index = 0; index < len; index++) {
space required before the open parenthesis '('
--
To view, visit https://review.coreboot.org/c/coreboot/+/30182
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I70715d9c84dae2d0efa1631649ce27ea3c39e237
Gerrit-Change-Number: 30182
Gerrit-PatchSet: 1
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela at intel.com>
Gerrit-Reviewer: Balaji Manigandan <balaji.manigandan at intel.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela at intel.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Patrick Rudolph <siro at das-labor.org>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi at intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik at intel.com>
Gerrit-CC: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-Comment-Date: Wed, 12 Dec 2018 08:28:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181212/7d6f9e01/attachment.html>
More information about the coreboot-gerrit
mailing list