当前位置:网站首页>【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的驱动对象。例如
边栏推荐
- The XML file generated by labelimg is converted to VOC format
- node,npm以及yarn下载安装
- Pytorch multi card distributed training distributeddataparallel usage
- VS 2019配置tensorRT
- [algebraic structure] group (definition of group | basic properties of group | proof method of group | commutative group)
- [combinatorics] number of solutions of indefinite equations (number of combinations of multiple sets R | number of non negative integer solutions of indefinite equations | number of integer solutions
- On the adjacency matrix and adjacency table of graph storage
- npm : 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
- Stepping on pits and solutions when using inputfilter to limit EditText
- QT based tensorrt accelerated yolov5
猜你喜欢

The idea setting code is in UTF-8 idea Properties configuration file Chinese garbled

LVGL使用心得

渤、黄海的潮汐特征

Vs Code configure virtual environment

Use of El tree search method

Tidal characteristics of the Bohai Sea and the Yellow Sea

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

PHP generates PDF tcpdf

Téléchargement et installation du client Filezilla

小程序获取用户头像和昵称
随机推荐
MySQL practice 45 lecture [transaction isolation]
The file marked by labelme is converted to yolov5 format
Téléchargement et installation du client Filezilla
MongoDB基本操作【增、删、改、查】
numpy之 警告VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences
The difference between static web pages and dynamic web pages & the difference between Web1.0 and Web2.0 & the difference between get and post
ffmpeg下载安装教程及介绍
The calculation of stripe, kernel and padding in CNN
Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence
PAT乙级“1104 天长地久”DFS优化思路
New programmers use the isXXX form to define Boolean types in the morning, and are discouraged in the afternoon?
Section 26 detailed explanation and demonstration of IPSec virtual private network configuration experiment - simulation experiment based on packettracer8.0
Pytoch lightweight visualization tool wandb (local)
VS 2019 配置tensorRT生成engine
解决高並發下System.currentTimeMillis卡頓
node,npm以及yarn下载安装
Pat class B "1104 forever" DFS optimization idea
2020-01-01t00:00:00.000000z date format conversion
监听对象中值变化及访问
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions