HomeFreeBSD

efifb: vt_generate_cons_palette() takes max color, not mask

Description

efifb: vt_generate_cons_palette() takes max color, not mask

vt_generate_cons_palette() does take max values of RGB component colours, not
mask. Also we need to set info->fb_cmsize, or vt_fb_init() will re-initialize
the info->fb_cmap.

Details

Provenance
tsoomeAuthored on
Parents
rS367430: Make powerpc use MAXARGS (defined as 8) instead of hardcoding '10'.
Branches
Unknown
Tags
Unknown