On Tue, Oct 4, 2016 at 4:44 PM, Lennart Sorensen
<lsore...@csclub.uwaterloo.ca> wrote:
> On Tue, Oct 04, 2016 at 03:49:12PM +0200, Samuel Thibault wrote:
>> € grep bogl_set_palette *
>> bogl.c:      bogl_set_palette = bogl_fb_set_palette;
>> bogl.c:         bogl_set_palette = bogl_fb_set_palette;
>> bogl.c:         bogl_set_palette = bogl_tcfb_set_palette;
>> bogl.c:   the palette with bogl_set_palette() for this to take effect. */
>> bogl.h:void (*bogl_set_palette) (int c, int nc, const unsigned char 
>> palette[][3]);
>> bogl-test.c:  bogl_set_palette (0, 16, palette);
>> bogl-test.c:      bogl_set_palette (6, 8, pixmap->palette);
>> bowl.c:  bogl_set_palette (0, 16, (const unsigned char (*)[3]) palette);
>> bterm.c:  bogl_set_palette(0, 16, palette);
>> bterm.c:        bogl_set_palette(0, 16, palette);
>> ChangeLog:    * bterm.c (main): Call bogl_set_palette after VT switch.
>>
>> It looks like bterm always set only colors 0-15.
>
> So it does.  Hmm, I will compare the code some more.
>
> Has it been confirmed that radeonfb does not have wrong colours while
> offb on the same machine does?
>
> And what video mode does radeonfb run with?  I wish someone had dmesg
> dumps of both offb and radeonfb, but I am not having much luck finding
> any with google.

Attached.

Attachment: dmesg.radeonfb.txt.gz
Description: GNU Zip compressed data

Attachment: fbset.radeonfb.txt.gz
Description: GNU Zip compressed data

Attachment: iomem.radeonfb.txt.gz
Description: GNU Zip compressed data

Attachment: dmesg.offb.txt.gz
Description: GNU Zip compressed data

Attachment: fbset.offb.txt.gz
Description: GNU Zip compressed data

Attachment: iomem.offb.txt.gz
Description: GNU Zip compressed data

Reply via email to