当前位置:网站首页>【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的驱动对象。例如
边栏推荐
- Nce detail of softmax approximation
- The file marked by labelme is converted to yolov5 format
- 渤、黄海的潮汐特征
- [pyg] understand the messagepassing process, GCN demo details
- Download and install node, NPM and yarn
- The idea setting code is in UTF-8 idea Properties configuration file Chinese garbled
- About HTTP cache control
- C# WebRequest POST模式 ,基于“Basic Auth”口令认证模式,使用multipart/form-data方式上传文件及提交其他数据
- 静态网页 和 动态网页的区别 & WEB1.0和WEB2.0的区别 & GET 和 POST 的区别
- Advanced redis applications [password protection, data persistence, master-slave synchronization, sentinel mode, transactions] [not completed yet (semi-finished products)]
猜你喜欢

UMI route interception (simple and rough)

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

Hutool动态添加定时任务

ffmpeg录制屏幕和截屏
![[MySQL] the difference between left join, right join and join](/img/d4/8684cd59cd1bd77e70bd4d7c7074c3.jpg)
[MySQL] the difference between left join, right join and join

ffmpeg之 一张/多张图片合成视频

On the adjacency matrix and adjacency table of graph storage

Don't use the new Dede collection without the updated Dede plug-in

VS 2019 配置tensorRT生成engine

Pytorch multi card distributed training distributeddataparallel usage
随机推荐
Open Visual Studio 2010 hangs when opening a SQL file sql file
Converts a timestamp to a time in the specified format
LVGL使用心得
softmax的近似之NCE详解
File rename
Small guide for rapid formation of manipulator (VIII): kinematic modeling (standard DH method)
FileZilla client download and installation
The XML file generated by labelimg is converted to VOC format
Docker install and start MySQL service
机械臂速成小指南(八):运动学建模(标准DH法)
900w+ data, from 17s to 300ms, how to operate
Mongodb replication set [master-slave replication]
The file marked by labelme is converted to yolov5 format
Introduction to mongodb
The calculation of stripe, kernel and padding in CNN
com.fasterxml.jackson.databind.exc.InvalidFormatException问题
Nanning water leakage detection: warmly congratulate Guangxi Zhongshui on winning the first famous brand in Guangxi
Lvgl usage experience
QT based tensorrt accelerated yolov5
Use of El tree search method