Re: [PATCH 5/5] parisc/sticore: Avoid hard-coding built-in font charcount

2020-10-27 Thread Daniel Vetter
On Tue, Oct 27, 2020 at 12:41:02PM -0400, Peilin Ye wrote: > sti_select_fbfont() and sti_cook_fonts() are hard-coding the number of > characters of our built-in fonts as 256. Recently, we included that > information in our kernel font descriptor `struct font_desc`, so use > `fbfont->charcount`

[PATCH 5/5] parisc/sticore: Avoid hard-coding built-in font charcount

2020-10-27 Thread Peilin Ye
sti_select_fbfont() and sti_cook_fonts() are hard-coding the number of characters of our built-in fonts as 256. Recently, we included that information in our kernel font descriptor `struct font_desc`, so use `fbfont->charcount` instead of hard-coded values. This patch depends on patch "Fonts: Add