/* @info: frame buffer structure that represents a single frame buffer structure defining the image.  */
static void tgafb_imageblit(struct fb_info *, const struct fb_image *)
/* @info: frame buffer structure that represents a single frame buffer structure defining the image.  */
static void tgafb_imageblit(struct fb_info *, const struct fb_image *)
{
	unsigned int is8bpp = info->var.bits_per_pixel == 8;
	if (image->depth == 1) {
		tgafb_mono_imageblit(info, image);
		return;
	}
	if (image->depth == info->var.bits_per_pixel) {
		cfb_imageblit(info, image);
		return;
	}
	if (!is8bpp && image->depth == 8) {
		tgafb_clut_imageblit(info, image);
		return;
	}
}