CN114820276A - Chip for graphic processing, graphic data processing method and electronic equipment - Google Patents

Chip for graphic processing, graphic data processing method and electronic equipment Download PDF

Info

Publication number
CN114820276A
CN114820276A CN202210442470.8A CN202210442470A CN114820276A CN 114820276 A CN114820276 A CN 114820276A CN 202210442470 A CN202210442470 A CN 202210442470A CN 114820276 A CN114820276 A CN 114820276A
Authority
CN
China
Prior art keywords
display unit
data
graphics
chip
data selector
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
Application number
CN202210442470.8A
Other languages
Chinese (zh)
Other versions
CN114820276B (en
Inventor
王晓伟
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanbo Semiconductor Shanghai Co ltd
Original Assignee
Hanbo Semiconductor Shanghai Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hanbo Semiconductor Shanghai Co ltd filed Critical Hanbo Semiconductor Shanghai Co ltd
Priority to CN202210442470.8A priority Critical patent/CN114820276B/en
Publication of CN114820276A publication Critical patent/CN114820276A/en
Application granted granted Critical
Publication of CN114820276B publication Critical patent/CN114820276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a chip for graphics processing, a method for processing graphics data for the chip, a wearable electronic device, a computer-readable storage medium, and a computer program product, and relates to the technical field of graphics processing. The chip includes: the graphics rendering unit is used for rendering graphics data to be rendered; a data selector having a first operating mode and a second operating mode and being switchable between the two modes; the data selector is configured to be connected with the local display unit and the graphic rendering unit in a first working mode, and the local display unit is used for acquiring graphic data rendered by the graphic rendering unit through the data selector to display; and the data selector is also configured to be connected with the virtual display unit and the graphic rendering unit in the second working mode, and the virtual display unit is used for acquiring rendered graphic data through the data selector and sending the rendered graphic data to an external display unit in communication connection with the chip for displaying.

Description

Chip for graphic processing, graphic data processing method and electronic equipment
Technical Field
The present disclosure relates to the field of graphics processing technologies, and in particular, to a chip for graphics processing, a method for processing graphics data for the chip, an electronic device, a wearable electronic device, a computer-readable storage medium, and a computer program product.
Background
The graphics processing chip is also called a graphics processor or a display core, and is a microprocessor that performs image and graphics related operations on a personal computer, a workstation, a game machine, and some mobile devices (e.g., a tablet computer, a smart phone, etc.).
The approaches described in this section are not necessarily approaches that have been previously conceived or pursued. Unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, unless otherwise indicated, the problems mentioned in this section should not be considered as having been acknowledged in any prior art.
Disclosure of Invention
The present disclosure provides a chip for graphics processing, a method of processing graphics data for a chip, an electronic device, a wearable electronic device, a computer-readable storage medium, and a computer program product.
According to an aspect of the present disclosure, a chip for graphics processing is provided. The method comprises the following steps: a graphics rendering unit configured to render graphics data to be rendered; a data selector configured to have a first operation mode and a second operation mode and to be switchable between the first operation mode and the second operation mode; the data selector is further configured to be connected with the local display unit and the graphic rendering unit in the first working mode, and the local display unit is configured to acquire graphic data rendered by the graphic rendering unit through the data selector to display; and the data selector is also configured to be connected with the virtual display unit and the graphics rendering unit in the second working mode, and the virtual display unit is configured to acquire the graphics data rendered by the graphics rendering unit through the data selector and send the graphics data to an external display unit in communication connection with the chip for display.
According to another aspect of the present disclosure, a method of processing graphics data for a chip is provided. The chip includes a graphics rendering unit, a local display unit, a virtual display unit, and a data selector having a first operating mode and a second operating mode and being switchable between the first operating mode and the second operating mode. The method comprises the following steps: rendering the graphic data to be rendered by using a graphic rendering unit; and in response to the data selector being in the first operating mode, the local display unit obtaining, by the data selector, the graphics data rendered by the graphics rendering unit for display; and responding to the data selector in a second working mode, the virtual display unit acquires the graphic data rendered by the graphic rendering unit through the data selector and sends the graphic data to an external display unit in communication connection with the chip for displaying.
According to yet another aspect of the present disclosure, a wearable electronic device is provided. Comprising a display unit communicatively connected to the chip according to the above, the display unit being configured to: receiving rendered graphics data from a virtual display unit of a chip; and displaying an image corresponding to the rendered graphics data.
According to yet another aspect of the present disclosure, there is provided an electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for processing graphics data for a chip described above.
According to yet another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to execute the above-described method for processing graphic data of a chip.
According to yet another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, causes the processor to perform the above-described method for processing graphics data for a chip.
The chip according to the embodiment of the present disclosure can be compatible with a scene of an electronic device such as a general computer and a scene of a wearable electronic device (e.g., a wearable VR device). This therefore reduces the development and manufacturing costs of the chip applied to the above two scenarios.
These and other aspects of the disclosure will be apparent from and elucidated with reference to the embodiments described hereinafter.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the embodiments and, together with the description, serve to explain the exemplary implementations of the embodiments. The illustrated embodiments are for purposes of illustration only and do not limit the scope of the claims. Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements.
FIG. 1 is a block diagram illustrating the structure of a chip for graphics processing according to an example embodiment;
FIG. 2 is another block diagram illustrating a chip for graphics processing, according to an example embodiment;
FIG. 3 is a block diagram illustrating the structure of a wearable electronic device according to an example embodiment;
FIG. 4 is a flowchart illustrating a processing method of graphic data for a chip according to an exemplary embodiment;
FIG. 5 is a diagram illustrating a scenario in which a chip and a wearable electronic device according to an example embodiment are applied for graphics data processing; and
fig. 6 is a block diagram showing an exemplary electronic device that can be applied to the exemplary embodiment.
Detailed Description
In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, the timing relationship, or the importance relationship of the elements, and such terms are used only to distinguish one element from another. In some examples, a first element and a second element may refer to the same instance of the element, and in some cases, based on the context, they may also refer to different instances.
The terminology used in the description of the various examples in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the elements may be one or more. As used herein, the term "plurality" means two or more, and the term "based on" should be interpreted as "based, at least in part, on". Further, the terms "and/or" and at least one of "… …" encompass any and all possible combinations of the listed items.
In the related art, a graphics processing chip may include a graphics rendering unit for rendering graphics data to be rendered and a display unit for displaying the rendered graphics data. As described above, the graphics processing chip can be applied to electronic devices such as a personal computer, a tablet computer, a smart phone, etc. to perform graphics-related operations (e.g., rendering and displaying graphics data). In application scenarios such as personal computers, tablet computers, smart phones, etc., the graphics rendering unit and the display unit of the graphics processing chip are typically integrated on the same graphics processing chip.
With the development of technology, a need for image or graphic display on wearable electronic devices has arisen. Therefore, a graphics processing chip capable of being applied to a wearable electronic device is needed. Due to technical limitations, the graphics rendering unit and the display unit of the graphics processing chip applied to the wearable electronic device are not usually integrated on the same graphics processing chip; instead, the display unit is provided on the wearable device for graphical display and the graphics rendering unit is provided on a computer communicatively connected to the wearable device for graphical rendering. Therefore, the graphic data rendered by the graphic rendering unit can be transmitted to the display unit arranged on the wearable device to jointly complete the tasks of graphic rendering and display. The reason for this non-integrated arrangement is, on the one hand, that the wearable device itself has limited design space, which is not favorable for arranging the graphics rendering unit and possibly the matching components of the graphics rendering unit thereon; on the other hand, even if the graphic rendering unit and the related matching components possibly existing on the wearable device can be arranged on the wearable device, the result is that the total weight of the wearable device is greatly increased, and the wearing experience of the user of the wearable device is seriously affected. For example, with the development of Virtual Reality (VR) technology, more and more graphics processing chips are used in VR scenes. The graphics rendering unit in the computer for VR undertakes the graphics rendering task, while the display unit undertakes the task of displaying VR image content, usually in the VR headset, with a connection over a local area network.
It can be seen that, in the related art, the configurations of the graphics processing chips used in the common scene and the wearable device scene are inconsistent and cannot be used interchangeably. Therefore, manufacturers of the graphics processing chips have to design different graphics processing chips for two different scenes, which greatly increases the cost in the links of research and development, debugging, production, manufacturing, after-sales service, and the like.
In view of this, the present disclosure proposes a chip for graphics processing, which is compatible with a scenario of an electronic device such as a general computer and a scenario of a wearable electronic device (e.g., a wearable VR device). This reduces the development and manufacturing costs of the chip applied to the above two scenarios.
Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a block diagram illustrating a structure of a chip 100 for graphics processing according to an exemplary embodiment. As shown in fig. 1, a chip 100 for graphics processing includes:
a graphics rendering unit 110 configured to render graphics data to be rendered;
a data selector 120 configured to have a first operation mode and a second operation mode and to be switchable between the first operation mode and the second operation mode;
the local display unit 130, the data selector 120 is further configured to connect the local display unit 130 and the graphics rendering unit 110 in the first operation mode, and the local display unit 130 is configured to acquire the graphics data rendered by the graphics rendering unit 110 through the data selector 120 for displaying; and
the virtual display unit 140, the data selector 120 is further configured to connect the virtual display unit 140 and the graphics rendering unit 110 in the second operation mode, and the virtual display unit 140 is configured to obtain the graphics data rendered by the graphics rendering unit 110 through the data selector 120 and send the graphics data to an external display unit communicatively connected to the chip for display.
By providing the virtual display unit 140 capable of communicative connection with the external display unit and the data selector 120 capable of switching between the first operation mode and the second operation mode in the chip 100, the chip 100 can be applied to a scene of an electronic device such as a general computer when the local display unit 130 and the graphic rendering unit 110 are connected by the data selector 120 in the first operation mode; when the data selector 120 connects the virtual display unit 140 and the graphics rendering unit 110 in the second operation mode, the chip 100 can be applied to a scene of a wearable electronic device (e.g., a wearable VR device). Therefore, the chip 100 can be compatible with scenes of electronic devices such as a common computer and scenes of wearable electronic devices (such as wearable VR devices), and only a data selector is needed to be added to connect the graphics rendering unit and the display unit, and a virtual display unit for forwarding data between the graphics rendering unit and an external display unit is arranged, so that the electronic device is simple to connect and transform, and is convenient to implement.
For example, the chip 100 may be installed in a motherboard of a computer, and the local display unit 130 of the chip 100 is connected to a display of the computer, so that the chip 100 may trigger the display of the computer to perform graphic display. Furthermore, the chip 100 disposed in the computer may also be communicatively connected to a wearable electronic device (e.g., a wearable VR device), for example, via the virtual display unit 140 of the chip 100 to an external display unit on the wearable electronic device, so that the chip 100 may also trigger a display on the wearable electronic device (e.g., a display on a VR headset) to perform a graphic display.
The data selector may be a multiplexer or a multiplexer switch. The user can switch the data selector between the first working mode and the second working mode by adjusting the configuration parameters of the register of the data selector according to the scene requirements. That is, the data selector may be connected to the local display unit 130 or to the virtual display unit 140 by parameter adjustment of a register of the data selector. In some examples, the chip 100 may automatically switch the first operating mode and the second operating mode according to different hardware (e.g., a display) communicatively coupled to the chip 100.
It should be understood that the external display unit may be a remote display unit. The external display unit may be a display unit in a VR headset, which may be connected within the same local area network as the virtual display unit 140. Thereby, the external display unit can wirelessly transmit with the virtual display unit 140.
According to some embodiments, the virtual display unit 140 may be configured to acquire, through the data selector 120, the graphic data rendered by the graphic rendering unit 110 and transmit the graphic data rendered by the graphic rendering unit 110 to the external display unit for display, in response to receiving a data request instruction transmitted by the external display unit.
The data request instruction may be an instruction to request rendered graphics data from the chip 100. In some examples, the graphics rendering unit 110 may temporarily store the rendered graphics data in a buffer or a corresponding memory, and when the virtual display unit 140 receives a data request instruction sent by an external display unit (e.g., an external display unit disposed in a VR headset), the rendered graphics data is provided to the external display unit for display through the data selector 120.
According to some embodiments, the data selector 120 may be configured to receive the first display response information from the local display unit 130, and the graphics rendering unit 110 may be configured to perform rendering of subsequent graphics data based on the first display response information, the first display response information being for instructing the local display unit 130 to complete display of the acquired graphics data.
Thus, by receiving the first display response message from the local display unit 130 through the data selector 120, the graphics rendering unit 110 can respond in time that the graphics data sent to the local display unit 130 have been displayed by the local display unit 130, so that the rendering of the subsequent graphics data (e.g., next frame of graphics data) can be performed in time, and the video based on the multi-frame of graphics data displayed by the local display unit 130 is not jammed.
According to some embodiments, the virtual display unit 140 may be configured to receive second display response information from the external display unit, and the graphics rendering unit 110 may be configured to perform rendering of subsequent graphics data based on the second display response information for instructing the external display unit to complete display of the acquired graphics data.
Thus, by receiving the second display response message from the external display unit through the data selector 120, the graphics rendering unit 110 can respond in time that the graphics data sent to the external display unit has been displayed by the external display unit, so that the rendering of the subsequent graphics data (e.g., next frame of graphics data) can be performed in time, and the video based on the multiple frames of graphics data displayed by the external display unit is not jammed.
Fig. 2 is a block diagram illustrating a structure of a chip 200 for graphics processing according to an exemplary embodiment. The chip 200 includes a graphics rendering unit 210, a data selector 220, a local display unit 230, and a virtual display unit 240, which are similar to the corresponding components of the chip 100 described with respect to fig. 1, and are not described again here.
As shown in fig. 2, according to some embodiments, the first display response information may be interrupt information, and the chip 200 may include a first interrupt connection line 251 connecting the data selector 220 and the local display unit 230, and in the first operation mode of the data selector 120, the data selector 120 receives the first display response information from the local display unit 230 through the first interrupt connection line 251.
It is understood that the interrupt information may be a vertical interrupt signal, and the vertical interrupt signal may be used to indicate that the local display unit 230 has completed drawing the screen graphic once.
With continued reference to fig. 2, according to some embodiments, the second display response information may be interrupt information, and the chip 200 may include a second interrupt connection line 252 connecting the data selector 220 and the virtual display unit 240, and in the second operation mode of the data selector 220, the data selector 220 receives the second display response information from the virtual display unit 240 through the second interrupt connection line 252.
It is to be understood that the interrupt information may be a vertical interrupt signal, and the vertical interrupt signal may be used to indicate that the external display unit has completed drawing the screen graphic once.
It can be seen that both local display unit 130 and virtual display unit 140 may be connected to data selector 120 via respective interrupt connection lines. Therefore, in a scene of an electronic device such as a general computer and a scene of a wearable electronic device (e.g., a wearable VR device), the graphics rendering unit 210 of the chip 200 can receive corresponding interrupt signals.
With continued reference to fig. 2, according to some embodiments, the chip 200 may further include a first register connection line 261 connecting the data selector 220 and the local display unit 230, and a second register connection line 262 connecting the data selector 220 and the virtual display unit 240. And the chip 200 is configured to transmit the register configuration instruction to the local display unit 230 through the first register connection line 261 via the data selector 220 in the first operation mode of the data selector 220. And the chip 200 is further configured to transmit a register configuration instruction to the virtual display unit 240 through the second register connection line 262 via the data selector 220 in the second operation mode of the data selector 220, and the virtual display unit 240 is configured to transmit the register configuration instruction to the external display unit.
Accordingly, the registers of the local display unit 230 and the registers of the external display unit connected to the virtual display unit 240 can be initialized and configured via the data selector 220, thereby ensuring that the local display unit 230 and the external display unit can smoothly display the acquired graphic data.
According to another aspect of the present disclosure, a wearable electronic device is also provided. Fig. 3 is a block diagram illustrating a wearable electronic device 300 according to an example embodiment. The wearable electronic device 300 comprises a display unit 310 communicatively connected to the chip 100 or the chip 200 according to the above, the display unit 310 being configured to: receiving rendered graphics data from the virtual display unit (140 or 240) of chip 100 in FIG. 1 or 200 in FIG. 2; and displaying an image corresponding to the rendered graphics data. By receiving the rendered graphical data from the virtual display unit 140 of the chip 100 or from the virtual display unit 240 of the chip 200, the wearable electronic device 300 may display a corresponding image on its display. The wearable electronic device 300 may be a wearable electronic device having a display function, such as VR glasses and AR glasses.
According to some embodiments, the display unit 310 may be further configured to send a data request instruction to the virtual display unit (140 or 240) of the chip 100 or 200, so that the virtual display unit acquires the rendered graphic data through the data selector (120 or 220) and sends the rendered graphic data to the display unit 310. Thus, the display unit 310 can obtain the corresponding graphic data from the chip 100 or 200 according to its requirement.
According to some embodiments, the display unit 310 may be configured to transmit a data request instruction to the virtual display unit (140 or 240) at a preset cycle. In some examples, after display unit 310 sends the data request instruction to virtual display unit 140 or 240, the corresponding rendered graphics data may not be received (e.g., a frame of graphics data may not have been rendered by the graphics rendering unit of chip 100 or 200). Therefore, by causing the display unit 310 to transmit a data request instruction to the virtual display unit 140 or 240 at a preset cycle, it can be ensured that the display unit 310 can receive graphic data corresponding to the data request instruction, thereby smoothly completing image display.
According to another aspect of the present disclosure, there is also provided a processing method 400 for graphics data of a chip. The chip includes a graphics rendering unit, a local display unit, a virtual display unit, and a data selector having a first operating mode and a second operating mode and being switchable between the first operating mode and the second operating mode. For example, the chip may be chip 100 or chip 200 described above.
FIG. 4 is a flowchart illustrating a method 400 of processing graphics data for a chip, according to an example embodiment.
As shown in fig. 4, the method 400 includes:
step S410, rendering the graphic data to be rendered by using a graphic rendering unit;
step S420, responding to the data selector in the first working mode, the local display unit obtains the graphic data rendered by the graphic rendering unit through the data selector for displaying; and
and step S430, responding to the second working mode of the data selector, the virtual display unit acquires the graphic data rendered by the graphic rendering unit through the data selector and sends the graphic data to an external display unit in communication connection with the chip for displaying.
The data selector can switch between the first working mode and the second working mode. When the data selector connects the local display unit and the graphics rendering unit in the first operating mode, the display of graphics data can be performed in a scene of an electronic device such as a general computer; when the data selector is connected with the virtual display unit and the graphic rendering unit in the second working mode, graphic data can be displayed in a scene of wearable electronic equipment (such as wearable VR equipment), and only the data selector needs to be added to connect the graphic rendering unit and the display unit and set the virtual display unit for forwarding data between the graphic rendering unit and the external display unit.
According to some embodiments, step S430 may comprise: the virtual display unit responds to a received data request instruction sent by the external display unit, obtains the graphic data rendered by the graphic rendering unit through the data selector, and sends the graphic data rendered by the graphic rendering unit to the external display unit for displaying.
The data request instruction sent by the external display unit may be a data request instruction sent from a display unit on a wearable electronic device (e.g., a wearable VR device). The data request instruction may be an instruction to request rendering of graphics data from the chip. In some examples, the graphics rendering unit may temporarily store its rendered graphics data in a buffer or a corresponding memory, and when the virtual display unit receives a data request instruction sent by an external display unit (e.g., an external display unit disposed in a VR headset), the rendered graphics data is provided to the external display unit for display by the data selector.
According to some embodiments, the method 400 may further comprise:
the data selector receives first display response information from the local display unit; and
the graphics rendering unit performs rendering of subsequent graphics data based on first display response information indicating that the local display unit completes display of the acquired graphics data.
Therefore, the data selector receives the first display response information from the local display unit, and the graphics rendering unit can respond that the graphics data sent to the local display unit are displayed by the local display unit in time, so that the subsequent graphics data (such as next frame of graphics data) can be rendered in time, and the video based on the multi-frame graphics data displayed by the local display unit is free of blockage.
According to some embodiments, the first display response information may be interrupt information, and the chip may include a first interrupt connection line connecting the data selector and the local display unit. The method 400 may further include:
in a first operating mode of the data selector, the data selector receives first display response information from the local display unit through the first interrupt connection line.
It will be appreciated that the interrupt information may be a vertical interrupt signal, which may be used to indicate that the local display unit has completed drawing the screen graphic once.
According to some embodiments, the method 400 may further comprise:
the virtual display unit receives second display response information from the external display unit; and
the graphics rendering unit performs rendering of subsequent graphics data based on second display response information for instructing the external display unit to complete display of the acquired graphics data.
Therefore, the data selector receives the second display response information from the external display unit, the graphics rendering unit can timely respond that the graphics data sent to the external display unit are displayed by the external display unit, and then the subsequent graphics data (such as next frame of graphics data) can be rendered timely, so that the video based on the multi-frame graphics data displayed by the external display unit is free of pause.
According to some embodiments, the second display response information may be interrupt information, and the chip may include a second interrupt connection line connecting the data selector and the virtual display unit. The method 400 may further include:
and in a second working mode of the data selector, the data selector receives second display response information from the virtual display unit through the second interrupt connecting line.
It is to be understood that the interrupt information may be a vertical interrupt signal, and the vertical interrupt signal may be used to indicate that the external display unit has completed drawing the screen graphic once.
According to some embodiments, the chip further comprises a first register connection line connecting the data selector and the local display unit and a second register connection line connecting the data selector and the virtual display unit. The method 400 may further include:
under a second working mode of the data selector, transmitting a register configuration instruction to the virtual display unit through the data selector by a second register connecting line; and
the register configuration instruction is sent to an external display unit using a virtual display unit.
Accordingly, the register of the local display unit and the register of the external display unit connected to the virtual display unit can be initialized and configured through the data selector, and the local display unit and the external display unit can display the acquired graphic data smoothly.
In some examples, the register configuration instructions may be transmitted to an external display unit (e.g., VR glasses) through the data selector and the virtual display unit prior to the graphics rendering unit rendering the graphics data to be rendered.
To better illustrate how graphics data processing may be performed using a chip according to an embodiment of the disclosure, further description will be provided below in conjunction with fig. 5. Fig. 5 is a diagram illustrating a scenario in which a chip and a wearable electronic device according to an exemplary embodiment are applied for graphic data processing and display.
As shown in fig. 5, the chip 500 may be the same as the chip 100 or the chip 200 described above, and the chip 500 includes a graphic rendering unit 510, a data selector 520 having a first operation mode and a second operation mode, a local display unit 530, and a virtual display unit 540. In addition, the data selector 520 is connected to the local display unit 530 and the virtual display unit 540 via the interrupt connection lines 551 and 552, respectively; and the data selector 520 is connected to the local display unit 530 and the virtual display unit 540 through register connection lines 561 and 562, respectively. The wearable electronic device 590 may be the same as the wearable electronic device 300 described above.
The data selector 520 of the chip 500 may be set to a first operation mode (i.e., the data selector 520 is connected to the local display unit 530), and thus, the chip 500 may be used in a scene of an electronic device such as a general computer. In this context, the following description will not be repeated.
Furthermore, the data selector 520 of the chip 500 may also be set to a second operation mode (i.e. connecting the data selector 520 with the virtual display unit 540), whereby the chip 500 may be used in a scenario for a wearable electronic device (e.g. a VR device). In this scenario, the virtual display unit 540 and the external display unit 591 (the display unit of the wearable electronic device 590) may communicate over a wireless network connection (as shown by the dashed arrow in fig. 5).
In a scenario for a wearable electronic device (e.g., a VR device), first, register configuration instructions may be sent to the virtual display unit 540 via the data selector 520 through a register connection line between the data selector 520 and the virtual display unit 540; after receiving the register configuration instruction, the virtual display unit 540 may send the register configuration instruction to an external display unit 591 on the wearable electronic device 590 (e.g., VR glasses) through the wireless local area network; after receiving the register configuration instruction, the external display unit 591 may perform initial configuration on its own register, so as to perform required parameter configuration for subsequent graphic display.
Graphics rendering unit 510 of chip 500 may process graphics rendering tasks submitted by a user, i.e., graphics rendering unit 510 may render each frame of graphics data separately. The graphics rendering unit 510 may store a frame of rendered graphics data in the memory of the chip 500 after completing rendering of the frame of graphics data.
An external display unit 591 (for convenience of explanation, the external display unit 591 is a display unit of the wearable electronic device 590, and is unified with the terms in the above description for convenience of understanding) in the wearable electronic device 590 may send a data request instruction to the virtual display unit 540 of the chip 500 through the wireless network according to a preset period. After receiving the data request instruction from the external display unit 591, the virtual display unit 540 may read the graphics data rendered by the graphics rendering unit 510 from the memory of the chip 500, and send the rendered graphics data to the external display unit 591 on the wearable electronic device 590 again through the wireless network. The external Display unit 591 may process the received graphics data (e.g., convert it into a Display interface signal, such as a Display Port signal, suitable for Display), and Display the corresponding image on the Display screen of the wearable electronic device 590.
When the external display unit 591 completes displaying one frame of graphic data, an interrupt signal (e.g., Vsync interrupt signal) may be generated and transmitted to the virtual display unit 540 of the chip 500 through a wireless network. Based on the interrupt signal received from the external display unit 591, the graphics rendering unit 510 of the chip 500 may render the next frame of graphics data and store the rendered next frame of graphics data in the memory, thereby waiting for the virtual display unit 540 to read the next frame of graphics data.
Thus, the chip 500 completes the task of transmitting and displaying the graphic data together with the wearable electronic device in the scene of the wearable electronic device (e.g., VR device). It can be seen that the chip 500 is compatible with the scenarios of electronic devices such as a general computer and the scenarios of wearable electronic devices (e.g., wearable VR devices).
In addition, when the display of the wearable VR device is plugged or unplugged, for example, the external display unit 591 may generate a hot plug interrupt signal, for example, and transmit the hot plug interrupt signal to the virtual display unit 540 of the chip via the wireless network for subsequent processing (e.g., pausing or resuming the rendering of graphics data by the graphics rendering unit 510, etc.).
Notably, in some embodiments, Link Training (Link Training) may be required for a Display Port (Display Port). In embodiments of the present disclosure, the above-described link training may be performed by an external display unit 591 on the wearable electronic device 590. In one example, the external display unit 591 may include a Micro Control Unit (MCU) by which to perform the above-described link training process without involvement of the virtual display unit 540 on the chip 500.
In addition, in some embodiments, during the process of displaying the graphics, Extended Display Identification Data (EDID) of the Display may also be acquired. The EDID is typically obtained via a protocol (e.g., I2C protocol, a bi-directional two-wire synchronous serial bus). In the embodiment of the disclosure, when the virtual display unit 540 receives the read-write request of I2C, the read-write request of I2C may be sent to the external display unit 591 on the wearable electronic device 590 through the network, and then the external display unit 591 sends the read-write request of I2C to the display associated with the external display unit 591, and the display returns the EDID of the display to the virtual display unit 540 through the external display unit 591 according to the read-write request, so that the chip 500 can obtain the EDID of the display on the wearable electronic device 590 in time. In some examples, the EDID of the display on the wearable electronic device 590 may be read cyclically according to the process described above.
According to another aspect of the present disclosure, there is also provided an electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described method for processing graphics data for a chip.
According to another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to execute the above-described method for processing graphic data of a chip.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, causes the processor to perform the above-described method for processing graphics data for a chip.
Illustrative examples of such electronic devices, non-transitory computer-readable storage media, and computer program products are described below in connection with fig. 6.
FIG. 6 is a block diagram illustrating an exemplary electronic device that can be applied to exemplary embodiments.
The electronic device 600 may be a variety of different types of devices. Examples of electronic device 600 include, but are not limited to: a desktop computer, a server computer, a notebook or netbook computer, a mobile device (e.g., a tablet, a cellular or other wireless telephone (e.g., a smartphone), a notepad computer, a mobile station), a wearable device (e.g., glasses, a watch), an entertainment device (e.g., an entertainment appliance, a set-top box communicatively coupled to a display device, a gaming console), a television or other display device, an automotive computer, and so forth.
The electronic device 600 may include at least one processor 602, memory 604, communication interface(s) 606, display device 608, other input/output (I/O) devices 610, and one or more mass storage devices 612, which may be capable of communicating with each other, such as through a system bus 614 or other suitable connection.
Processor 602 may be a single processing unit or multiple processing units, all of which may include single or multiple computing units or multiple cores. The processor 602 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuitry, and/or any devices that manipulate signals based on operational instructions. Among other capabilities, the processor 602 can be configured to retrieve and execute computer readable instructions stored in the memory 604, mass storage device 612, or other computer readable medium, such as program code for an operating system 616, program code for an application program 618, program code for other programs 620, and so forth.
Memory 604 and mass storage device 612 are examples of computer readable storage media for storing instructions that are executed by processor 602 to implement the various functions described above. By way of example, memory 604 may generally include both volatile and nonvolatile memory (e.g., RAM, ROM, and the like). In addition, mass storage device 612 may generally include a hard disk drive, solid state drive, removable media, including external and removable drives, memory cards, flash memory, floppy disks, optical disks (e.g., CDs, DVDs), storage arrays, network attached storage, storage area networks, and the like. Memory 604 and mass storage device 612 may both be referred to herein collectively as memory or computer-readable storage media, and may be non-transitory media capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by processor 602 as a particular machine configured to implement the operations and functions described in the examples herein.
A number of programs may be stored on the mass storage device 612. These programs include an operating system 616, one or more application programs 618, other programs 620, and program data 622, which can be loaded into memory 604 for execution. Examples of such applications or program modules may include, for instance, computer program logic (e.g., computer program code or instructions) for implementing the following components/functions: method 400 (including any suitable steps of method 400), and/or additional embodiments described herein.
Although illustrated in fig. 6 as being stored in memory 604 of electronic device 600, modules 616, 618, 620, and 622, or portions thereof, may be implemented using any form of computer-readable media that is accessible by electronic device 600. As used herein, "computer-readable media" includes at least two types of computer-readable media, namely computer-readable storage media and communication media.
Computer-readable storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information for access by an electronic device. In contrast, communication media may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism. Computer-readable storage media, as defined herein, does not include communication media.
One or more communication interfaces 606 are used to exchange data with other devices, such as over a network, direct connection, and the like. Such communication interfaces may be one or more of the following: any type of network interface (e.g., a Network Interface Card (NIC)), wired or wireless (such as IEEE 802.11 Wireless LAN (WLAN)) wireless interface, worldwide interoperability for microwave Access (Wi-MAX) interface, Ethernet interface, Universal Serial Bus (USB) interface, cellular network interface, Bluetooth TM An interface, a Near Field Communication (NFC) interface, etc. The communication interface 606 may facilitate communication within a variety of networks and protocol types, including wired networks (e.g., LAN, cable, etc.) andwireless networks (e.g., WLAN, cellular, satellite, etc.), the internet, and so forth. The communication interface 606 may also provide for communication with external storage devices (not shown), such as in storage arrays, network attached storage, storage area networks, and so forth.
In some examples, a display device 608, such as a monitor, may be included for displaying information and images to a user. Other I/O devices 610 may be devices that receive various inputs from a user and provide various outputs to the user, and may include touch input devices, gesture input devices, cameras, keyboards, remote controls, mice, printers, audio input/output devices, and so forth.
The techniques described herein may be supported by these various configurations of the electronic device 600 and are not limited to specific examples of the techniques described herein. For example, the functionality may also be implemented in whole or in part on a "cloud" using a distributed system. The cloud includes and/or represents a platform for resources. The platform abstracts underlying functionality of hardware (e.g., servers) and software resources of the cloud. The resources may include applications and/or data that may be used when performing computing processing on a server remote from the electronic device 600. Resources may also include services provided over the internet and/or over a subscriber network such as a cellular or Wi-Fi network. The platform may abstract resources and functions to connect the electronic device 600 with other electronic devices. Thus, implementations of the functionality described herein may be distributed throughout the cloud. For example, the functionality can be implemented in part on the electronic device 600 and in part by a platform that abstracts the functionality of the cloud.
While the disclosure has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative and exemplary and not restrictive; the present disclosure is not limited to the disclosed embodiments. Variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed subject matter, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps not listed, the indefinite article "a" or "an" does not exclude a plurality, the term "a" or "an" means two or more, and the term "based on" should be construed as "based at least in part on". The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.

Claims (20)

1. A chip for graphics processing, comprising:
a graphics rendering unit configured to render graphics data to be rendered;
a data selector configured to have a first operation mode and a second operation mode and to be switchable between the first operation mode and the second operation mode;
a local display unit, the data selector further configured to connect the local display unit and the graphics rendering unit in the first operating mode, the local display unit configured to obtain, by the data selector, graphics data rendered by the graphics rendering unit for display; and
the data selector is further configured to be connected with the virtual display unit and the graphics rendering unit in the second working mode, and the virtual display unit is configured to acquire graphics data rendered by the graphics rendering unit through the data selector and send the graphics data to an external display unit in communication connection with the chip for display.
2. The chip according to claim 1, wherein the virtual display unit is configured to, in response to receiving a data request instruction sent by the external display unit, acquire, by the data selector, the graphics data rendered by the graphics rendering unit and send the graphics data rendered by the graphics rendering unit to the external display unit for display.
3. The chip according to claim 1 or 2, wherein the data selector is configured to receive first display response information from the local display unit, and the graphics rendering unit is configured to perform rendering of subsequent graphics data based on the first display response information, the first display response information being used to instruct the local display unit to complete display of the acquired graphics data.
4. The chip of claim 3, wherein the first display response message is an interrupt message, the chip comprises a first interrupt connection line connecting the data selector and the local display unit, and in the first operating mode of the data selector, the data selector receives the first display response message from the local display unit through the first interrupt connection line.
5. The chip according to claim 1 or 2, wherein the virtual display unit is configured to receive second display response information from the external display unit, and the graphics rendering unit is configured to perform rendering of subsequent graphics data based on the second display response information, the second display response information being used to instruct the external display unit to complete display of the acquired graphics data.
6. The chip of claim 5, wherein the second display response message is an interrupt message, the chip comprises a second interrupt connection line connecting the data selector and the virtual display unit, and in the second operation mode of the data selector, the data selector receives the second display response message from the virtual display unit through the second interrupt connection line.
7. The chip according to claim 1 or 2, wherein the chip further comprises a first register connection line connecting the data selector and the local display unit and a second register connection line connecting the data selector and the virtual display unit,
wherein the chip is configured to transmit a register configuration instruction to the local display unit through the first register connection line via the data selector in the first operating mode of the data selector,
and wherein the chip is further configured to transmit a register configuration instruction to the virtual display unit through the second register connection line via the data selector in the second operating mode of the data selector, and the virtual display unit is configured to transmit the register configuration instruction to the external display unit.
8. A method for processing graphics data for a chip, the chip comprising a graphics rendering unit, a local display unit, a virtual display unit, and a data selector having a first mode of operation and a second mode of operation and being switchable between the first mode of operation and the second mode of operation, the method comprising:
rendering the graphic data to be rendered by using a graphic rendering unit;
in response to the data selector being in the first operating mode, the local display unit obtaining, by the data selector, graphics data rendered by the graphics rendering unit for display; and
and responding to the data selector in the second working mode, the virtual display unit acquires the graphic data rendered by the graphic rendering unit through the data selector and sends the graphic data to an external display unit in communication connection with the chip for displaying.
9. The method of claim 8, wherein the virtual display unit obtaining, by the data selector, the graphics data rendered by the graphics rendering unit and sending the graphics data to an external display unit communicatively coupled to the chip for display comprises: and the virtual display unit responds to a received data request instruction sent by the external display unit, acquires the graphic data rendered by the graphic rendering unit through the data selector, and sends the graphic data rendered by the graphic rendering unit to the external display unit for displaying.
10. The method according to claim 8 or 9, characterized in that the method further comprises:
the data selector receives first display response information from the local display unit; and
the graphics rendering unit performs rendering of subsequent graphics data based on the first display response information indicating that the local display unit completes display of the acquired graphics data.
11. The method of claim 10, wherein the first display response message is an interrupt message, wherein the chip includes a first interrupt connection line connecting the data selector and the local display unit, and wherein the method further comprises:
in the first operating mode of the data selector, the data selector receives the first display response information from the local display unit through the first interrupt connection line.
12. The method according to claim 8 or 9, characterized in that the method further comprises:
the virtual display unit receives second display response information from the external display unit; and
the graphics rendering unit performs rendering of subsequent graphics data based on the second display response information for instructing the external display unit to complete display of the acquired graphics data.
13. The method of claim 12, wherein the second display response message is an interrupt message, wherein the chip includes a second interrupt connection line connecting the data selector and the virtual display unit, and wherein the method further comprises:
and in the second working mode of the data selector, the data selector receives the second display response information from the virtual display unit through the second interrupt connecting line.
14. The method of claim 8 or 9, wherein the chip further comprises a first register connection line connecting the data selector and the local display unit and a second register connection line connecting the data selector and the virtual display unit, the method further comprising:
in the second operating mode of the data selector, transmitting a register configuration instruction to the virtual display unit through the data selector by the second register connection line; and
and sending the register configuration instruction to the external display unit by using the virtual display unit.
15. A wearable electronic device comprising a display unit communicatively coupled to the chip of any of claims 1-7, the display unit configured to:
receiving rendered graphics data from a virtual display unit of the chip; and
displaying an image corresponding to the rendered graphics data.
16. The wearable electronic device of claim 15, wherein the display unit is further configured to send a data request instruction to the virtual display unit of the chip to cause the virtual display unit to retrieve the rendered graphical data via a data selector and send to the display unit.
17. The wearable electronic device of claim 16, wherein the display unit is configured to send the data request instruction to the virtual display unit at a preset period.
18. An electronic device comprising at least one processor; and
a memory communicatively coupled to the at least one processor; wherein
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 8-14.
19. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, causes the processor to carry out the method of any one of claims 8-14.
20. A computer program product comprising a computer program which, when executed by a processor, causes the processor to carry out the method of any one of claims 8 to 14.
CN202210442470.8A 2022-04-25 2022-04-25 Chip for graphic processing, graphic data processing method and electronic equipment Active CN114820276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210442470.8A CN114820276B (en) 2022-04-25 2022-04-25 Chip for graphic processing, graphic data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210442470.8A CN114820276B (en) 2022-04-25 2022-04-25 Chip for graphic processing, graphic data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114820276A true CN114820276A (en) 2022-07-29
CN114820276B CN114820276B (en) 2023-02-10

Family

ID=82507365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210442470.8A Active CN114820276B (en) 2022-04-25 2022-04-25 Chip for graphic processing, graphic data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114820276B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102696035A (en) * 2009-08-13 2012-09-26 斯灵媒体有限公司 Systems, methods, and program applications for selectively restricting the placeshifting of copy protected digital media content
US9495124B1 (en) * 2012-06-18 2016-11-15 Crimson Corporation Device for displaying a remote display according to a monitor geometry
CN108881802A (en) * 2018-07-09 2018-11-23 深圳市潮流网络技术有限公司 A kind of demonstration source input method of SIP video conference
CN110895788A (en) * 2019-11-29 2020-03-20 上海众链科技有限公司 System for enhancing graphic processing capability and external device
CN111937068A (en) * 2018-06-29 2020-11-13 英特尔公司 Computer for supporting multiple virtual reality display devices and related methods
CN112991505A (en) * 2021-04-16 2021-06-18 辽宁向日葵教育科技有限公司 Online 3D rendering method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102696035A (en) * 2009-08-13 2012-09-26 斯灵媒体有限公司 Systems, methods, and program applications for selectively restricting the placeshifting of copy protected digital media content
US9495124B1 (en) * 2012-06-18 2016-11-15 Crimson Corporation Device for displaying a remote display according to a monitor geometry
CN111937068A (en) * 2018-06-29 2020-11-13 英特尔公司 Computer for supporting multiple virtual reality display devices and related methods
CN108881802A (en) * 2018-07-09 2018-11-23 深圳市潮流网络技术有限公司 A kind of demonstration source input method of SIP video conference
CN110895788A (en) * 2019-11-29 2020-03-20 上海众链科技有限公司 System for enhancing graphic processing capability and external device
CN112991505A (en) * 2021-04-16 2021-06-18 辽宁向日葵教育科技有限公司 Online 3D rendering method

Also Published As

Publication number Publication date
CN114820276B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
EP2911342B1 (en) Home gateway and intelligent terminal integrated system and communication method therefor
US10949158B2 (en) Screenshot method and apparatus
CN112004086B (en) Video data processing method and device
US20180197501A1 (en) Display connection switching
CN111494936A (en) Picture rendering method, device, system and storage medium
CN102053871A (en) Application program image display method and device
JP2016511876A (en) Inter-terminal image sharing method, terminal device, and communication system
CN104571581A (en) Switching device and switching method for enabling multiple hosts to share display equipment
CN113628304B (en) Image processing method, image processing device, electronic equipment and storage medium
US11665400B2 (en) Media device upgrading system over a wireless network
CN112351333A (en) Data transmission method, device and medium
CN111736792A (en) Programmable logic device, control method and control system thereof and video processor
JP7018110B1 (en) Mobile device dock
CN114820276B (en) Chip for graphic processing, graphic data processing method and electronic equipment
CN113094015A (en) Holographic multi-screen display implementation method and system, computer equipment and storage medium
CN109656467B (en) Data transmission system of cloud network, data interaction method and device and electronic equipment
US9910698B2 (en) Information processing apparatus, information processing method, and program
US11656834B2 (en) Information processing device, non-transitory recording medium, and information processing system
WO2021136433A1 (en) Electronic device and computer system
CN115878058A (en) Information processing method and device, cloud terminal, cloud server and storage medium
KR20140042365A (en) Multi display device for smart phone
US9674307B1 (en) Running mobile applications in a distributed client-server model using selective delegation of hardware and software contexts to the client
JP5707366B2 (en) USB terminal control method and apparatus for executing the same
CN113421321B (en) Rendering method and device for animation, electronic equipment and medium
CN111327954B (en) Display configuration information processing method and display equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant