Re: New FBDev patch

From: James Simmons
Date: Fri Jan 09 2004 - 14:56:12 EST



> > This is the latest patch against 2.6.0-rc3. Give it a try.
> >
> > http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
>
> This looks wrong (cyber2000fb.c):

Yeap it is. Typo.

> sizeof(u32) != 32. Proper fix is to place the pseudopalette array
> inside cfb_info, and dispense with this addition here.

You have to make sure the struct fb_info pseudopalette points to the data
in cfb_info. Actually only drivers should allocate the pseudopalette at
boot time if the hardware doesn't support mode change. In the other case
the pseudopalette should be allocated in set_par.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/