当前位置:网站首页>【DRM】DRM bridge驱动调用流程简单分析
【DRM】DRM bridge驱动调用流程简单分析
2022-07-03 03:28:00 【漫游嵌入式】
这次为大家带来drm_bridge驱动的调用过程分析。
1.drm_bridge结构体
struct drm_bridge {
struct drm_private_obj base;
struct drm_device *dev;
struct drm_encoder *encoder;
#ifdef CONFIG_OF
struct device_node *of_node;//dts结点
#endif
const struct drm_bridge_timings *timings;
const struct drm_bridge_funcs *funcs;
enum drm_bridge_ops ops;
int type;
bool interlace_allowed;
struct i2c_adapter *ddc;
...
void (*hpd_cb)(void *data, enum drm_connector_status status);
void *hpd_data;
};
struct drm_private_obj base:驱动程序私有原子对象的基础结构,由drm_atomic_private_obj_init()初始化,它的生命周期与DRM设备的生命周期相关联。其中的state对象存储当前的atomic state,drm_private_state_funcs结构体管理atomic state的复制与销毁(atomic_duplicate_state和atomic_destroy_state);
struct drm_device *dev:drm device驱动,i.MX平台上驱动程序由vivante提供,实现gem的管理;
struct drm_encoder *encoder:mipi/lvds/hdmi等IP的驱动对象。例如
边栏推荐
- Introduction à mongodb
- Nce detail of softmax approximation
- Summary of determinant knowledge points in Chapter 1 of Linear Algebra (Jeff's self perception)
- ffmpeg录制屏幕和截屏
- Limit of one question per day
- 用Three.js做一个简单的3D场景
- User value is the last word in the competition of mobile phone market
- 将时间戳转为指定格式的时间
- C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions
- Vs Code configure virtual environment
猜你喜欢

UMI route interception (simple and rough)

别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!

Bid farewell to artificial mental retardation: Mengzi open source project team received RMB 100 million financing to help NLP develop

Elsevier latex submitted the article pdftex def Error: File `thumbnails/cas-email. jpeg‘ not found: using draf

FileZilla Client下載安裝

渤、黄海的潮汐特征

Use of El tree search method

Some preliminary preparations for QQ applet development: make an appointment for a development account, download and install developer tools, and create QQ applet

900w+ data, from 17s to 300ms, how to operate

Latest version of NPM: the "NPM" item cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Please check
随机推荐
The idea cannot be loaded, and the market solution can be applied (pro test)
Compare float with 0
npm : 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
Hutool动态添加定时任务
Pytorch multi card distributed training distributeddataparallel usage
VS code配置虚拟环境
Docker install and start MySQL service
FileZilla Client下载安装
3D drawing example
Node start server
静态网页 和 动态网页的区别 & WEB1.0和WEB2.0的区别 & GET 和 POST 的区别
Open Visual Studio 2010 hangs when opening a SQL file sql file
Change and access of median value of listening object
Hi3536C V100R001C02SPC040 交叉编译器安装
[Chongqing Guangdong education] cultural and natural heritage reference materials of China University of Geosciences (Wuhan)
递归使用和多维数组对象变一维数组对象
Introduction à mongodb
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 05 data input and output
QQ小程序开发之 一些前期准备:预约开发账号、下载安装开发者工具、创建qq小程序
FileZilla Client下載安裝