CN105701037A - System and method for simultaneously accessing to display controller by weston and DRM in vehicle-mounted entertainment system - Google Patents
System and method for simultaneously accessing to display controller by weston and DRM in vehicle-mounted entertainment system Download PDFInfo
- Publication number
- CN105701037A CN105701037A CN201511031956.9A CN201511031956A CN105701037A CN 105701037 A CN105701037 A CN 105701037A CN 201511031956 A CN201511031956 A CN 201511031956A CN 105701037 A CN105701037 A CN 105701037A
- Authority
- CN
- China
- Prior art keywords
- module
- drm
- weston
- display controller
- entertainment system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a system for simultaneously accessing to a display controller by a weston and a DRM in a vehicle-mounted entertainment system. The system provided by the invention comprises a client, a Weston module or drm app module, a libdrm module, an opengl module, a drm driving module and hardware, wherein the drm driving module is added with a drm host module; the client, the weston module, the opengl module and the hardware successively communicate in a both-way manner; and the weston module, the libdrm module, the drm driving module and the hardware successively communicate in a one-way manner. The invention furthermore provides a method for simultaneously accessing to the display controller by the weston and the DRM in the vehicle-mounted entertainment system. The method comprises a step of importing a drm host handshaking mechanism during drmopen and drmioctl. The method and system for simultaneously accessing to the display controller by the weston and the DRM in the vehicle-mounted entertainment system have the beneficial effects of solving the coexisting problem of wayland and drm app by adopting the drm host handshaking mechanism, and obtaining the technical effects of fully utilizing the hardware resources, shortening the boot time and reducing the CPU occupancy rate.
Description
Technical field
The present invention relates to the display controller access technique field of vehicle entertainment system, be specifically related in a kind of vehicle entertainment system weston and DRM accesses the system and method for display controller simultaneously。
Background technology
For meeting high interaction or advanced visual effect operating experience, the embedded hardware platform that vehicle entertainment system adopts, also begin to need to be considered when 3D high interaction operational platform design scheme。And for meeting the primary system combination of 3D and presenting, embedded hardware platform is necessary for considering multi-core framework, 3DGPU integrated scheme need to integrate multi-core general processor and multinuclear GPU simultaneously, the 3Dization operation interface design requirement that operating load increases day by day could be met, avoid a large amount of 3D interaction to present the treatment efficiency having tied down core application on the contrary, even cause, when use vehicle entertainment system music or video, pause and transition in rhythm or melody problem occurs。
Adopt linux as the operating system of the processor of vehicle entertainment system, along with the development of linux kernel, for pursuing better Consumer's Experience, introduce Digital Right Management DRM (DirectRenderingManager)。DRM is the device drives of a kernel level, becomes the criteria section of linux system。LinuxDRM layer is used for supporting the video card equipment of those complexity, and these video card equipment generally all comprise programmable streamline, is especially suitable for 3D rendering and accelerates。DRM layer in kernel so that these video drivers carrying out memory management, (DirectMemoryAccess, is called for short: DMA) become easier in operation, and can provide unified interface for upper layer application for interrupt processing and direct memory access (DMA)。On Linux, X graphics system experienced by the development of about 30 years simultaneously, and its design has shown slightly outmoded in today。In system X, XServer, as center service, connects client (client) and hardware and synthesizer (compositor)。But even to this day, the thing originally done in XServer has much been moved in kernel (kernel) or independent storehouse, and therefore XServer just seems that comparison is burdensome。
Wayland is a set of display server (displayserver, i.e. synthesizer (compositor)) and client (client) between communication protocol, and the reference that Weston is Wayland synthesizer (compositor) realize .Wayland be positioned on linux replacement X graphics system。Wayland architecturally eliminates intermediate layer, using synthesizer (compositor) as display server (displayserver), client (client) is made directly to communicate with synthesizer (compositor), thus can be outstanding than the older generation in motility and performance etc.。Wayland not only may be used for traditional desktop but also be applicable to mobile equipment, has been used to the commercial operating systems such as Tizen, SailfishOS, and increasing window and graphics system start compatible Wayland agreement simultaneously。
But current in vehicle entertainment system, access the technical scheme of display controller by Wayland and cause that the hardware resource in system cannot fully be utilized because of the exclusive DRM of weston, and start process adopts wayland client (client) the static logo of display in 2 seconds or back-up video cannot be met;Start process adopt wayland client (client) show that dynamic logo causes that CPU usage is higher。
Summary of the invention
The present invention provides weston and DRM in a kind of vehicle entertainment system to access the system and method for display controller simultaneously, adopts drmhost handshake mechanism to solve wayland and the drmapp technical problem coexisted。
For reaching above-mentioned purpose, the technical solution used in the present invention is:
The present invention provides weston and DRM in a kind of vehicle entertainment system to access the system of display controller simultaneously, drives module, hardware including client, weston module or drmapp module, libdrm module, opengl module, drm;It is characterized in that: drive module to increase drmhost module at drm。
Further, client, weston module, opengl module, hardware two-way communication successively, meanwhile, weston module, libdrm module, drm drive module, hardware one-way communication successively。
The present invention also provides for a kind of method that in vehicle entertainment system, weston and DRM accesses display controller simultaneously, including: drmhost handshake mechanism is introduced when drmopen and drmioctl。
Further, when drmopen, first determine whether host, if it is not, open returns successfully after arranging drmhost;If so, continue to determine whether as master, if it is not, open returns successfully;If so, after removing drmmaster, open returns successfully;
When drmioctl, first determining whether host, if so, ioctl performs;If it is not, continue to determine whether as master, if it is not, ioctl returns state;If so, ioctl returns state after performing。
In the vehicle entertainment system of the present invention, weston and DRM accesses the system and method for display controller simultaneously and provides the benefit that: adopt drmhost handshake mechanism to solve wayland and the drmapp problem coexisted, and obtain make full use of hardware resource, shorten the available machine time, the technique effect of reduction CPU usage。
Accompanying drawing explanation
Fig. 1 is the first configuration diagram of the system accessing display controller in existing vehicle entertainment system;
Fig. 2 is the second configuration diagram of the system accessing display controller in existing vehicle entertainment system;
Fig. 3 be the present invention vehicle entertainment system in weston and DRM access the configuration diagram of system of display controller simultaneously;
Fig. 4 be the present invention vehicle entertainment system in weston and DRM access the first schematic flow sheet of method of display controller simultaneously;
Fig. 5 be the present invention vehicle entertainment system in weston and DRM access the second schematic flow sheet of method of display controller simultaneously。
Detailed description of the invention
Specifically illustrate embodiments of the present invention below in conjunction with accompanying drawing, accompanying drawing is only for reference and illustrates to use, and does not constitute the restriction to scope of patent protection of the present invention。
Fig. 1, the 2 two kinds of configuration diagram respectively illustrating the system accessing display controller in existing vehicle entertainment system, respectively only have the framework of weston or only drmapp。
As shown in Figure 3, the embodiment of the present invention provides weston and DRM in a kind of vehicle entertainment system to access the system of display controller simultaneously, including client (client), weston module or drmapp module, libdrm module, opengl module, drm driving module (driver), hardware (hardware);Module is driven to increase drmhost module at drm。
In the present embodiment, client, weston module, opengl module, hardware two-way communication successively, meanwhile, weston module, libdrm module, drm drive module, hardware one-way communication successively。
In the present embodiment, libdrm module is used for encapsulating the figure relevant interfaces such as KMS, GEM;
OpenGL (OpenGraphicsLibrary, open graphic library) defines one across programming language, the cross-platform professional graphic routine interface meeting DLL specification, is a set of application programming interface for carrying out 3D graph rendering;
Weston, from internal architecture, is broadly divided into window management (shell), synthesizer (compositor) and input three parts of management。
Embodiments of the invention also provide for a kind of method that in vehicle entertainment system, weston and DRM accesses display controller simultaneously, including: drmhost handshake mechanism is introduced when drmopen and drmioctl。
In the present embodiment, as shown in Figure 4, when drmopen, host is first determined whether, if it is not, open returns successfully after arranging (set) drmhost;If so, continue to determine whether as master, if it is not, open returns successfully (returnsuccess);If so, after removing (drop) drmmaster, open returns successfully;
As it is shown in figure 5, when drmioctl, first determine whether host, if so, ioctl performs;If it is not, continue to determine whether as master, if it is not, ioctl returns state (returnstatus);If so, ioctl returns state after performing。
Above disclosed it is only presently preferred embodiments of the present invention, it is impossible to limit the scope of the present invention with this, the equivalent variations therefore made according to the present patent application the scope of the claims, still belong to the scope that the present invention contains。
Claims (4)
1. in vehicle entertainment system, weston and DRM accesses a system for display controller simultaneously, drives module, hardware including client, weston module or drmapp module, libdrm module, opengl module, drm;It is characterized in that: drive module to increase drmhost module at drm。
2. in vehicle entertainment system according to claim 1, weston and DRM accesses the system of display controller simultaneously, it is characterized in that: client, weston module, opengl module, hardware two-way communication successively, meanwhile, weston module, libdrm module, drm drive module, hardware one-way communication successively。
3. the method that in a vehicle entertainment system, weston and DRM accesses display controller simultaneously, it is characterised in that including: introduce drmhost handshake mechanism when drmopen and drmioctl。
4. the method that in vehicle entertainment system according to claim 3, weston and DRM accesses display controller simultaneously, it is characterised in that including:
When drmopen, first determine whether host, if it is not, open returns successfully after arranging drmhost;If so, continue to determine whether as master, if it is not, open returns successfully;If so, after removing drmmaster, open returns successfully;
When drmioctl, first determining whether host, if so, ioctl performs;If it is not, continue to determine whether as master, if it is not, ioctl returns state;If so, ioctl returns state after performing。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511031956.9A CN105701037B (en) | 2015-12-30 | 2015-12-30 | Weston and DRM accesses the system and method for display controller simultaneously in vehicle entertainment system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511031956.9A CN105701037B (en) | 2015-12-30 | 2015-12-30 | Weston and DRM accesses the system and method for display controller simultaneously in vehicle entertainment system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105701037A true CN105701037A (en) | 2016-06-22 |
CN105701037B CN105701037B (en) | 2019-09-17 |
Family
ID=56226756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511031956.9A Active CN105701037B (en) | 2015-12-30 | 2015-12-30 | Weston and DRM accesses the system and method for display controller simultaneously in vehicle entertainment system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105701037B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714318A (en) * | 2018-12-06 | 2019-05-03 | 斑马网络技术有限公司 | Vehicle device control method, device, electronic equipment and storage medium |
CN112527219A (en) * | 2019-09-17 | 2021-03-19 | 中兴通讯股份有限公司 | Graphics synthesis method, device and system based on WAYLAND protocol |
CN113050899A (en) * | 2021-02-07 | 2021-06-29 | 厦门亿联网络技术股份有限公司 | Method and system for directly displaying video and UI drm based on Wayland protocol |
CN113391740A (en) * | 2021-06-03 | 2021-09-14 | 惠州市德赛西威汽车电子股份有限公司 | Focus arc effect display method of suspension list |
CN117891426A (en) * | 2024-03-14 | 2024-04-16 | 麒麟软件有限公司 | Display device extended function management system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135866A (en) * | 2010-10-29 | 2011-07-27 | 华南理工大学 | Display optimization method based on Xen safety computer |
US20150113526A1 (en) * | 2013-10-22 | 2015-04-23 | Citrix Systems, Inc. | Method and system for displaying graphics for a local virtual machine |
-
2015
- 2015-12-30 CN CN201511031956.9A patent/CN105701037B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135866A (en) * | 2010-10-29 | 2011-07-27 | 华南理工大学 | Display optimization method based on Xen safety computer |
US20150113526A1 (en) * | 2013-10-22 | 2015-04-23 | Citrix Systems, Inc. | Method and system for displaying graphics for a local virtual machine |
Non-Patent Citations (1)
Title |
---|
刘琳: "Wayland协议分析", 《科技视界》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714318A (en) * | 2018-12-06 | 2019-05-03 | 斑马网络技术有限公司 | Vehicle device control method, device, electronic equipment and storage medium |
CN112527219A (en) * | 2019-09-17 | 2021-03-19 | 中兴通讯股份有限公司 | Graphics synthesis method, device and system based on WAYLAND protocol |
WO2021052100A1 (en) * | 2019-09-17 | 2021-03-25 | 中兴通讯股份有限公司 | Wayland protocol-based graphics compositing method, apparatus and system, and computer-readable storage medium |
CN113050899A (en) * | 2021-02-07 | 2021-06-29 | 厦门亿联网络技术股份有限公司 | Method and system for directly displaying video and UI drm based on Wayland protocol |
CN113391740A (en) * | 2021-06-03 | 2021-09-14 | 惠州市德赛西威汽车电子股份有限公司 | Focus arc effect display method of suspension list |
CN117891426A (en) * | 2024-03-14 | 2024-04-16 | 麒麟软件有限公司 | Display device extended function management system |
CN117891426B (en) * | 2024-03-14 | 2024-05-24 | 麒麟软件有限公司 | Display device extended function management system |
Also Published As
Publication number | Publication date |
---|---|
CN105701037B (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105701037A (en) | System and method for simultaneously accessing to display controller by weston and DRM in vehicle-mounted entertainment system | |
WO2019174474A1 (en) | Lag information acquisition method and device and terminal | |
WO2019169913A1 (en) | Data processing method, apparatus and system, and server | |
CN112655025B (en) | Adaptive fovea rendering in processing | |
CN106797388B (en) | Cross-system multimedia data encoding and decoding method and device, electronic equipment and computer program product | |
US20100321395A1 (en) | Display simulation system and method | |
EP2169548A1 (en) | Method and systems to display platform graphics during operating system initialization | |
CN104641396A (en) | Deferred preemption techniques for scheduling graphics processing unit command streams | |
CN104679582A (en) | Command scheduler for a display device | |
US20160062780A1 (en) | Pausing virtual machine based on idle state | |
US11625806B2 (en) | Methods and apparatus for standardized APIs for split rendering | |
CN114138423B (en) | Virtualized construction system and method based on domestic GPU graphics card | |
US20210200255A1 (en) | Higher graphics processing unit clocks for low power consuming operations | |
US9460481B2 (en) | Systems and methods for processing desktop graphics for remote display | |
US20180052700A1 (en) | Facilitation of guest application display from host operating system | |
US20160246629A1 (en) | Gpu based virtual system device identification | |
US11043158B2 (en) | Video bandwidth optimization for multi-monitor systems | |
CN106407053A (en) | VMware-based GPU virtualization performance testing method | |
US11145024B2 (en) | Adaptive dispatch for acceleration of deep neural networks on graphic processing units | |
US20210103852A1 (en) | Resource based workload allocation for machine learning workloads | |
US11238772B2 (en) | Methods and apparatus for compositor learning models | |
US9239699B2 (en) | Enabling hardware acceleration in a computing device during a mosaic display mode of operation thereof | |
WO2021042331A1 (en) | Methods and apparatus for graphics and display pipeline management | |
WO2021196175A1 (en) | Methods and apparatus for clock frequency adjustment based on frame latency | |
US11423600B2 (en) | Methods and apparatus for configuring a texture filter pipeline for deep learning operation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |