Graphics processor, rendering system and method for operating a graphics processor

By using an internal command generator and graphics computing device in the graphics processor, using timing information and sensing information to regularly perform deformation, the delay problem caused by switching between rendering and deformation technology in VR is solved, improving realism and immersion.

CN109978749BActive Publication Date: 2024-09-13SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810941406.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-12-22
Filing Date
2018-08-17
Publication Date
2024-09-13
Estimated Expiration
2038-08-17

AI Technical Summary

Technical Problem

In virtual reality (VR) applications, context switching between existing rendering results and deformation techniques results in lag times that reduce realism.

Method used

By introducing an internal command generator and graphics computing device in the graphics processor, the timing information and sensing information are used to perform deformations regularly, avoiding context switching by the host, thereby reducing latency.

Benefits of technology

It effectively reduces the delay time during deformation, improves the sense of reality and immersion in virtual reality, and ensures rapid reflection of user movements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109978749B_ABST
    Figure CN109978749B_ABST
Patent Text Reader

Abstract

A graphics processor, a rendering system, and a method for operating a graphics processor are provided. The graphics processor may include an internal command generator and a graphics computing device. The internal command generator may be configured to receive timing information and generate a deformation command for periodically performing deformation based on the timing information. The graphics computing device may be configured to periodically perform the deformation in response to the deformation command by using sensing information provided from an external source and rendered frame data without context switching by a host.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references to related patent applications

[0002] This application claims the priority benefit of Korean Patent Application No. 10-2017-0178741 filed on December 22, 2017 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference. Technical Field

[0003] Apparatuses and methods consistent with example embodiments relate to a graphics processor, and more particularly, to a graphics processor that performs warping, a rendering system including the graphics processor, and a method of operating the graphics processor. Background Art

[0004] Virtual reality (VR) refers to the use of computers to create a user-to-device interface for a specific environment or situation, so that the user using the interface feels as if they are interacting with the real environment and real situation. In VR applications, the user's movements are reflected on the images displayed to the user, thus greatly demonstrating realism.

[0005] In order to quickly reflect the user's movements to the image displayed to the user, a warping technique that uses existing rendering results may be applicable. However, the latency that occurs when switching between the context for rendering and the context for warping may reduce the sense of realism in VR. Summary of the invention

[0006] One or more example embodiments provide a graphics processor capable of enhancing realism in virtual reality (VR) by reducing a delay time occurring during deformation, a rendering system including the graphics processor, and a method of operating the graphics processor.

[0007] According to one aspect of an example embodiment, a graphics processor is provided, the graphics processor comprising: an internal command generator configured to receive timing information and generate a deformation command for periodically performing deformation based on the timing information; and a graphics computing device configured to periodically perform the deformation in response to the deformation command by using sensing information provided from an external source and rendered frame data that has been rendered, without context switching by a host.

[0008] According to an aspect of an example embodiment, a rendering system is provided, the rendering system comprising: a timer configured to generate timing information indicating deformation timing; a graphics processor configured to perform rendering in response to a command from a host to generate rendered frame data; a memory comprising a storage area and a processor, the storage area storing the rendered frame data, the processor configured to perform deformation in response to the timing information by using the rendered frame data and sensing information provided from an external source, and store the deformed image in the storage area.

[0009] According to one aspect of an example embodiment, a method of operating a graphics processor is provided. The method may include: generating rendered frame data in response to a command from a host; determining deformation timing based on timing information received independently of the host; performing deformation based on the rendered frame data and sensing information received independently of the host; and notifying the host that the deformation is completed. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and / or other aspects will be more clearly understood from the following detailed description of example embodiments in conjunction with the accompanying drawings, in which:

[0011] Figure 1 is a block diagram of a rendering system according to an example embodiment;

[0012] Figure 2 yes Figure 1 A block diagram of an example of a rendering system that has been applied to a head mounted display (HMD);

[0013] Figure 3 is a block diagram illustrating the operation of a rendering system according to an example embodiment;

[0014] Figure 4 is a flowchart of a method of operating a graphics processor according to an example embodiment;

[0015] Figure 5A and Figure 5B are diagrams illustrating a general deformation process based on context switching and a deformation process according to an exemplary embodiment, respectively;

[0016] Figure 6 is a block diagram of a rendering system according to an example embodiment;

[0017] Figure 7 is a block diagram illustrating a detailed structure and operation of a graphics processor according to an example embodiment;

[0018] Figure 8 is a block diagram illustrating a process associated with the operation of a graphics processing unit (GPU);

[0019] Fig. 9 and Fig.10 is a flowchart of a method of operating a rendering system according to an example embodiment;

[0020] Fig.11 It is implemented according to Fig. 9 A block diagram of an embodiment of a graphics processor of the method of operation of the above example embodiment;

[0021] Fig.12 It is implemented according to Fig.10 A block diagram of an embodiment of a rendering system of the operating method of the above exemplary embodiment;

[0022] Fig.13 An example of operational characteristics of deformation performed by a GPU under host control and deformation performed by an operation processor during deformation is illustrated; and

[0023] Fig.14 is a block diagram of a mobile device including a memory device according to an example embodiment. DETAILED DESCRIPTION

[0024] Example embodiments will now be described more fully with reference to the accompanying drawings.

