imx6 显示分析




static int mxcfb_probe(struct platform_device *pdev)//(mxc_ipuv3_fb.c  mxcfb.c mxcfb_epson.c)
    fbi = mxcfb_init_fbinfo(&pdev->dev, &mxcfb_ops);  //这个ops 后面frmaebuffer 操作使用


    ret = mxcfb_option_setup(pdev, fbi);             //根据得到的options设置信息
          if (fb_get_options(name, &options)) {       //从启动命令得到optons 参数,选择


    ret = mxcfb_dispdrv_init(pdev, fbi);
    |              |
    |     mxcfbi->dispdrv = mxc_dispdrv_gethandle(disp_dev, &setting);  mxc_dispdrv.c   
    |                    ret = entry->drv->init((struct mxc_dispdrv_handle *)entry, setting);
    |                                         |
    |                                         |
    |
   ipu_disp.c                                 static int lcdif_init(struct mxc_dispdrv_handle *disp, //(mxc_lcdif.c ldb.c Mxc_hdmi.c  )
                                          ret = fb_find_mode(&setting->fbi->var, setting->fbi, setting->dft_mode_str,modedb, modedb_sz, NULL, setting->default_bpp);
                                                fb_videomode_to_var(&setting->fbi->var, &modedb[0]); //根据启动参数在modedb找到一项配置设置进去












Ipu-v3.h (arch\arm\plat-mxc-4.0\include\mach):int32_t ipu_disable_csi(struct ipu_soc *ipu, uint32_t csi);
Ipu-v3.h (arch\arm\plat-mxc\include\mach):int32_t ipu_disable_csi(struct ipu_soc *ipu, uint32_t csi);
Ipu_bg_overlay_sdc.c (drivers\media\video\mxc\capture): return ipu_disable_csi(cam->ipu, cam->csi);
Ipu_csi_enc.c (drivers\media\video\mxc\capture): return ipu_disable_csi(cam->ipu, cam->csi);
Ipu_fg_overlay_sdc.c (drivers\media\video\mxc\capture): return ipu_disable_csi(cam->ipu, cam->csi);
Ipu_prp_enc.c (drivers\media\video\mxc\capture): return ipu_disable_csi(cam->ipu, cam->csi);
Ipu_prp_vf_sdc.c (drivers\media\video\mxc\capture): return ipu_disable_csi(cam->ipu, cam->csi);
Ipu_prp_vf_sdc_bg.c (drivers\media\video\mxc\capture): return ipu_disable_csi(cam->ipu, cam->csi);
Ipu_still.c (drivers\media\video\mxc\capture): ipu_disable_csi(cam->ipu, cam->csi);
        |
        |
Ipu_common.c (drivers\mxc\ipu):int32_t ipu_disable_csi(uint32_t csi)
Ipu_common.c (drivers\mxc\ipu):EXPORT_SYMBOL(ipu_disable_csi);
Ipu_common.c (drivers\mxc\ipu3):int32_t ipu_disable_csi(struct ipu_soc *ipu, uint32_t csi)
Ipu_common.c (drivers\mxc\ipu3):EXPORT_SYMBOL(ipu_disable_csi);
        |
        |
Ipu_ic.c (drivers\mxc\ipu):void _ipu_ic_init_prpenc(ipu_channel_params_t *params, bool src_is_csi)
Ipu_ic.c (drivers\mxc\ipu3):void _ipu_ic_init_prpenc(struct ipu_soc *ipu, ipu_channel_params_t *params, bool src_is_csi)
Ipu_prv.h (drivers\mxc\ipu):void _ipu_ic_init_prpenc(ipu_channel_params_t *params, bool src_is_csi);
Ipu_prv.h (drivers\mxc\ipu3):void _ipu_ic_init_prpenc(struct ipu_soc *ipu, ipu_channel_params_t *params, bool src_is_csi);


















 







你可能感兴趣的:(imx6芯片相关)