高通的drm 的图形框架中的 struct drm_bridge_funcs的函数atomic_get_input_bus_fmts和atomic_pre_enable谁先执行
时间: 2023-08-03 09:02:31 浏览: 44
在高通的DRM图形框架中,函数`atomic_get_input_bus_fmts`和`atomic_pre_enable`的执行顺序是没有固定的先后顺序的,这取决于驱动程序的实现。在一些驱动程序中,`atomic_get_input_bus_fmts`函数可能会在`atomic_pre_enable`函数之前执行,而在其他驱动程序中则可能相反。因此,具体哪个函数先执行,需要查看驱动程序的实现。
相关问题
drm 的图形框架中的 struct drm_bridge_funcs的函数atomic_get_input_bus_fmts和atomic_pre_enable谁先执行
在 DRM 图形框架中,通常情况下,`atomic_pre_enable()` 函数会先于 `atomic_get_input_bus_fmts()` 函数执行。`atomic_pre_enable()` 函数用于在显示器启用之前进行一些准备工作,例如启用编码器和信号转换器等。在启用显示器之前,必须确保所有相关的组件都已经启用和配置完成。而 `atomic_get_input_bus_fmts()` 函数用于获取输入总线格式,这是在显示器启用之后进行的。因此,通常情况下,`atomic_pre_enable()` 函数会先于 `atomic_get_input_bus_fmts()` 函数执行。
drm 的图形框架中的 struct drm_bridge_funcs的函数atomic_get_input_bus_fmts和atomic_post_disable谁先执行
在 DRM 图形框架中,通常情况下,`atomic_post_disable()` 函数会先于 `atomic_get_input_bus_fmts()` 函数执行。`atomic_post_disable()` 函数用于在显示器禁用后进行一些清理工作,例如停止视频流和关闭编码器等。只有在显示器被禁用后,才需要执行这些清理工作。而 `atomic_get_input_bus_fmts()` 函数用于获取输入总线格式,这是在显示器启用之前进行的。因此,通常情况下,`atomic_post_disable()` 函数会先于 `atomic_get_input_bus_fmts()`函数执行。