[0025] Figure 1 1 is a block diagram of a rendering system 10 according to an example embodiment. The rendering system 10 may include a graphics processor 100 and a memory 101. The graphics processor 100 may be a graphics processing unit (GPU). For ease of explanation, in the following example embodiments, the GPU may be referred to as a graphics processor. However, the graphics processor 100 may be implemented using any of various other types of processors including a central processing unit (CPU), an application processor (AP), etc.

[0026] The graphics processor 100 may perform graphics operations within the rendering system 10. For example, the graphics processor 100 may receive a three-dimensional (3D) object and then perform graphics operations on the received 3D object to output a two-dimensional (2D) rendered image. The graphics processor 100 may be configured to perform tile-based rendering and may include a graphics pipeline to implement the configuration. The graphics pipeline may process multiple pieces of graphics data in parallel. Each graphics pipeline may include various types of configurations for graphics-related operations and may be configured, for example, by hardware, software, or a combination of both.

[0027] The rendering system 10 may also include a central processing unit (CPU) that controls the overall operation of the system, and various types of buses such as a peripheral component interconnect (PCI) bus and a PCI Express bus for communication between components. Examples of the rendering system 10 may include, but are not limited to, a personal computer (PC), a mobile phone, a smart phone, a laptop computer, a tablet PC, a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation device, a smart TV, a head mounted display (HMD), and a wearable device. The rendering system 10 may correspond to any of various types of electronic systems.

[0028] The graphics processor 100 may receive a plurality of rendering-related information based on various types of application program interface (API) standards such as Open Graphics Library (OpenGL), DirectX, and Compute Unified Device Architecture (CUDA), and may perform various graphics-related operations such as shading, texturing, deformation, etc. The memory 101 may be integrated into the same semiconductor chip as the graphics processor 100, or may be implemented using a semiconductor chip different from the graphics processor 100. The memory 101 may correspond to a random access memory (RAM) such as a dynamic random access memory (DRAM) or a static random access memory (SRAM), or may correspond to a memory device such as a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The memory 101 may store graphics data (e.g., frame data) to be processed by the graphics processor 100, or may store graphics data that has been processed by the graphics processor 100.

[0029] According to an example embodiment, the graphics processor 100 may perform graphics operations for virtual reality (VR) applications, and may reflect the user's motion in an image displayed to the user in the VR application. In this case, the delay time between the user's motion and the display screen of the VR device reflecting the user's motion may be defined as the photon delay of the motion, and the graphics processor 100 may perform deformation processing that reflects the user's motion information again in the rendered graphics data (e.g., frame data) so as to reduce the photon delay time of the motion.

[0030] The graphics processor 100 may perform deformation (or a thread for deformation) via fixed updates in order to reduce a motion-to-photon delay time caused by various factors such as context switching by the host (or by an operating system (OS)) within the rendering system 10. For example, the graphics processor 100 may not change a rendering operation to an operation for deformation by context switching by the host or the OS, but may perform deformation via fixed updates corresponding to a specific cycle.

[0031] According to an example embodiment, the graphics processor 100 may generate the warping command CMD_warp based on the timing information Info_T indicating a specific cycle. The graphics processor 100 may periodically generate the warping command CMD_warp based on the timing information Info_T provided from a timer included inside or outside the graphics processor 100. In other words, since the graphics processor 100 can perform warping without requiring context switching by the host to change the thread of the graphics processor 100, the photon delay time of the motion can be reduced.

[0032] For such an operation, the graphics processor 100 may include an internal command generator 110 and a graphics computing device 120. The internal command generator 110 may generate an internal command for controlling a graphics operation performed within the graphics processor 100. For example, the internal command generator 110 may generate the above-mentioned warping command CMD_warp in response to the timing information Info_T. The internal command generator 110 may process a command provided by the host, and may also generate another internal command for controlling an internal operation of the graphics processor 100.

[0033] The graphics computing device 120 may perform various types of graphics operations. For example, the graphics computing device 120 may perform deformation in response to the deformation command CMD_warp by using the rendered frame data and the sensing information (i.e., sensor information) Info_sen. For example, the graphics computing device 120 may determine that the image displayed to the user has changed this state based on the sensing information Info_sen, and may generate deformed frame data (e.g., a deformed image) reflected on the image displayed to the user by deforming the frame data. According to an example embodiment, the graphics computing device 120 may provide the host with information Info_warp indicating that the deformation has been completed. In other words, the graphics computing device 120 may notify the host that the deformation has been completed.

[0034] In response to commands from the host, the graphics computing device 120 may perform graphics operations for general rendering. The host may provide a series of commands describing a rendering technique and data to be rendered to the graphics processor 100 via a host driver, and the graphics processor 100 may receive and interpret the commands and thus perform a rendering process including a geometry transformation process, a rasterization process, and / or a pixel shading process.

[0035] The graphics computing device 120 may include at least one hardware (e.g., a processing core), and the deformation process may be performed by the at least one hardware. According to an example embodiment, deformation and general rendering may be performed by the same hardware or different hardware. According to an example embodiment, when the graphics computing device 120 is performing general rendering according to a command received from the host, the graphics computing device 120 may interrupt the general rendering in response to the deformation command CMD_warp from the internal command generator 110, and may perform deformation.

