default bpp of cvifb is 32 for milkv 8inch display

Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
carbon
2024-06-27 16:48:43 +08:00
parent 84a96563b1
commit 2597fae7c4

View File

@ -722,7 +722,7 @@ int cvifb_probe(struct platform_device *pdev)
sclr_disp_get_hw_timing(&timing);
info->var.xres = timing.hfde_end - timing.hfde_start + 1;
info->var.yres = timing.vfde_end - timing.vfde_start + 1;
info->var.bits_per_pixel = 16;
info->var.bits_per_pixel = 32;
info->var.xres_virtual = VXRES_SIZE(info->var.xres, info->var.bits_per_pixel);
info->var.yres_virtual =
double_buffer ? (info->var.yres * 2) : info->var.yres;