/* Work out if the given window supports palletised data at the specified bpp.  */
static int s3c_fb_win_has_palette(unsigned int win, unsigned int bpp)
/* Work out if the given window supports palletised data at the specified bpp.  */
static int s3c_fb_win_has_palette(unsigned int win, unsigned int bpp)
{
	return s3c_fb_win_pal_size(win) <= (1 << bpp);
}