[0036] The timing information Info_T may include information having a specific period, and then may be provided to the graphics processor 100. For example, the timing information Info_T may include information activated at intervals of at least one frame interval. The graphics processor 100 may perform deformation processing using the sensing information Info_sen at a time when the timing information Info_T has been activated. The sensing information Info_sen may be various types of information, such as information about the sensed head movement or head position of the user. The graphics processor 100 may communicate with the memory 101, thereby receiving rendered frame data from the memory 101. For example, the deformed frame may correspond to a frame immediately before the frame currently being rendered or the latest frame output (or displayed). Since deformation is performed periodically according to an exemplary embodiment, frame data deformed at a specific period (e.g., regular time intervals) may be updated to the memory 101.

[0037] According to the exemplary embodiment, since the graphics processor 100 periodically performs deformation according to the timing information Info_T without performing context switching by the host causing time delay, the delay time can be removed during deformation. In other words, according to the exemplary embodiment, the problem of delayed deformation, incomplete deformation when the deformed image is to be output can be alleviated or eliminated, and the result of the deformation process using the latest output frame can be correctly output.

[0038] Figure 2 yes Figure 1 1 is a block diagram of an example in which the rendering system 10 is applied to an HMD. When the rendering system 10 corresponds to the HMD, the rendering system 10 may further include a VR body 11. The rendering system 10 may include Figure 1 Components shown in . Figure 1 The components shown in the figure can form a rendering device. Figure 2 The rendering device may include a graphics processor 100 and a memory 101, and may be coupled to a VR body 11. A user may watch a VR image processed by the rendering system 10 by wearing the VR body 11.

[0039] According to an example embodiment, the rendering system 10 may further include a timer 130 and a sensor 140. The timer 130 may generate timing information Info_T indicating the timing at which the above-mentioned deformation process is to be performed, and may provide the timing information Info_T to the graphics processor 100. The sensor 140 may generate various types of sensing information including the user's head movement and head position. For example, the sensor 140 may include, but is not limited to, various types of sensors such as inertial sensors, optical sensors, proximity sensors, magnetic sensors, acceleration sensors, infrared sensors, gyro sensors, orientation sensors (e.g., global positioning system (GPS) sensors), and RGB sensors (i.e., color sensors). Alternatively, the sensor 140 may correspond to other types of sensors, or may also include other sensors. Although the sensor 140 is included in Figure 2 In the rendering device, the sensor 140 may also be included in the VR body 11, and may provide sensing information Info_sen to the graphics processor 100 via wired or wireless communication.

[0040] Figure 3 is a block diagram illustrating the operation of the rendering system 200 according to example embodiments.

[0041] Reference Figure 3 , the rendering system 200 may include a GPU 210 as a graphics processor, a head position sensor 220 as an example of a sensor, a timer 230, and a host 240. The host 240 may include an application and a host driver. For example, the application and the host driver may correspond to software stored in an operating memory (e.g., a main memory) included in the rendering system 200, and since the application and the host driver are executed by a CPU included in the rendering system 200, functions corresponding to the application and the host driver may be implemented. The host driver may be arranged in unison with various types of components included in the rendering system 200, and the components included in the rendering system 200 may be controlled by the host driver.

[0042] The host 240 may provide data and commands to be rendered to the GPU 210 via a host driver. The GPU 210 may perform rendering in response to the commands via the host driver and may store the rendered results in an external memory.

[0043] The GPU 210 may directly receive the timing information Info_T and the sensing information Info_sen without requesting intervention from the host driver, and may determine the deformation timing based on the received timing information Info_T and the received sensing information Info_sen. The timing information Info_T may include loop information for updating the deformed frame data, and the GPU 210 may perform deformation according to the timing information Info_T. In other words, the GPU 210 may perform deformation regardless of the context switch performed by the OS (or the host 240), and may provide information indicating that the deformation has been completed to the host 240. The GPU 210 may temporarily interrupt the rendering process currently being performed in order to perform deformation. For example, the GPU 210 may interrupt a certain operation process according to the preemptive method and may perform deformation. The GPU 210 may be allocated some other resources (e.g., a processing core) and perform deformation. According to an example embodiment, deformation may be performed by a resource that performs general rendering.

[0044] According to example embodiments, in the rendering system 200, the timing information Info_T and the sensing information Info_sen may be provided to the host 240. For example, the timing information Info_T and the sensing information Info_sen may be provided to the host 240 via an OS driver, and the host 240 may control output of a deformed image based on various types of received information.

[0045] According to an example embodiment, the GPU 210 may include a plurality of processing cores, some of which may perform rendering and other processing cores may perform deformation in parallel with the rendering. According to an example embodiment, the GPU 210 may check the sensing information Info_sen during deformation based on the timing information Info_T, and may skip deformation when the user's head position has not changed.

[0046] According to an example embodiment, when executing a specific application, multiple context switches may occur based on OS control, but the GPU 210 can perform deformation without context switching performed by the OS. Therefore, the user's movement can be quickly reflected in the display image presented to the user, thereby improving the sense of reality and immersion in VR. In addition, the problem of incomplete and / or delayed rendering of a new frame at a determined frame timing due to context switching performed by the OS can be alleviated or eliminated.

[0047] Figure 4 is a flowchart of a method of operating a graphics processor according to example embodiments.

[0048] Reference Figure 4In operation S11, the graphics processor may perform general rendering in response to a command from the host, and in operation S12, the graphics processor may periodically receive timing information and sensing information while performing rendering regardless of the host. For example, the sensing information may be periodically updated to an internal register of the graphics processor or an external memory of the graphics processor, and may be read from the internal register or the external memory and provided to a command processor included in the graphics processor.

