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 Nov 6 2020, 9:27 PM
Parents
rG096068b976e5: Make powerpc use MAXARGS (defined as 8) instead of hardcoding '10'.
Branches
Unknown
Tags
Unknown

Event Timeline