Files
handyohos 4b34922d1e #6845 修复arm64_virt启动时render_service和composer_host的时序问题
## 问题
arm64_virt qemu模拟器产品启动时,render_service先于composer_host拿到display,导致没有默认的display,显示黑屏。

## 修改内容
1. 新增 `BootstrapDisplayDiscovery()` 方法,在构造函数中主动触发display发现流程
2. 优化 `OnHotPlug` 日志级别,bootstrap阶段的callback为空属于正常情况
3. camera: 添加 drivers_peripheral_camera_v4l2_emulator 配置项替代 is_emulator
4. display: 添加 drivers_peripheral_display_bootstrap_hotplug 配置项
5. 修复文件结尾缺少换行符

## 测试
- 在arm64_virt平台上验证启动流程正常

Co-Authored-By: Agent
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I73a6f84f5eb2fbe72e8dad4ce98de71b8d5cf89d
2026-06-10 21:23:19 +08:00

67 lines
1.7 KiB
JSON
Executable File

{
"name": "@ohos/drivers_peripheral_display",
"description": "display device driver",
"version": "3.1",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "drivers/peripheral/display"
},
"dirs": {},
"scripts": {},
"component": {
"name": "drivers_peripheral_display",
"subsystem": "hdf",
"adapted_system_type": ["standard", "small"],
"rom": "1260KB",
"ram": "7700KB",
"features": [
"drivers_peripheral_display_community",
"drivers_peripheral_display_vdi_default",
"drivers_peripheral_display_hicollie_enable",
"drivers_peripheral_display_bootstrap_hotplug"
],
"deps": {
"components": [
"hdf_core",
"hilog",
"c_utils",
"ipc",
"drivers_interface_display",
"graphic_surface",
"init",
"hitrace",
"libdrm",
"hicollie",
"bounds_checking_function"
],
"third_party": []
},
"build": {
"sub_component": [
"//drivers/peripheral/display:display_entry"
],
"test": [
"//drivers/peripheral/display:display_test_entry"
],
"inner_kits": [
{
"name": "//drivers/peripheral/display:hdi_gralloc_client",
"header": {
"header_files": [
"display_type.h"
],
"header_base": "//drivers/peripheral/display/interfaces/include"
}
},
{
"name": "//drivers/peripheral/display:display_composer_vdi_config"
},
{
"name": "//drivers/peripheral/display:display_buffer_vdi_config"
}
]
}
}
}