[0049] In operation S13, the graphics processor may determine a time to perform deformation according to the received timing information. In operation S14, the graphics processor may perform deformation by using the rendered frame data (or the latest output frame data) and the sensing information. According to an example embodiment, the rendering process currently being performed may be interrupted and deformation may be performed, and the deformation may be performed by the hardware performing the rendering or by separate hardware. In operation S15, the graphics processor may send information indicating that the deformation is completed to the host.

[0050] Figure 5A and Figure 5B 1 and 2 are diagrams illustrating a general deformation process based on context switching and a deformation process according to an exemplary embodiment, respectively. In the exemplary embodiment, deformation may be defined as a concept distinguished from the above-mentioned general rendering, and rendering and general rendering may be used interchangeably. Figure 5A and Figure 5B To describe an example of performing rendering from the perspective of the host.

[0051] The memory may include multiple buffers, Figure 5A and Figure 5B The first buffer Buffer0 and the second buffer Buffer1 are spaces for storing rendering results, and thus can represent a front buffer used in display and a back buffer for recording intermediate data of rendering. However, this is only an example, and thus the memory may have three or more buffers.

[0052] Reference Figure 5A, the host may provide a command for rendering to the GPU, and the GPU may render the Nth frame by using the second buffer Buffer1. An OS event indicating a deformation loop may occur during rendering, so the host may interrupt the rendering process currently being executed, and may switch to a context for deformation via a host driver request based on the rendered frame data and head position information. At this time, because the rendering of the Nth frame has not yet been completed, the GPU may perform deformation under the control of the host by using the (N-1)th frame data frame N-1 rendered immediately before the Nth frame and stored in the first buffer Buffer0, and may generate deformed frame data (e.g., deformed image frame (N-1)'). The generated deformed image frame (N-1)' may correspond to a new image obtained by reflecting the most recently updated user head position information in the (N-1)th frame, and the generated deformed image frame (N-1)' may be output.

[0053] After the deformation, the context is switched again for rendering for the Nth frame, and then rendering is performed on the Nth frame. This operation may be repeatedly performed on the (N+1)th frame, the (N+2)th frame, and so on.

[0054] In this case, if Figure 5A As shown, frame omission may occur due to the delay time caused by context switching. For example, after rendering for the Nth frame has been completed, during the rendering process for the (N+1)th frame, as indicated by the dotted line, in the case where a context switch for deformation occurs, the delay time may unexpectedly increase, and a deformed image using the final output frame (e.g., the Nth frame) may not be output. In this case, the existing deformed image frame (N-1)' may be reused under the control of the host. This may result in a reduction in realism and immersion in the user experience.

[0055] Reference Figure 5B , the GPU can reduce OS intervention when performing deformation, so the rendered and updated frames can be properly reflected during deformation. For example, Figure 5B As shown, the GPU performs deformation at regular intervals without intervention of the OS, thereby eliminating the delay time used by the OS to perform context switching.

[0056] For example, the GPU may perform general rendering on the Nth frame by using the second buffer Buffer1 according to a command of the host, and the GPU may perform deformation by using the (N-1)th frame data stored in the first buffer Buffer0 and the sensing information according to the timing information, and may output a deformed image frame (N-1)' generated by the deformation. At this time, the host may continuously provide the GPU with commands and data for general rendering without context switching.

[0057] Thereafter, the GPU may render the (N+1)th frame according to the command of the host, and the GPU may perform deformation by using the Nth frame data stored in the second buffer Buffer1 and the sensing information according to the timing information, and may output a deformed image frame N' generated by the deformation. In other words, since the delay time caused by the context switching performed by the host before the deformation is performed can be eliminated, the deformation result can be appropriately updated, and accordingly, a more stable and consistent user experience can be provided.

[0058] Figure 6 is a block diagram of a rendering system 300 according to an example embodiment.

[0059] The rendering system 300 may include a GPU 310 as a graphic processor, a VR body 320, and a memory 330. As described above, when the rendering system 300 is an HMD, components other than the VR body 320 may constitute a rendering device, and the rendering device may be coupled to the VR body 320.

[0060] The GPU 310 may include an internal timer 311 and an internal command generator 312, and the VR body 320 may include a sensor 321. In the above exemplary embodiment, the memory 330 may include at least one buffer, and the GPU 310 may receive the rendered frame data Data_Ren from the memory 330, may perform deformation according to the above exemplary embodiment on the rendered frame data Data_Ren, and may store the deformed frame data Data_warp in the memory 330.

[0061] According to example embodiments, the timing information Info_T and the sensing information Info_sen may be generated in various forms within the rendering system 300. Figure 6 In the embodiment, since the VR body 320 includes the sensor 321, the VR body 320 can sense the head movement and head position of the user, and can provide the sensing information Info_sen to the GPU 310 via a wired or wireless transmission unit. The GPU 310 can periodically perform deformation according to the timing information Info_T from the internal timer 311 of the GPU 310 without intervention of the host or OS. Figure 6 The features shown in 300 are merely example embodiments, and thus the internal timer 311 and the sensor 321 may be arranged in various other locations within the rendering system 300 .

[0062] Figure 7 is a block diagram illustrating a detailed structure and operation of a graphic processor according to example embodiments.

[0063] Reference Figure 7, the rendering system 400 may include a GPU 410 as a graphics processor, and may also include a sensor 420, a timer 430, and a memory 440. As the sensor 420, Figure 7 A head position sensor for sensing the head movement and / or head position of the user is illustrated. The sensor 420 and the timer 430 may be arranged at various locations within the rendering system 400, or according to the above-described exemplary embodiment, the sensor 420 may be arranged in the VR body.

[0064] The GPU 410 may include a register 411, an interrupt controller 413, a command processor 414, a shader processor 415, and a memory controller 416. The GPU 410 may include a component that detects an opportunity internally as an optional component. Figure 7 An example is illustrated in which the internal timer 412 is included in the GPU 410. In this case, the timer 430 may not be included in the rendering system 400, or the GPU 410 does not need to receive the timing information Info_T from the timer 430. For example, the memory controller 416 may be a direct memory access controller (DMAC).

[0065] The memory 440 may include various storage areas, such as an area for storing various pieces of information used in the rendering system 400, and at least one buffer area for storing frame data rendered according to the above-described exemplary embodiment and frame data being rendered. The deformed frame data may also be stored in the memory 440, and the host may output the deformed image stored in the memory 440 to the display.

[0066] The register 411 may temporarily store various pieces of information associated with a graphics operation. For example, the register 411 may store state information associated with the operation of the GPU 410 or store sensing information Info_sen, such as head motion and / or head position information received from the sensor 420. When deformation is performed within the GPU 410, the sensing information Info_sen periodically updated in the register 411 may be used.

[0067] Alternatively, as an example, the sensing information Info_sen from the sensor 420 may be stored in an area of ​​the memory 440, and address information of the area of ​​the memory 440 storing the sensing information Info_sen via an initial setting process of the rendering system 400 may be stored in the register 411. When deformation is performed within the GPU 410, the sensing information Info_sen read from the memory 440 according to the address stored in the register 411 may be used.

[0068] The interrupt controller 413 may control the interrupt operation in response to the timing information Info_T inside or outside the GPU 410. According to an example embodiment, the interrupt controller 413 may control the interrupt based on the timing information Info_T so that the GPU 410 performs deformation. For example, the interrupt controller 413 may interrupt the rendering process currently being executed and control the interrupt, thereby performing deformation. The command processor 414 may perform an internal command generation operation according to the above-described example embodiment, and may generate a deformation command for controlling deformation according to the example embodiment. The command processor 414 may perform an overall command control operation within the GPU 410, and may perform an operation of processing a command received from a host.

[0069] The shader processor 415 may be a component included in the graphics computing device according to the above-described example embodiment, and may include at least one hardware that performs graphics operations including deformation. For example, the shader processor 415 may perform graphics operations based on shading during general rendering, and may perform deformation under the control of the command processor 414 according to the above-described example embodiment. As described above, rendering and deformation may be performed by the same hardware or by different hardware.

[0070] The memory controller 416 may perform a control function for directly accessing the memory 440 outside the GPU 410. The shader processor 415 may perform deformation using the frame data received via the memory controller 416, and may provide the memory 440 via the memory controller 416 with frame data corresponding to the result of the deformation.

[0071] Now refer to Figure 7 and Figure 8 The operation of GPU 410 is described below. Figure 8 is a block diagram illustrating a process associated with the operation of GPU 410. Figure 8 A host driver 450 controlling the GPU 410 included in the rendering system 400 is also illustrated.

[0072] In operation S21, the host may send a shader for deformation to the GPU 410 via the host driver 450. The shader for deformation may include information such as instructions and programs associated with deformation operations to be performed by the shader processor 415, and may be set within the GPU 410 when the rendering system 400 operates. For example, deformation may be performed by various types of operations, and instructions describing deformation operation methods may be sent to the GPU 410. The GPU 410 may perform deformation based on the set information without subsequent host intervention. According to an example embodiment, the shader for deformation may be stored in the memory 440, and the GPU 410 may receive the shader for deformation from the memory 440.

[0073] In operation S22, the GPU 410 may perform general rendering based on the command and the graphic data received from the host. The host may include special indicator information corresponding to the frame to be finally output to the screen, and may send the frame including the indicator information to the GPU 410. The GPU 410 may determine the frame to be deformed by checking the indicator information included in the frame. In operation S23, the GPU 410 may store the frame image subjected to general rendering in the memory 440.

[0074] According to the above-described example embodiment, in operation S24, the GPU 410 may periodically receive sensing information (e.g., head motion and / or head position information). According to an example embodiment, when the rendering system 400 is initially set, a location for storing sensing information Info_sen from the sensor 420 may be set. For example, the sensing information Info_sen may be stored in a register 411 of the rendering system 400. The sensing information Info_sen may be periodically updated to the register 411, and the sensing information Info_sen stored in the register 411 may be periodically provided to the instruction processor 414.

[0075] For example, the sensing information Info_sen from the sensor 420 may be stored in a storage space of the memory 440, and the sensing information Info_sen may be periodically updated to the memory 440. Address information of the memory 440 storing the sensing information Info_sen may be set in the register 411, and the GPU 410 may periodically read the sensing information Info_sen stored in the memory 440 by using the address information stored in the register 411, and provide the periodically read sensing information Info_sen to the command processor 414. As another example, the sensing information Info_sen from the sensor 420 may be stored in the sensor 420 and may be periodically provided to the GPU 410.

[0076] In operation S25, the timer 430 may periodically provide the GPU 410 with timing information Info_T according to the state setting of the rendering system 400. According to example embodiments, when the GPU 410 includes the internal timer 412, the timing information Info_T from the internal timer 412 may be provided to the interrupt controller 413.

[0077] The GPU 410 may process the externally provided signal according to a general interrupt processing method or another method corresponding thereto. If the externally provided signal is a deformation related signal such as sensing information Info_sen and timing information Info_T, deformation may be performed as follows.

[0078] In operation S26, the GPU 410 may receive frame data to be used during deformation, such as rendered frame data, from the memory 440, and may receive the sensing information Info_sen stored in the initial setting address of the memory 440. Although the sensing information Info_sen is stored in Figure 8 The sensing information Info_sen may be stored in the memory 440 in the GPU 410 , however, the sensing information Info_sen may be read from the register 411 of the GPU 410 as described above, or the sensing information Info_sen stored in the sensor 420 may be provided to the command processor 414 .

[0079] The command processor 414 may generate an internal command using deformation related information such as a previously received shader for deformation, rendered frame data, and sensing information Info_sen. The shader processor 415 may perform a graphics operation for deformation according to the generated internal command. According to an example embodiment, the generated internal command may be used for command scheduling immediately, or may be used for command scheduling after being stored in the memory 440.

[0080] The GPU 410 may interrupt rendering that has been performed on all or some resources according to the preemption method or the like as described above in order to perform deformation. The rendered frame data may be deformed based on an interpolation or transformation operation using the sensing information Info_sen, and as a result of the deformation, a deformed image obtained by reflecting the user's motion in an image displayed to the user may be generated. In operation S28, the deformed image may be stored in the memory 440.

[0081] In operation S29, when the deformation has been completed, the GPU 410 may provide information indicating deformation completion to the host driver 450. The information indicating deformation completion may be distinguished from information indicating that general rendering has been completed, and the host may control output of the deformed image based on the information indicating deformation completion.

[0082] Fig. 9 and Fig.10 is a flowchart of a method of operating a rendering system according to an example embodiment. Fig. 9 and Fig.10 An example of performing graphics operations for deformation outside of a shader processor is illustrated.

[0083] Reference Fig. 9 In operation S31, the shader processor may perform general rendering in response to a command from the host. In operation S32, the graphics processor (GPU) may receive timing information and sensing information associated with deformation regardless of the host. In operation S33, the graphics processor (GPU) may determine deformation timing according to the received timing information.

[0084] In addition to a shader processor for performing general rendering, a graphics processor (GPU) may also include a computing device that performs specific operations, and the computing device may perform operations unrelated to rendering. In this case, when the deformation opportunity has been reached, the graphics processor (GPU) may control the operation of the computing device via an internal command, and the computing device may perform an operation for deformation by using the rendered frame data and sensing information in operation S34. When the computing device completes the deformation, in operation S35, the graphics processor may send information indicating that the deformation has been completed to the host.

[0085] However, referring to Fig.10 In operation S41, a graphics processing unit (GPU) may perform general rendering in response to a command from a host. The rendering system includes a computing device capable of performing a preset operation. In operation S42, according to the above-described embodiment, the computing device may receive timing information and sensing information. According to an example embodiment, the external computing device may receive timing information and sensing information regardless of the host. According to an example embodiment, the external computing device may receive timing information and sensing information via the host.

[0086] In operation S43, the external computing device may determine the deformation timing based on the timing information, and may perform an operation for deformation by using the rendered frame data and the sensing information. In operation S44, the external computing device may send information indicating that the deformation is completed to the host.

[0087] according to Fig. 9 and Fig.10 In an exemplary embodiment, since deformation is performed by a computing device independent of hardware that performs general rendering in a graphics processor, rendering and deformation can be performed simultaneously. In other words, deformation can be performed stably, and the rendering speed can be increased due to the reduction in the number of times rendering is interrupted in the graphics processor.

[0088] Fig.11 It is implemented according to Fig. 9 A block diagram of an embodiment of a graphics processor of the above-described example embodiment of the operating method.

[0089] Reference Fig.11 , the GPU 500 as a graphics processor may include a command processor 510, a shader processor 520, and a DMA controller (DMAC) 530. The DMAC 530 may control an external memory to write data to and read data from the external memory, and may include an operation processor 531 that performs graphics operations associated with deformation. The operation processor 531 may include a calculation function required for deformation in the form of fixed or programmable hardware.

[0090] The deformation may be performed by using the already rendered frame data through simple operations such as interpolation and / or transformation, and the GPU 500 may perform the deformation by using the operation processor 531 of the DMAC 530. According to an example embodiment, the frame data to be deformed and the deformed frame data may be transferred between the DMAC 530 and the external memory. At least some of the various pieces of information associated with the deformation may also be transferred between the DMAC 530 and the external memory. For example, when the sensing information is stored in the memory, the sensing information may be transferred between the DMAC 530 and the memory. A program describing a deformation operation method for performing the deformation operation in the DMAC 530 may be stored in the DMAC 530 or the memory, and program information associated with the deformation operation may be transferred between the DMAC 530 and the memory.

[0091] According to an operation example, the command processor 510 may perform an operation of processing a command from the host according to the above exemplary embodiment, and may generate a deformation command CMD_warp for performing internal deformation. For example, the command processor 510 may process a command from the host, and thus provide the shader processor 520 with an internal command CMD_Ren for general rendering.

[0092] The command processor 510 may generate a deformation command CMD_warp by using a plurality of pieces of information associated with deformation according to the above-described exemplary embodiment, and may provide the deformation command CMD_warp to the DMAC 530. For example, the command processor 510 may periodically generate the deformation command CMD_warp based on the timing information. When the GPU 500 is provided with sensing information from an external sensor, the sensing information associated with the head motion and / or head position information of the user may be provided to the DMAC 530 under the control of the command processor 510. For example, when the sensing information is stored in a register included in the GPU 500, the sensing information is read from the register and provided to the DMAC 530 under the control of the command processor 510.

[0093] According to example embodiments, general rendering performed by the shader processor 520 and deformation performed by the DMAC 530 may be performed in parallel. For example, even when the timing to perform deformation arrives, the interrupt controller included in the GPU 500 does not generate an interrupt for interrupting general rendering.

[0094] Fig.12 It is implemented according to Fig.10 A block diagram of an example embodiment of a rendering system 600 of the operating method of the above-described example embodiments. Fig.12 An example in which deformation is performed in an external memory is illustrated.

[0095] The rendering system 600 may include a GPU 610 as a graphics processor, a host 620, an external memory 630, a sensor 640, and a timer 650. As in the above-described exemplary embodiment, the sensor 640 may sense a user's head motion and / or head position to generate sensing information, and the timer 650 may be implemented as an internal timer included in the GPU 610.

[0096] According to an example embodiment, the external memory 630 may include a processor 631 that performs a graphic operation for deformation, and a storage space for storing various pieces of information and data. Since the external memory 630 includes an internal processing function, the external memory 630 may be referred to as a processor in memory (PIM).

[0097] Fig.12 An example is illustrated in which the storage space of the external memory 630 includes a space for storing a rendered frame image, a space for storing a deformed image, and a space for storing various types of information. According to an example embodiment, sensing information Info_sen from the sensor 640 may be periodically stored in the external memory 630 .

[0098] The GPU 610 may perform general rendering in response to a command from the host 620, and may store the rendered frame data in the external memory 630. The timing information from the timer 650 may be directly provided to the external memory 630 without passing through the GPU 610, and the processor 631 may periodically and directly perform a graphics operation for deformation based on the timing information. For example, the rendered frame image and the sensing information Info_sen may be provided to the processor 631. The processor 631 may periodically perform a deformation process that has reflected the sensing information Info_sen according to the timing information, and may provide the host 620 with information indicating that the deformation has been completed. Similar to the above-described exemplary embodiment, program information describing a deformation operation method may be stored in the external memory 630, and the above-described deformation process may be performed using the program information.

[0099] according to Fig.12 In an example embodiment of the present invention, deformation may be performed outside of the GPU 610, and accordingly, various types of information associated with deformation may be provided directly to the external memory 630. Although the timing information and the sensing information are all provided to Fig.12 The external memory 630 in the embodiment is not limited thereto. For example, the timing information may be provided to the GPU 610, and the GPU 610 may periodically provide a command to perform a graphics operation for deformation to the external memory 630. Fig.12 In an example embodiment of the present invention, general rendering performed by the GPU 610 and deformation performed by the external memory 630 may be performed in parallel.

[0100] Fig.13 Examples of operational characteristics of deformation performed by a GPU under host control and deformation performed by an operation processor during deformation are illustrated. Fig.13 Figures (a), (b) and (c) illustrate rendering and deformation from the perspective of the GPU.

[0101] Reference Fig.13 In FIG. 1A , when deformation is performed by context switching by the host, the host periodically performs switching between general rendering and deformation by context switching. The GPU can perform general rendering and deformation by reflecting the delay time caused by the context switching.

[0102] However, referring to Fig.13 In FIG. 1( b ), the host can provide a command for rendering to the GPU without switching to deformation. The GPU can perform rendering and deformation alternately. In this case, the delay time generated during the switching between rendering and deformation can be eliminated or reduced.

[0103] However, referring to Fig.13, according to the above exemplary embodiment, when the operation processor included in the memory controller or the processor included in the memory performs deformation, the GPU can continuously perform rendering without switching to deformation, and the operation processor or the processor can perform deformation independent of rendering, that is, perform deformation and rendering in parallel. Therefore, the speed of GPU rendering can be increased, and the operation processor or the processor can stably perform deformation.

[0104] Fig.14 is a block diagram of a mobile device 700 including a memory device 720 according to an example embodiment.

[0105] The mobile device 700 may correspond to a rendering system and may include an application processor (AP) 710 and a storage device 720. The AP 710 may be implemented by using a single chip system (SoC). The SoC may include a system bus to which a protocol having a specific bus standard has been applied, and may include various types of intelligent property (IP) devices connected to the system bus. Fig.14 It is illustrated that the AP 710 includes a CPU 711 as an IP device, a graphic processor (GPU) 712, a modem processor 713, a memory control unit 714, and an operation memory 715. When the AP 710 performs a modem communication function, the AP 710 may be referred to as a ModAP.

[0106] The Advanced Microcontroller Bus Architecture (AMBA) protocol of Advanced Reduced Instruction Set Computer (ARM) can be used as the standard of system bus. The example of the bus using the AMBA protocol can include Advanced High Performance Bus (AHB), Advanced Peripheral Bus (APB), Advanced Extensible Interface (AXI), AXI4 and AXI Consistency Extension (ACE). In addition, other types of protocols (such as SONICs company's uNetwork, IBM's CoreConnect and OCP-IP's open core protocol) are all applicable.

[0107] The graphics processor 712 can perform the deformation process described in the above embodiments. Therefore, the graphics processor 712 can determine the deformation timing without OS intervention, generate an internal command, and perform an operation for deformation according to the generated internal command. For example, without requesting the CPU 711 to run a program stored in the operating memory 715 in order to perform context switching associated with deformation, the graphics processor 712 can receive sensing information and can perform deformation by using the sensing information. The graphics processor 712 can send the deformed image to the memory device 720, and can provide information indicating that the deformation has been completed to the host.

[0108] While the present disclosure has been shown and described with reference to example embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the following claims.

Claims

1. A graphics processor, include: An internal command generator, the internal command generator being configured to: Receive timing information with a specific period without host intervention, and generating a deformation command for periodically performing deformation based on the timing information; and a graphics computing device, wherein the graphics computing device is configured to: In response to the deformation command, the deformation is periodically performed according to the specific cycle using sensing information provided from an external source and frame data that has been rendered, without the host performing a context switch from a rendering process to a deformation process. 2 . The graphics processor according to claim 1 , further comprising an interrupt controller configured to control an interrupt operation so that the graphics computing device interrupts a rendering process currently being executed and performs the deformation based on the timing information.

3. The graphics processor according to claim 1, in, The sensing information and the timing information are provided directly to the graphics computing device without passing through the host computer.

4. The graphics processor according to claim 3, in, The sensing information includes head position information of a user generated by a sensor included in a virtual reality device coupled to the graphics processor.

5. The graphics processor of claim 1 , further comprising an internal timer configured to generate the timing information indicating when the deformation is to be performed, in, The internal command generator is further configured to receive the timing information from the internal timer.

6. The graphics processor according to claim 1, further comprising a register configured to store the sensing information, in, The sensing information is periodically updated in the register, The sensing information is read from the register and provided to the graphics computing device.

7. The graphics processor according to claim 1, in, The graphics computing device includes a plurality of processing cores, the plurality of processing cores including a first processing core and a second processing core, wherein general rendering according to a command from the host is performed by the first processing core, and the deformation according to the deformation command is performed by the second processing core, and The general rendering performed by the first processing core and the deformation performed by the second processing core are performed in parallel.

8. The graphics processor according to claim 1, in, The graphics computing device is further configured to perform the deformation further using a shader program provided by the host when the graphics processor is initially operated.

9. The graphics processor according to claim 1, in, The graphics computing device includes a memory controller for controlling an external memory, and the memory controller includes an operation processor, and The transformation is performed by the operation processor in the memory controller.

10. The graphics processor according to claim 1, in, The graphics computing device is further configured to: receiving indicator information from the host indicating whether a frame to be rendered is to be deformed, and The host is notified that the transformation is complete.

11. A rendering system, include: a timer configured to generate timing information indicating a deformation timing according to a specific cycle without intervention of a host; a graphics processor configured to perform rendering in response to a command from the host to generate rendered frame data; as well as A memory, the memory comprising a storage area and a processor, the storage area storing the rendered frame data, the processor being configured to: periodically performing deformation according to the specific cycle by using the rendered frame data and sensing information provided from an external source in response to the timing information without the host performing a context switch from a rendering process to a deformation process, and The deformed image is stored in the storage area.

12. The rendering system according to claim 11, in, The timing information and the sensing information are provided directly to the memory without passing through the host included in the rendering system.

13. The rendering system according to claim 11, in, The memory further includes an information storage area storing at least one piece of information associated with the deformation, and wherein the sensing information provided from the external source is periodically updated in the information storage area, and the sensing information read from the information storage area is provided to the processor.

14. The rendering system according to claim 11, in, The rendering performed by the graphics processor and the deformation performed by the processor are performed in parallel.

15. The rendering system according to claim 11, in, The graphics processor is further configured to provide an indicator indicating a frame to be deformed among the rendered frames to the memory, and The memory is further configured to perform the transformation by using the rendered frame data indicated by the indicator, and notify the host that the transformation is completed.

16. A method for operating a graphics processor, the method include: generating rendered frame data in response to a command from a host; determining a deformation timing according to a specific cycle based on the timing information received without intervention of the host; periodically performing deformation according to the specific period based on the rendered frame data and the sensing information received independently of the host without requiring the host to perform a context switch from a rendering process to a deformation process; as well as The host is notified that the transformation is complete.

17. The method of claim 16, further comprising receiving indicator information from the host indicating a frame to be deformed, in, The performing of the deformation includes: deforming the frame data indicated by the indicator information in at least one frame data stored in the external memory.

18. The method of claim 16, further comprising receiving a shader program for the deformation from the host, in, The deformation is performed by using the shader program.

19. The method according to claim 16, further comprising performing interrupt control based on the timing information to interrupt rendering currently being performed and perform the deformation.

20. The method according to claim 16, in, The graphics processor includes at least one processing core and a memory controller for communicating with an external memory, wherein the rendering is performed by the at least one processing core, and the deformation is performed by an operation processor included in the memory controller, and The rendering and the transforming are performed in parallel.