msm8916 MDP(mobile display processor) 简介
来源:互联网 发布:java要学常用类库吗 编辑:程序博客网 时间:2024/05/21 11:06
硬件上面,Msm8916只有一个mipi-dsi接口用于连接LCM,由MDP(mobile display processor)进行管理,大概硬件结构图如下:
mdp提供图片格式转换,旋转,overlay(overlay技术)等功能,dsi提供传输数据。
注意:overlay主要为了满足多界面叠加的需求,可理解为pipe,MDP支持3个overlay pipe。
关于MDP每一部分的硬件功能如下几图:
软件上面,高通提供了MDSS(multimedia display subsystem)进行管理。MDSS的整体架构图如下:
上图中可以提现Linux framebuffer子系统和MDSS子系统的关系,Linux标准的fb架构没有MDP这个东西,linux fb基本的代码逻辑如下:
①打开fb设备
char const * const device_template[] = {
"/dev/graphics/fb%u",
"/dev/fb%u",
0 };
fd = open(name,O_RDWR, 0);
②获取LCM的分辨率,色彩深度等信息,计算帧缓冲大小
if (ioctl(fd,FBIOGET_FSCREENINFO, &finfo) == -1)
if (ioctl(fd,FBIOGET_VSCREENINFO, &info) == -1)
③使用mmap将驱动内存映射给用户程序进行读取
void*vaddr = mmap(0,fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
④用户可直接读写显存,进行显示。
module->framebuffer->base= uint64_t(vaddr);
memset(vaddr,0, fbSize);
ioctl(ctx->fbFd,MSMFB_OVERLAY_VSYNC_CTRL, &enable);
fb_set_var
高通使用MDP作为显示处理器,提高了显示效果,并提供了图像旋转,overlay等功能。软件驱动方面,是在FB之下提供了其他的IOCTL接口函数用于控制MDP的功能。下图是高通增加的IOCTL指令:
通过对"/dev/graphics/fb%u"控制MDP,可以获取overlay pipe,调整显示效果等。
- msm8916 MDP(mobile display processor) 简介
- msm8916 MDP(mobile display processor) 简介
- Cortex-A15 Processor 简介
- MDP~
- MDP
- Overlay & HWC on MDP -- MIMO Display软硬整合
- Overlay & HWC on MDP -- MIMO Display软硬整合 .
- Overlay & HWC on MDP -- MIMO Display软硬整合
- MIPI(Mobile Industry Processor Interface)技术浅谈
- MIPI display standards for mobile Internet devices
- MIPI display standards for mobile Internet devices
- Mobile 输入法接口简介
- Windows Mobile开发简介
- Windows Mobile开发简介
- Windows Mobile开发简介
- [转] jQuery Mobile 简介
- Jquery Mobile 简介
- ArcGIS Mobile 10简介
- 取球问题
- Linux中vim的配置
- ACM刷题之HDU————敌兵布阵
- 代码整洁之道精华——第三章 函数
- Activity已singleTask启动,intent传值得解决办法
- msm8916 MDP(mobile display processor) 简介
- Android之grafika源码阅读
- C语言复习笔记 2
- Eclipse 安装 SVN 插件的两种方法
- Appium 报错:org.openqa.selenium.NoSuchWindowException: no such window: target window already closed
- 在低版本ie浏览器:hover丢失
- 给一个不多于5位的正整数,要求:一、求它是几位数,二、逆序打印出各位数字。
- 公钥密码之RSA密码算法扩展欧几里德求逆元!!
- android 获取本地视频文件以及缩略图