Periodic Reset

Periodic resets in GPUs for safety-critical systems address transient errors, ensuring reliable rendering in automotive applications by maintaining a known safe state and meeting ASIL standards without the drawbacks of dual lockstep processors.

JP7568675B2Active Publication Date: 2024-10-16IMAGINATION TECH LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2022085519
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-09-30
Filing Date
2022-05-25
Publication Date
2024-10-16
Estimated Expiration
2040-09-29

AI Technical Summary

Technical Problem

Safety-critical systems in automotive applications, such as advanced driver assistance systems and autonomous vehicles, require graphics processing units (GPUs) that meet stringent safety standards like ASIL Level B or D of ISO 26262, but traditional dual lockstep processors are costly and power-consuming, and there's a need for efficient error detection and correction in GPUs to prevent transient errors from ionizing radiation and voltage spikes.

Method used

Implementing a method and system for GPUs with periodic resets scheduled at a defined frequency, monitored by a safety controller, which includes soft and hard resets to maintain a known safe state and reduce transient errors without increasing power consumption.

Benefits of technology

The method effectively reduces the persistence of transient errors in GPUs, ensuring reliable safety-critical rendering without the overhead of dual lockstep processors, thus meeting ASIL standards while optimizing power and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568675000001
    Figure 0007568675000001
  • Figure 0007568675000002
    Figure 0007568675000002
  • Figure 0007568675000003
    Figure 0007568675000003
Patent Text Reader

Abstract

The present disclosure relates to a method and graphics processing system for performing safety-critical rendering. [Solution] A method for performing safety-critical rendering in a graphics processing unit in a graphics processing system includes receiving graphical data for safety-critical rendering in the graphics processing unit in the graphics processing system, scheduling multiple resets of the graphics processing unit according to a reset frequency in a safety controller, rendering the graphical data in the graphics processing unit, and the safety controller performing the multiple resets of the graphics processing unit in coordination with the reset frequency.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a method and graphics processing system for performing safety critical rendering.

[0002] In a safety critical system, at least some of the components of the system must meet sufficient safety goals so that the entire system can meet the level of safety deemed necessary for the system. For example, in most jurisdictions, seat belt retractors in vehicles must meet certain safety standards in order for vehicles provided with such devices to pass safety testing. Similarly, tires on vehicles must meet certain standards in order for vehicles equipped with such tires to pass safety testing appropriate for the particular jurisdiction. Safety critical systems are typically systems whose failure would cause a significant increase in risk to the safety of people or the environment.

[0003] Data processing devices often form an integral part of a safety-critical system, either as dedicated hardware or as a processor for running safety-critical software. For example, fly-by-wire systems for aircraft, driver assistance systems, railway signaling systems, and control systems for medical devices are all safety-critical systems that typically run on data processing devices. When a data processing device forms an integral part of a safety-critical system, the data processing device itself must meet a safety goal so that the whole system can meet an appropriate safety level. In the automotive industry, the safety level is typically the Automotive Safety Integrity Level (ASIL) defined in the functional safety standard ISO26262.

[0004] Also, data processing devices in safety-critical systems include processors that execute software. Both hardware and software elements must meet certain safety goals. Some software failures may be system failures due to programming errors or improper error handling. These issues can usually be addressed by rigorous development practices, code audits and testing protocols. Even if systematic errors can be completely excluded from safety-critical systems, random errors may be introduced into the hardware, for example, due to transient events (e.g., due to ionizing radiation, voltage spikes, or electromagnetic pulses). In binary systems, transient events may cause random bit flipping in memory and along the processor data path. There may also be permanent faults in the hardware.

[0005] Safety goals for data processing devices may be expressed as a set of metrics, such as the maximum number of failures in a given period of time (often expressed as Failures in Time or FIT), and the effectiveness of mechanisms to detect single point failures (Single Point Failure Mechanism, or SPFM) and latent failures (Latent Fault Mechanism, or LFM). There are various approaches to achieving safety goals set for data processing devices, for example, by providing hardware redundancy so that if one component fails, another component is available to perform the same task, or through the use of check data (e.g., parity bits or error correcting codes), so that the hardware can detect and / or correct minor data corruption.

[0006] For example, a data processor can be provided in a dual lockstep arrangement 100 as shown in FIG. 1, in which a pair of identical processing cores 101 and 102 are configured to process a stream of instructions 103 in parallel. The output of any one of the processing cores (101) may be used as the output 104 of the lockstep processor. If the outputs of the processing cores 101 and 102 do not match, a fault may occur in the safety-critical system. To improve the probability of detection of errors induced by exogenous factors such as ionizing radiation and voltage spikes, a delay 105 can be introduced at the input to one of the cores (typically a corresponding delay 106 is provided at the output of the other core). However, dual lockstep processors are expensive in that they necessarily consume twice the chip area and approximately twice the power compared to conventional processors because a second processing core is required.

[0007] While advanced driver assistance systems and autonomous vehicles may incorporate data processing systems suitable for such safety-critical applications with significant graphics and / or vector processing capabilities, the increased area and power consumption (and therefore cost) of implementing dual lockstep processors may not be acceptable or desirable. For example, driver assistance systems often provide computer-generated graphics illustrating hazards, lane positions, and other information to the driver. Typically, this leads vehicle manufacturers to replace traditional instrument clusters with computer-generated instrument clusters, which also means that displays of safety-critical information such as speed and vehicle fault information become computer-generated. Such processing demands can be met by graphics processing units (GPUs). However, in the automotive context, advanced driver assistance systems typically require data processing systems that meet ASIL level B of ISO 26262.

[0008] For example, in an automotive context, a graphics processing system may be used to render an instrument cluster for display on a dashboard display screen. The instrument cluster provides important information to the driver, such as the vehicle's speed and details of any vehicle faults. It is important to ensure that such important information is presented to the driver, and vehicle regulations typically require that it be rendered in a manner that meets a predefined safety level, such as ASIL B of the ISO26262 standard.

[0009] 2 illustrates an instrument cluster 200. The instrument cluster includes a speedometer 202 in the form of a conventional dial with speed values ​​208 around the edge of the dial and a needle 207 whose angular orientation indicates the vehicle's current speed. The instrument cluster further includes an oil temperature gauge 203, an information icon 204 (e.g., indicating a selected radio station), a non-critical warning icon 205 (e.g., indicating a fault in the air conditioning system), and a critical warning icon 206 (e.g., indicating a serious engine malfunction). It may be necessary to render the instrument cluster 200 to meet a mandated safety level, such as ASIL B of the ISO 26262 standard.

[0010] Autonomous vehicles need to additionally process very large amounts of data (e.g., from radar, LIDAR, map data and vehicle information) in real time to make safety-critical decisions. Graphics processing units can also help meet these processing demands, but safety-critical systems in autonomous vehicles are typically required to meet the most stringent ASIL level D of ISO26262. Summary of the Invention [Problem to be solved by the invention]

[0011] This Summary is provided to introduce selected concepts that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[0012] According to a first aspect of the present invention, there is provided a method for performing safety-critical rendering in a graphics processing unit in a graphics processing system, the method comprising receiving graphical data for safety-critical rendering in the graphics processing unit in the graphics processing system, scheduling multiple resets of the graphics processing unit according to a reset frequency in a safety controller, rendering the graphical data in the graphics processing unit, and the safety controller performing the multiple resets of the graphics processing unit in coordination with the reset frequency.

[0013] Scheduling may include generating instructions including commands indicating one or more scheduled resets of the graphics processing unit, and causing the instructions to be passed to the graphics processing unit.

[0014] The method may further include, in response to receiving an instruction including the command at the graphics processing unit, completing processing of any tasks that began processing at the graphics processing unit prior to reading the instruction, and resetting at least a portion of the graphics processing unit.

[0015] A command indicating a scheduled reset of the graphics processing unit may be provided with the graphics processing instructions.

[0016] The reset frequency may define the number of resets performed per number of frames.

[0017] The reset frequency may be set at design time, may be user configurable, or may be determined by an application running on a device external to the graphics processing unit.

[0018] The method may further include monitoring one or more of safety metrics of the graphics processing unit, ionizing radiation levels, occurrences of voltage spikes, and occurrences of electromagnetic pulses, and adapting the reset frequency depending on said monitoring.

[0019] The graphics processing unit may include one or more processing elements, firmware, and at least one of a cache, register, or buffer, and the at least one reset may be a soft reset that includes reinitializing one or more processing elements and invalidating at least one entry in a cache, register, or buffer in the graphics processing unit, but not reinitializing firmware of the graphics processing unit.

[0020] The graphics processing unit may include one or more processing elements, firmware, and at least one of a cache, register, or buffer, and the at least one reset may be a hard reset including reinitializing one or more processing elements, reinitializing firmware of the graphics processing unit, and invalidating at least one entry in a cache, register, or buffer in the graphics processing unit.

[0021] Multiple soft resets may be scheduled according to a soft reset frequency, and multiple hard resets may be scheduled according to a hard reset frequency, which may be higher than the hard reset frequency.

[0022] According to a second aspect of the present invention, there is provided a graphics processing system including a graphics processing unit configured to perform safety-critical rendering and a safety controller for the graphics processing system, wherein the graphics processing system is configured to receive graphical data for safety-critical rendering in the graphics processing unit, the safety controller is configured to schedule multiple resets of the graphics processing unit in accordance with a reset frequency, the graphics processing system is configured to render the graphical data, and the safety controller is configured to cause the multiple resets of the graphics processing unit to be performed in coordination with the reset frequency.

[0023] The reset frequency may define the number of resets performed per number of frames.

[0024] The safety controller may comprise a monitor configured to monitor one or more of safety metrics of the graphics processing unit, ionizing radiation levels, occurrences of voltage spikes, and occurrences of electromagnetic pulses, and the safety controller may be configured to adapt the reset frequency depending on said monitoring.

[0025] The graphics processing unit may include one or more processing elements, firmware, and at least one of a cache, register, or buffer, and the at least one reset may be a soft reset that includes reinitializing one or more processing elements and invalidating at least one entry in a cache, register, or buffer in the graphics processing unit, but not reinitializing firmware of the graphics processing unit.

[0026] The graphics processing unit may include one or more processing elements, firmware, and at least one of a cache, register, or buffer, and the at least one reset may be a hard reset including reinitializing one or more processing elements, reinitializing firmware of the graphics processing unit, and invalidating at least one entry in a cache, register, or buffer in the graphics processing unit.

[0027] The safety controller may be configured to schedule a number of soft resets according to a soft reset frequency, and to schedule a number of hard resets according to a hard reset frequency, wherein the soft reset frequency may be higher than the hard reset frequency.

[0028] In some embodiments, a graphics processing system is provided comprising a graphics processing unit for processing safety-critical data and a safety controller configured to implement a safety mechanism for the graphics processing unit, the safety controller comprising a monitor configured to monitor a level of ionizing radiation, and the safety controller configured to adapt the safety mechanism depending on the level of ionizing radiation.

[0029] In particular, implementing the safety mechanism may involve scheduling periodic resets of the graphics processing unit. Thus, there may be provided a graphics processing system comprising a graphics processing unit for processing safety-critical data and a safety controller configured to schedule resets of the graphics processing unit according to a reset frequency, the safety controller comprising a monitor configured to monitor a level of ionizing radiation, and the safety controller configured to adapt the reset frequency in dependence on the level of ionizing radiation.

[0030] The graphics processing system may be embodied in hardware on an integrated circuit. A method of manufacturing a graphics processing system in an integrated circuit manufacturing system may be provided. An integrated circuit definition data set may be provided that, when processed in the integrated circuit manufacturing system, configures a system for manufacturing the graphics processing system. A non-transitory computer readable storage medium may be provided having stored thereon a computer readable description of an integrated circuit that, when processed in the integrated circuit manufacturing system, causes the integrated circuit manufacturing system to manufacture the graphics processing system.

[0031] There may be provided an integrated circuit manufacturing system comprising a non-transitory computer readable storage medium having stored thereon a computer readable integrated circuit description describing a graphics processing system, a layout processing system configured to process the integrated circuit description to generate a circuit layout description of an integrated circuit embodying the graphics processing system, and an integrated circuit generation system configured to manufacture the graphics processing system in accordance with the circuit layout description.

[0032] Computer program code may be provided for performing the methods described herein. A non-transitory computer readable storage medium may be provided having computer readable instructions stored thereon that, when executed on a computer system, causes the computer system to perform the methods described herein.

[0033] The invention will now be described, by way of example only, with reference to the accompanying drawings, in which: [Brief description of the drawings]

[0034] [Figure 1] FIG. 1 is a schematic diagram of a conventional dual lockstep processor. [Diagram 2] FIG. 2 shows a computer generated equipment cluster for a vehicle. [Diagram 3]FIG. 3 is a schematic diagram of a graphics processing system for operation in accordance with the principles described herein. [Figure 4] FIG. 4 is a schematic timeline illustrating resetting a graphics processing unit in accordance with the principles described herein. [Diagram 5] FIG. 5 is a flow diagram of a method for performing safety-critical rendering in a graphics processing unit in accordance with principles described herein. [Figure 6] FIG. 6 is a schematic diagram of an integrated circuit manufacturing system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0035] The following description is presented by way of example to enable any person skilled in the art to make and use the invention. The invention is not limited to the embodiments described herein, and various modifications to the disclosed embodiments will be apparent to those skilled in the art. The embodiments are described by way of example only.

[0036] The present disclosure relates to a method and graphics processing system for performing safety critical rendering.

[0037] A graphics processing system 300 is shown in Figure 3. The graphics processing system 300 includes at least one graphics processing unit (GPU) 312. The GPU 312 may be suitable for rendering the instrument cluster 200 shown in Figure 2. The GPU 312 may include hardware components (e.g., a hardware processing unit) and software components (e.g., firmware, and procedures and tasks for execution in the hardware processing unit). The operation and arrangement of the GPU unit will vary depending on the particular architecture of the GPU.

[0038] The GPU 312 may include one or more processing units 339, labeled in the figure as PU0 340, PU1 341 through PU(n) 342. There may be any number of processing units. The GPU 312 may also include memory 309. The memory 309 may include any type of data store, including, for example, one or more caches, buffers, and / or registers accessible to the one or more processing units 339. The GPU 312 also includes processing logic, for example, for executing firmware 314, which may perform low-level management of the GPU and provide an interface for instructions directed to the GPU. In some arrangements, the GPU 312 may be configured to execute software in the form of functions, routines, and other code arranged for execution on the units of the GPU (e.g., its processing units 339 and / or firmware 314). The GPU 312 may include various other functional elements, for example, for processing data, for communicating with external devices, such as the host data processing system 302, and for supporting processing performed in the one or more processing units 339.

[0039] The graphics processing system 300 may also include a driver 304 for the GPU 312. For example, the driver 304 may be a software driver supported in the data processing system in which the GPU 312 is provided. The driver 304 may provide an interface to the GPU for processes (e.g., software applications) executing in the data processing system. In the embodiment shown in FIG. 3, the graphics processing system 300 includes a host data processing system 302. One or more processes 301 may execute on the host data processing system 302. These processes are labeled as A0, A1, A(n) in FIG. 3. There may be any number of processes 301 executing on the host data processing system. The one or more processes 301 may interact 330 with the GPU 312 through the driver 304. The host data processing system 302 may include one or more processors (e.g., CPUs (not shown)) on which the processes and drivers execute. A graphics application programming interface (API) 303 (e.g., OpenGL) may be provided to the driver by means of which the processes can send rendering calls. The driver 304 may be a software component of the host data processing system 302 .

[0040] 5 is a flow diagram of a method for performing safety-critical rendering in a graphics processing system according to principles described herein. Graphical data for safety-critical rendering is received 501 in the graphics processing system. An API 303 may be arranged to receive draw calls from a process 301 for a GPU 312 to render a scene. For example, the API may be an OpenGL API and the process may be an application arranged to issue OpenGL draw calls for the GPU to render the instrument cluster shown in FIG. 2 on a display screen in the vehicle dashboard. The driver 304 also includes a safety controller 311, discussed in further detail herein.

[0041] In the embodiment illustrated in FIG. 3, the driver 304 generates commands and / or control instructions that cause the GPU 312 to effect draw calls sent by the process to the API. The instructions may pass data defining the scene to be rendered to the GPU 312 in any suitable manner (e.g., as references to data in memory). As shown in FIG. 3, such instructions may be sent 332 to one or more buffers 308 in the memory 307. The GPU 312 may read 333 the instructions from the memory 309. The memory 307 may be provided to the host data processing system 302. The memory 307 may also include a buffer 310 for receiving 334 the instructions returning from the GPU 312. The buffer may be a circular buffer.

[0042] The graphics processing unit 312 may be, for example, any type of graphical and / or vector and / or stream processing unit. The graphics processing unit 312 may include a rendering pipeline for performing geometry processing and / or fragment processing of primitives of a scene. Each processing unit 339 may be a different physical core of the GPU.

[0043] The following examples are described with reference to tile-based rendering techniques, but it should be understood that alternatively, or in addition, the graphics processing system may be capable of other rendering techniques, such as immediate mode rendering, or hybrid techniques that combine elements of both tile-based and immediate mode rendering.

[0044] A graphics processing system configured according to the principles herein may have any tile-based architecture, e.g., the system may be operable to perform tile-based deferred rendering. Each processing unit 339 depicted in FIG. 3 may be capable of processing a tile independently of any other processing unit and independently of any other tile.

[0045] A tile-based rendering system uses a rendering space that is divided into multiple tiles. As known in the art, the tiles can be of any suitable shape and size, e.g., rectangular (including square) or hexagonal. A tile of the rendering space may relate to a portion of a render target that represents a frame to be rendered, for example, in a graphics processing system. A frame may be all or a portion of an image or video frame. In some embodiments, the render output may not represent the final image to be displayed, but instead something else, e.g., a texture that can be subsequently applied to a surface when rendering an image that includes that texture. In the embodiments described below, the render output is a frame that represents an image to be displayed, but it should be understood that in other embodiments, the render output may represent other surfaces, such as a texture or environment map.

[0046] Tile-based rendering systems generally implement two distinct phases of operation: (i) a geometry processing phase that processes the geometry (e.g., primitives) for each tile of the rendering space to determine which items of the geometry may be relevant for rendering that tile (e.g., which primitives at least partially overlap the tile); and (ii) a rendering phase (i.e., a "fragment processing phase") that processes the geometry associated with rendering a particular tile in order to render the tile, e.g., to generate pixel values ​​(which may be output from the rendering system for display and / or for storage in a buffer (e.g., a frame buffer) for pixel locations within the tile. Processing the geometry associated with a tile may include, for example, generating primitive fragments by sampling primitives at sample locations of the tile, determining which fragments are visible, and determining how the fragments affect the appearance of the pixel. The relationship between sample locations and pixels may be one-to-one. Alternatively, more than one sample location may be associated with each pixel location, such that a final pixel value may be generated by combining rendered values ​​determined for multiple sample locations. This may be useful for implementing anti-aliasing.

[0047] A graphics processing unit (such as GPU 312) may be configured to perform some or all of any aspect of graphics processing in the geometry processing phase and rendering phase, including, for example, tiling, geometry processing, texture mapping, shading, depth processing, vertex processing, tile acceleration, clipping, culling, primitive assembly, color processing, stencil processing, anti-aliasing, ray tracing, pixelation, and tessellation.

[0048] The geometry processing logic and the fragment processing logic may share resources of a graphics processing unit (such as GPU 312). For example, a processing unit of a graphics processing unit (such as processing unit 339 of GPU 312) may be used to implement portions of both the geometry processing logic and the fragment processing logic, for example, by executing different software instructions on an execution unit of the processing unit. A processing unit (such as processing unit 339) may be configured to perform SIMD processing.

[0049] A graphics processing system constructed according to the principles described herein may be arranged to render any type of scene.

[0050] Geometric Shape Processing Geometry processing may be performed in a graphics processing unit (such as GPU 312) to process geometry data sent to the graphics processing unit. The geometry data may represent elements of a scene to be rendered. The geometry data may represent multiple items of geometry in a scene including, for example, one or more of primitives to be rendered (e.g., described by vertex data describing the vertices of the primitives in the scene), patches to be tessellated, and other objects to be rendered. For example, the geometry data may include one or more sets of primitives representing respective display elements of the device clusters shown in FIG. 2. Each set of primitives may be created by an appropriate draw call from software application 301. The primitives may be basic geometric shapes upon which other portions of an object or scene may be constructed. The primitives may be, for example, triangles, lines, or points.

[0051] Geometry processing may be performed in any suitable unit of the GPU, such as one or more tiling engines (not shown in FIG. 3) and / or in one or more processing modules executing on a processing unit (such as processing unit 339). The tiling engine may be implemented in fixed function hardware, software, or any combination thereof.

[0052] Geometry data (e.g., as generated in response to draw calls from application 301) may be held in a memory (such as memory 307) and read into a GPU's memory (such as memory 309 of GPU 312) for processing by that GPU. The geometry phase transforms geometry data that describes elements (e.g., primitives) of the scene to form processed geometry data that represents the scene from the viewpoint of the frame to be rendered. Geometry phase processing may perform any suitable operations on the geometry data, including, for example, vertex processing (e.g., vertex shading), clipping, projection, culling, and tiling.

[0053] Geometry data received for processing by a graphics processing unit (such as GPU 312) may include safety-critical elements (e.g., objects, primitives, or other portions of the scene being rendered). An application (such as application 301) that sends geometry to the GPU provides batches of geometry to be rendered, each batch containing or not containing safety-critical elements. The firmware of the GPU (such as firmware 314) may know which geometries are safety-critical and which are not, but the hardware does not need to be aware of which geometries are safety-critical.

[0054] Geometry processing typically involves processing the geometry data (e.g., as performed by instructions executed on processing unit 339) to transform the items of geometry (e.g., primitives formed from vertices) sent for processing into screen space and to perform any necessary shading on the geometry (such as vertex shading, and clipping and / or culling) based on whether the transformed primitives are within the view frustum in the scene from the viewpoint. Tessellation may be performed at this stage to determine tessellated primitives from the input patches, for example, by performing vertex shading, hull shading, tessellation factor determination, domain shading, and geometry shading.

[0055] In the embodiments described herein, geometry processing is performed on the complete frame being rendered, rather than on a tile-by-tile basis, because until the geometry is processed, it is not known, for example, what the apparent size of elements of the scene are, and whether they are visible, when positioned relative to the tiles of the frame being rendered.

[0056] Tiling may be performed on the processed geometry data to determine for each tile which primitives are relevant for rendering the tile, and may store associations between primitives and tiles in memory to identify primitives relevant for rendering each given tile. Tiling may include generating for each tile a list of elements (e.g., primitives) that fit into that tile (a tile list). Such a tile list may include any data organized in any suitable form that indicates which elements are contained in which tiles. For example, each tile may have a tile list that indicates all primitives relevant for rendering that tile (i.e., primitives that overlap with that tile). Output of the geometry processing phase (e.g., tile lists and transformed and / or otherwise manipulated geometry) may be stored in memory 309 for use in the fragment processing phase. Output of the geometry processing phase may be referred to as parameter data.

[0057] Tiling may be performed in one or more tiling engines (not shown). Each tiling engine may be configured to operate on processed geometry data received from a module executing in a processing unit (such as processing unit 339). In some embodiments, the tiling of the processed geometry data into tiles may be performed in the processing unit. Tiling may be performed according to any suitable algorithm (e.g., using a complete tiling, a bounding box approach, or a hierarchical tiling approach). Many such algorithms are known and will not be discussed further herein. A tile may be considered to contain an element of a scene when any portion of that element is calculated by the tiling algorithm to overlap any portion of the tile's area (e.g., when the element overlaps all or a portion of any of the tile's pixels).

[0058] In some embodiments, some or all of the processed geometry data (e.g., transformed vertex data) for a scene may be stored in memory (e.g., system memory, which may be “off-chip” with respect to the chip on which the GPU 312 is implemented). The system memory may be memory 307 shown in FIG. 3 or a different memory not shown in FIG. 3. In some embodiments, some or all of the processed geometry data for a scene may be stored locally to the GPU 312 (e.g., in memory 309). For each tile of a frame to be rendered, a list of elements (e.g., primitives) that overlap that tile may be stored as a tile list. The tile list may reference transformed elements in the processed geometry data for the scene, avoiding duplicate storage of processed geometry data for such elements (e.g., due to elements of the scene overlapping two or more tiles). In other embodiments, some or all of the processed geometry data required to perform fragment processing for each tile may be stored separately for each tile.

[0059] The processed data from the geometry phase may be stored in any suitable location for subsequent use in the fragment processing phase. For example, with reference to Figure 3, the output of the geometry processing (such as transformed vertex data and tile lists) may be stored in system memory (e.g., in a parameter buffer) and may be accessed by processing units 339 of GPUs 312 arranged to perform fragment processing through a cache in memory 309. In some embodiments, instead of (or in addition to) storing the processed data in system memory, the processed data from the geometry phase may be kept in a cache included in processing units 339 and / or storage 309.

[0060] Fragment Processing Fragment processing is performed on the output of the geometry processing phase (e.g., the tile list and the transformed geometry data). Fragment processing may be performed in any suitable unit of the GPU (e.g., in one or more of a rasterizer, a hidden surface removal (HSR) unit, a texture filtering unit, and one or more shader units). These units are not shown in FIG. 3. One or more of the units may be implemented as software running on a processing unit. In some embodiments, one or more of the rasterizer, the hidden surface removal (HSR) unit, the shader unit, and the texture filtering unit may be implemented in fixed function hardware. More generally, any of the functional units may be implemented in hardware, software, or any combination thereof. Implementing a functional module in hardware (e.g., fixed function circuitry) is generally relatively more efficient in terms of processing power and latency, but relatively inflexible; conversely, implementing a functional module in software is relatively less efficient in terms of processing power and latency, but relatively flexible in terms of being able to change the operation of the module after the hardware design process.

[0061] In some embodiments, a tile list is fetched for each given tile to be rendered, and the transformed primitive data indicated by the tile list associated with the fragment processing for that tile is fetched. Fragment processing may include one or more of texture processing, shader processing, rasterization, hidden surface removal, and alpha processing. Fragment processing may be performed in one or more units (e.g., arranged in a pipeline) for performing different aspects of fragment processing.

[0062] Rasterization (e.g., scan conversion) may be performed to identify the sample locations that each primitive covers and to generate primitive fragments at those sample locations. The primitive fragments represent the values ​​(e.g., depth, texture coordinates, etc.) of the primitive at a particular sample location. Typically, until rasterization is performed, a primitive is defined in terms of its vertices.

[0063] Hidden surface removal (HSR) may be performed during fragment processing where depth comparisons are made at each sample location to determine which primitive fragments are visible at each sample location.

[0064] Shading and / or texturing may be performed during fragment processing. Intensity may be determined for a sample location of a primitive fragment identified as being visible at the sample location, for example, by executing a shader program for the primitive fragment, which may involve fetching texture samples based on texture coordinates. Texture filtering may be performed. Fetching texture samples may involve a texture filtering unit performing filtering (e.g., bilinear, trilinear, or anisotropic filtering on a group of texels of a stored texture), such as when a desired texture coordinate is between texels of the texture.

[0065] The above paragraphs describe a "deferred" rendering approach, in the sense that hidden surface removal is performed before shading / texturing. In other embodiments, non-deferred rendering may be performed.

[0066] The output of computations performed during fragment processing may be written to one or more buffers in memory, such as a color buffer for storing color values ​​(e.g., of pixels), a depth buffer for storing depth values ​​(e.g., of pixels), and a stencil buffer for storing instructions about which portions of tiles (e.g., pixels) are to be rendered. Such buffers may be maintained in any manner appropriate to the GPU architecture, including in system memory and / or in one or more GPU caches in memory (e.g., memory 309). The use of such buffers is well known in the art and will not be discussed in detail here.

[0067] A graphics processing system constructed in accordance with the principles of the present disclosure is operable to render a frame including safety critical display elements, such as the equipment cluster of FIG.

[0068] Periodic Reset Random errors can be introduced into hardware by transient events such as ionizing radiation, voltage spikes, and electromagnetic pulses. In binary systems, transient events can cause random bit flipping in memory and along the processor's data path. A transient error can cause a safety-critical fault. For example, a bit flip can corrupt data in memory, causing one or more pixel values ​​to be flipped. With reference to the instrument cluster shown in FIG. 2, the flipped pixel values ​​can cause a critical warning icon (e.g., 206) to be displayed incorrectly. In another example, a transient error can corrupt configuration data for a GPU. Corruption of the GPU configuration data can affect the rendering of any or all data subsequently provided to that GPU. When a transient error affects the rendering of a safety-critical graphic (e.g., by providing inaccurate or incomplete information for a safety-critical warning icon to a vehicle user), it can have dangerous consequences.

[0069] In accordance with the principles described herein, in order to mitigate the impact of transient faults on safety-critical rendering, the graphics processing system is configured to periodically reset graphics processing units configured to perform safety-critical rendering.

[0070] Returning to FIG. 3, a graphics processing system 300 according to principles described herein includes at least one graphics processing unit (GPU) 312. The graphics processing system 300 also includes a safety controller 311. The safety controller 311 may be embodied in hardware (e.g., fixed function hardware), software, or any combination thereof (e.g., as a software process executing on general purpose hardware). The safety controller 311 may be in communication with the GPU 312. The safety controller 311 may communicate with the GPU 312 in any suitable manner. The safety controller 311 may reside in any suitable location. In one embodiment, the safety controller 311 and the GPU 312 may be part of the same system on chip architecture. In FIG. 3, the safety controller 311 is shown as being included within the host data processing system 302. The safety controller 311 may be a component of a driver 304 that provides an interface to the GPU 312 for processes (e.g., software applications) executing on the host data processing system 302. The safety controller 311 is configured to schedule periodic resets for the graphics processing unit 312 .

[0071] 5 is a flow diagram of a method for performing safety-critical rendering in a graphics processing unit according to principles described herein. Multiple resets of the GPU 312 are scheduled 502 according to a reset frequency by the safety controller 311. Such resets are referred to herein as periodic resets. Periodic resets are scheduled and performed independently of any detected faults. That is, periodic resets may be scheduled in advance of when they should be performed.

[0072] Resetting a GPU may limit the persistence of certain faults present on the GPU by returning the GPU to a known safe state. The reset may involve returning some or all of the GPU flip-flops to a known safe state and / or invalidating some or all of the data stored in memory within the GPU. Thus, the reset may reduce (i.e., limit the persistence of) transient errors, such as those that result from random bit flipping in memory.

[0073] This approach has advantages over performing a reset only in response to detecting a fault. Some faults may be difficult or impossible to detect. For example, detecting a transient fault may require implementing a dual lockstep type arrangement, as described with reference to FIG. 1. In such an arrangement, a pair of identical processing cores 101 and 102 are configured to process a stream of instructions 103 in parallel. The outputs of the processing cores 101 and 102 may be compared. When the outputs of the processing cores 101 and 102 do not match, a system may be raised to safety critical. However, dual lockstep processors are expensive in that they necessarily consume twice the chip area and approximately twice the power compared to conventional processors, since a second processing core is required. It should be understood, however, that the method of performing safety critical rendering in a graphics processing unit according to the principles described herein may be used in combination with such an approach. This may be appropriate for graphics processing systems with very stringent safety requirements. For example, periodic resets may be scheduled according to the principles described herein for one or both of the processing cores 101 and 102 in a dual lockstep arrangement.

[0074] As described herein, multiple resets of a graphics processing unit (e.g., GPU 312) are scheduled 502 by a safety controller (e.g., safety controller 311) according to a reset frequency. In one embodiment, the reset frequency may be defined by the number of resets performed per number of frames processed or the number of resets performed per number of tiles processed. For example, the reset frequency may be one reset per 20 frames. The reset frequency may be any value, and in extreme cases, a reset may be scheduled after every frame. With reference to FIG. 3, the safety controller 311 may include a frame counter (not shown). The frame counter may be incremented each time the driver 304 commands the rendering of a frame. The safety controller may schedule a reset each time the frame counter reaches a predetermined number of frames. The frame counter may then be reset (i.e., set to zero).

[0075] In another embodiment, the reset frequency may be a time frequency. That is, the reset frequency may define the number of resets to perform per unit time. For example, the average human response time is typically in the range of 200-215 ms, so the reset frequency may be one reset per 200 ms. That is, the reset frequency may be set depending on the average human response time so that a transient error can be corrected before a human user is able to take action in response to the transient error. The reset frequency does not have to be dependent on the average human response time and may in fact be any value. Referring to FIG. 3, the safety controller 311 may include a cyclic timer (not shown). The safety controller may schedule a reset every time the cyclic timer expires.

[0076] A performance cost is associated with resetting the GPU; that is, for the duration of the reset, the GPU may not be able to perform any processing tasks. The duration of the reset may be the time between (i) the time the reset is initiated and (ii) the time the next processing instruction is read after the reset is completed; that is, the time the reset itself is performed. Additionally, after the reset is completed, data stored in the GPU's local memory (such as memory 309) is invalid, meaning that the GPU must access any data required from the main system memory (e.g., memory 307 of the host data processing system 302) until such data is written back into the local memory. Reading data from the main system memory (e.g., memory 307) is typically slower than accessing data stored locally (e.g., in memory 309). The time delay caused by resetting the GPU may reduce the throughput of the GPU and / or increase the latency experienced by the graphical data processed by the GPU. There is a trade-off in setting the reset frequency such that the resets are frequent enough to prevent transient errors from persisting for a time that would be negatively perceived by a user viewing the rendered frames, but not so frequent that they adversely affect the perceived performance of the graphics processing system (e.g., by increasing the latency of the rendering performed by the GPU). This trade-off may be evaluated differently in different implementations and can be adjusted accordingly. For example, if the graphics processing system is rendering images for an automobile dashboard, the reset frequency may be set relatively high since reducing the persistence of errors is more important than improving rendering performance, whereas, conversely, if the graphics processing system is rendering images for, e.g., a fast moving, high resolution video game, the reset frequency may be set relatively low since rendering performance may be considered more important than reducing the persistence of errors.

[0077] The reset frequency may be predefined. For example, the reset frequency may be set at design time. The reset frequency may be set at design time for the graphics processing system or for an individual graphics processing unit included within the graphics processing system. Alternatively, the reset frequency may be user configurable. A user may set a desired reset frequency when configuring an application 301 to run on the host data processing system 302. In another embodiment, the desired reset frequency may be determined by the application 301 running on the host data processing system 302. The application may communicate the desired reset frequency to the safety controller (e.g., via API 303 in driver 304 in the embodiment shown in FIG. 3).

[0078] Returning to FIG. 3, multiple applications 301 (e.g., A0, A1 through A(n)) may be executed on the host data processing system 302. Each application 301 may communicate a desired reset frequency (e.g., specified by a user or determined by the application itself). The desired reset frequencies communicated by each application may not necessarily be the same. The safety controller may determine a reset frequency to schedule a periodic reset depending on any one or more of the desired reset frequencies communicated by the applications 301. For example, the safety controller 311 may schedule a periodic reset according to the highest of the reset frequencies desired by the applications. This is because the highest reset frequency generally allows transient errors to persist for the shortest amount of time and may be required by applications with the most stringent safety requirements. In another embodiment, the multiple reset frequencies provided by the applications 301 may be mathematically combined (e.g., by averaging) with the periodic reset scheduled by the safety controller according to the combined reset frequency.

[0079] The reset frequency may be adapted. For example, the initial reset frequency may be predefined or determined by the application, as described herein. The initial reset frequency may be adapted in real time depending on the reliability of the GPU on which the safety-critical rendering is performed.

[0080] For example, the safety performance for a data processing device may be expressed by a set of safety metrics. A particular safety metric may provide a measure of the reliability of a service (e.g., the reliability of the data processing device in use). One example of such a safety metric is a measurement of the rate at which the system detects errors. Methods for measuring such safety metrics are well known to those skilled in the art and will not be discussed further herein. The safety controller 311 may monitor the safety metric of the GPU 312 and may adapt the reset frequency depending on the safety metric. For example, the safety controller may monitor the rate at which errors are detected. In one embodiment, the safety controller may increase the reset frequency in response to an increase in the rate of detected errors, and vice versa.

[0081] As described herein, random errors can be introduced into the hardware by transient events (e.g., due to ionizing radiation, voltage spikes, and electromagnetic pulses). In one embodiment, the safety controller 311 may measure the occurrence of one or more of these transient events and adapt the reset frequency depending on the monitoring. For example, levels of ionizing radiation are known to be higher at higher altitudes and can be measured using devices such as Geiger-Muller counters. The safety controller may monitor the levels of ionizing radiation and adapt the reset frequency depending on the levels. For example, certain vehicles, such as airplanes, operate regularly at different altitudes. In a graphics processing system operable to render an instrument cluster (similar to that shown in FIG. 2) for an airplane, the safety controller 311 may increase the reset frequency for the GPU 312 during flight due to higher levels of measurable ionizing radiation at increased altitudes.

[0082] In another embodiment, if an additional GPU reset was recently performed in response to a detected fault (e.g., a fault detected using a dual lockstep type arrangement), the safety controller 311 may delay or cancel the next scheduled periodic reset.

[0083] A graphics processing unit (such as GPU 312) may include hardware components (e.g., hardware processing unit 339 and memory 309) and software components (e.g., firmware 314 and procedures and tasks for execution in the hardware processing unit). The scheduled resets may include one or more different types of resets. For example, the reset may be a soft reset. The soft reset may include resetting the hardware components of the GPU 312. For example, during a soft reset, the processing unit 339 may be reinitialized and returned to a known state, and any cache, register, or buffer entries contained within memory 309 may be invalidated. During a soft reset, the software components of the GPU 312 (such as firmware 314) may continue to execute. In contrast, the reset may be a hard reset. The hard reset may include resetting both the hardware and software components of the GPU 312. For example, during a hard reset, the processing unit 339 and firmware 314 may be reinitialized and returned to a known state, and all entries in memory 309 (including entries in any caches, registers, or buffers) may be invalidated or cleared. Any other type of reset is also possible, including resetting any combination of components of a graphics processing unit (such as GPU 312).

[0084] In one embodiment, the multiple resets may include both a soft reset and a hard reset. In this embodiment, the soft reset and the hard reset may be scheduled according to different reset frequencies. For example, the soft reset may be scheduled according to a soft reset frequency. The hard reset may be scheduled according to a hard reset frequency. The soft reset frequency may be higher than the hard reset frequency. The soft reset frequency may be one reset per 20 frames. The hard reset frequency may be one reset per 100 frames. The soft reset frequency and the hard reset frequency may be any value. An application 301 executing on the host data processing system 301 may determine the type and frequency of resets to be performed.

[0085] The type of reset performed may be predetermined (e.g., at design time for the graphics processing system or user configurable in the application), determined (e.g., by the application), or adaptable in a similar manner to the reset frequency as described herein. For example, if the trust level of a GPU decreases, the frequency of hard resets of that GPU may be increased.

[0086] To assert a scheduled reset on the GPU, the safety controller may generate instructions including a command defining one or more scheduled resets of the GPU. The reset command may be provided to the GPU in any suitable manner (e.g., as an instruction in a control stream that includes one or more commands). The reset command may be a discrete instruction. In some embodiments, the reset command may be embedded within a graphics processing instruction. The reset command may be embedded within a graphics processing instruction as a flag. For example, the flag may be present in an instruction header. Such an instruction header may be within a kick command of the instruction. In the embodiment shown in FIG. 3, the reset command defining a scheduled reset of the GPU 312 may be sent 332 by the driver 304 to the instruction buffer 308. Such an instruction may be queued in the buffer 308 to be read 333 to the GPU 312.

[0087] In response to receiving the reset command, the GPU may complete processing of any tasks that it began processing before receiving the reset command. The next scheduled reset may be executed. This has the advantage that partially completed processing work may not be wasted. That is, it may be more efficient to delay the reset until any partially completed processing tasks are completed, rather than immediately performing a reset on reading the reset command. This is because resetting the GPU before it completes a partially completed processing task may result in the entire processing of said task having to be restarted after the reset, e.g., any intermediate processing results that are required to complete the processing of that task and that are stored in memory (e.g., in a cache, register, or buffer in memory 309) during processing may be invalidated by the reset.

[0088] Upon receiving a reset command, the GPU may delay starting processing of any new tasks that have not begun processing prior to receiving the reset command until the GPU has completed resetting.

[0089] In systems where a reset is performed in response to detecting a fault, the reset is performed as soon as possible after detecting the fault because it is known that there is a fault in the GPU and the processing of the work that the GPU is currently working on may be poor, so there is no reason to continue this work. In contrast, the periodic resets described herein are scheduled regardless of whether a fault is detected. Thus, when a periodic reset is scheduled, the GPU is allowed to continue processing the work that it is currently processing until a convenient time when the reset can be performed. This means that the detrimental effects on GPU performance caused by the reset can be reduced or minimized.

[0090] 4 is a schematic timeline 400 illustrating the resetting of a graphics processing unit in accordance with the principles described herein. As described herein, a tile-based rendering system generally performs two distinct phases of operation: (i) a geometry processing phase in which the geometry (e.g., primitives) are processed to determine, for each tile of the rendering space, which items of the geometry may be relevant for rendering that tile (e.g., which primitives at least partially overlap the tile), and (ii) a fragment processing phase (i.e., the "rendering phase") in which the geometry relevant to rendering a particular tile is processed in order to render the tile (e.g., to generate pixel values ​​for pixel locations within the tile that can then be output from the rendering system (e.g., for storage in a buffer (such as a frame buffer) and / or for display).

[0091] FIG. 4 diagrammatically illustrates geometry processing 410 above a timeline axis 412 and fragment processing 411 below the timeline axis 412. At t=0, first frame geometry processing 401 starts. The first frame geometry processing may be performed according to the geometry processing principles described herein. Once the first frame geometry processing 401 is completed, first frame fragment processing 402 may start. Second frame geometry processing 403 may also start while the first frame fragment processing 402 is still in progress. The GPU may have the capability to perform geometry processing and fragment processing of different frames simultaneously. That is, the second frame geometry processing and the first frame fragment processing may overlap 409. In some implementations, the geometry processing of a frame and the fragment processing of another frame may completely overlap. Once the second frame geometry processing 403 is completed, the second frame fragment processing 404 can start. That is, as shown in FIG. 5, data received at the graphics processing unit is rendered 503. An instruction for the processing of the third frame, including a flag 405 indicating a scheduled reset of the GPU, may be read while the fragment processing of the second frame 404 is being performed. In response to reading the instruction including the reset command, the GPU may complete the fragment processing of the second frame 404 and delay the geometry processing of the third frame (which would otherwise have occurred as indicated by 407) before performing a reset 406. Once the reset 406 is complete, the GPU may begin processing the geometry processing of the third frame 408. Each received reset command may be processed in the same manner. In this manner, as shown in FIG. 5, the safety controller performs multiple resets 504 consistent with the reset frequency.That is, the safety controller causes multiple resets of the graphics processing unit to be performed based on the reset frequency, but the frequency at which the graphics resets are performed may not strictly match the reset frequency according to which the resets are scheduled (e.g., due to delays that allow for completion of processing of partially processed tasks, as described with reference to FIG. 4). In other words, the safety controller causes multiple resets of the graphics processing unit to be performed in coordination with the reset frequency, such that the frequency at which the graphics resets are performed is based on the reset frequency. Stated another way, the safety controller causes multiple resets of the graphics processing unit to be performed in coordination with the reset frequency, such that the reset frequency indicates how often the graphics resets are performed.

[0092] The efficiency of a GPU may be increased by performing both geometry processing and fragment processing simultaneously. This is because, as described herein, the geometry processing phase and the fragment processing phase may be performed by different units of the GPU. Thus, overlapping the geometry processing and fragment processing of two different frames may ensure that more of the processing units of the GPU are used at once. As shown in FIG. 4, delaying the geometry processing of a frame until after a scheduled reset means that such a GPU cannot take advantage of its ability to simultaneously perform geometry processing of that frame and fragment processing of another frame (e.g., a previous frame). This may be considered an additional performance cost associated with performing a reset in this manner.

[0093] It should be understood that FIG. 4 is only schematic and that other types of processing (additional or alternative geometric processing and fragment processing) may be performed by the graphics processing unit, such as computational processing handled by a computational data master (CDM), or rendering geometry in a two-dimensional scene handled by a two-dimensional data master (TDM).

[0094] As described herein, the reset flag may be present in the instruction header. The instruction may include a kick command for each of the geometry processing phase and the fragment processing phase of the frame. As shown in FIG. 4, the GPU (e.g., firmware executing on the GPU) may check the reset flag in the instruction header before starting the geometry processing phase, i.e., before executing the kick command for the geometry processing phase. This may be advantageous since checking the reset flag at this stage will result in a scheduled reset being performed between frames. It should be understood that it would also be possible to have the GPU check the reset flag in the instruction header instead before starting the fragment processing phase. As described herein, some or all of the output of the geometry processing phase may be saved in memory external to the GPU, so that in this case, such output may not be invalidated during reset. In some cases, the output of the geometry phase may be saved in external memory as a set of independent tiles from each frame. Fragment processing may be performed independently for each tile. The GPU may access each of these tiles sequentially during fragment processing of a frame. In these cases, it may be possible to perform a reset between fragment processing of two tiles. This is one such example where the reset frequency may be defined by the number of resets performed per number of tiles processed.

[0095] Referring again to FIG. 3, the GPU 312 comprises one or more processing units 339, labeled in the figure as PU0 340, PU1 341 through PU(n) 342. There may be any number of processing units. The safety controller 311 may have the ability to selectively schedule periodic resets for individual processing units 339 of the GPU 312. The safety controller 311 may selectively schedule resets for only individual processing units 339 that perform safety-critical rendering. In another embodiment, although only one GPU 312 is shown in FIG. 3, there may be multiple GPUs associated with the host data processing system 302. The safety controller 311 may have the ability to selectively schedule periodic resets for individual GPUs of said multiple GPUs. The safety controller 311 may selectively schedule resets for only GPUs that perform safety-critical rendering. Resets may be selectively scheduled for different processing units 339 or GPUs by addressing each of the graphics processing instructions that include a reset command to a particular processing unit 339 or GPU.

[0096] For example, the instrument cluster 200 shown in FIG. 2 includes a speedometer 202 in the form of a conventional dial with speed values ​​208 around the edge of the dial and a needle 207 whose angular orientation indicates the vehicle's current speed. The instrument cluster further includes an oil temperature gauge 203, an information icon 204 (e.g., indicating a selected radio station), a non-critical warning icon 205 (e.g., indicating a fault in the air conditioning system), and a critical warning icon 206 (e.g., indicating a serious engine malfunction). Only the display elements speedometer 202 and critical warning icon 206 are critical to the safety of the vehicle and its occupants. It may be necessary to render these display elements in a manner that meets a mandated safety level, such as ASIL B of the ISO 26262 standard. The oil temperature gauge 203, the information icon 204, and the non-critical warning icon 205 do not need to be rendered for that safety level. The rendering space used to render a frame representing the rendered instrument cluster is divided into multiple tiles 201, each of which includes multiple pixels. Only the highlighted tiles 209 contain important display elements, in which at least a portion of the important display elements overlap with each of the highlighted tiles. The safety controller 311 may schedule periodic resets of only the processing units 339 or GPUs configured to perform rendering of the highlighted tiles.

[0097] The graphics processing system of FIG. 3 is shown as including several functional blocks. This is only schematic and is not intended to define a strict division between different logical elements of such entities. Each functional block may be provided in any suitable manner. It should be understood that intermediate values ​​formed by the graphics processing system as described herein need not be physically generated by the graphics processing system in any respect, and may simply represent logical values ​​that conveniently describe the processing performed by the graphics processing system between its inputs and outputs.

[0098] The graphics processing systems described herein may be embodied in hardware on one or more integrated circuits. The graphics processing systems described herein may be configured to perform any of the methods described herein.

[0099] The terms computer program code and computer readable instructions, as used herein, refer to any type of executable code for a processor, including code expressed in a machine language, an interpreted language, or a scripting language. Executable code includes binary code, machine code, bytecode, code defining an integrated circuit (such as a hardware description language or netlist), and code expressed in a programming language code such as C, Java, or OpenCL. Executable code may be any type of software, firmware, script, module, or library that, when properly executed, processed, interpreted, compiled, or executed, for example, in a virtual machine or other software environment, causes the processor of the computer system in which the executable code is supported to perform the tasks specified by the code. Examples of computer readable storage media include random access memory (RAM), read only memory (ROM), optical disks, flash memory, hard disk memory, and other memory devices that can store instructions or other data and be accessed by a machine using magnetic, optical, and other techniques.

[0100] A processor, computer, or computer system may be any type of device, machine, or special purpose circuitry, or a collection or portion thereof, having processing capability such that instructions can be executed. A processor may be any type of general purpose or special purpose processor, such as, for example, a CPU, GPU, vector processor, tensor processor, system on a chip, state machine, media processor, application specific integrated circuit (ASIC), programmable logic array, field programmable gate array (FPGA), etc. A computer or computer system may include one or more processors.

[0101] It is also intended to encompass software that defines the configuration of the hardware described herein, such as HDL (Hardware Description Language) software, to be used to design an integrated circuit or configure a programmable chip to perform a desired function. That is, a computer readable storage medium may be provided having encoded thereon computer readable program code in the form of an integrated circuit definition data set that, when processed in an integrated circuit manufacturing system, configures a system for manufacturing a graphic processing system configured to perform any of the methods described herein, or for manufacturing a graphic processing system comprising any of the apparatus described herein. The integrated circuit definition data set may be, for example, an integrated circuit description.

[0102] A method of manufacturing a graphics processing system as described herein may be provided on an integrated circuit manufacturing system. An integrated circuit definition data set may be provided that, when processed on the integrated circuit manufacturing system, causes the method of manufacturing the graphics processing system to be performed.

[0103] The integrated circuit definition data set may be in the form of computer code, for example as a netlist, code for configuring a programmable chip, hardware description languages ​​that define the integrated circuit at any level, including as register transfer level (RTL) code, high level circuit representations such as Verilog or VHDL, and low level circuit representations such as OASIS (RTM) and GDSII. A higher level representation (such as RTL) that logically defines the integrated circuit may be processed by a computer system configured to generate a manufacturing definition of the integrated circuit in the context of a software environment that includes definitions of circuit elements and rules for combining those elements to generate a manufacturing definition of the integrated circuit as so defined by the representation. As is typical in the case of software executed on a computer system to define a machine, one or more intermediate user steps (e.g., providing commands, variables, etc.) may be required for the computer system configured to generate a manufacturing definition of the integrated circuit to execute the code that defines the integrated circuit to generate a manufacturing definition of the integrated circuit.

[0104] An embodiment of processing an integrated circuit definition data set in an integrated circuit manufacturing system to configure a system for manufacturing a graphics processing system will now be described with reference to FIG.

[0105] 6 illustrates an embodiment of an integrated circuit (IC) manufacturing system 1002 configured to manufacture a graphic processing system according to any of the embodiments herein. In particular, the IC manufacturing system 1002 includes a layout processing system 1004 and an integrated circuit generation system 1006. The IC manufacturing system 1002 is configured to receive an IC definition data set (e.g., defining a graphic processing system as described in any of the embodiments herein), process the IC definition data set, and generate an IC according to the IC definition data set (e.g., embodying a graphic processing system as described in any of the embodiments herein). The processing of the IC definition data set configures the IC manufacturing system 1002 to manufacture an integrated circuit embodying a graphic processing system according to any of the embodiments herein.

[0106] The layout processing system 1004 is configured to receive and process the IC definition data set to determine a circuit layout. Methods for determining a circuit layout from an IC definition data set are known in the art and may involve, for example, synthesizing RTL code to determine a gate-level representation of the circuit to be generated in terms of logical components (e.g., NAND, NOR, AND, OR, MUX, and FLIP-FLOP components). By determining positional information for the logical components, the circuit layout can be determined from the gate-level representation of the circuit. This may be done automatically or with user involvement to optimize the circuit layout. When the layout processing system 1004 has determined the circuit layout, it may output a circuit layout definition to the IC generation system 1006. The circuit layout definition may be, for example, a circuit layout description.

[0107] The IC generation system 1006 generates ICs according to the circuit layout definition, as known in the art. For example, the IC generation system 1006 may implement a semiconductor device manufacturing process to generate the IC, which may involve a multi-step sequence of photolithography and chemical processing steps during which electronic circuits are gradually generated on a wafer made of semiconductor material. The circuit layout definition may be in the form of a mask that can be used in a lithography process to generate the IC according to the circuit definition. Alternatively, the circuit layout definition provided to the IC generation system 1006 may be in the form of computer readable code that the IC generation system 1006 can use to form an appropriate mask for use in generating the IC.

[0108] The different processes performed by IC manufacturing system 1002 may all be implemented at one location, e.g., by one party. Alternatively, IC manufacturing system 1002 may be a distributed system in which parts of the processes may be performed at different locations and executed by different parties. For example, parts of (i) synthesizing RTL code representing an IC definition dataset to form a gate-level representation of a circuit to be generated, (ii) generating a circuit layout based on the gate-level representation, (iii) forming a mask according to the circuit layout, and (iv) fabricating the integrated circuit using the mask may be performed at different locations and / or by different parties.

[0109] In other embodiments, processing of the integrated circuit definition data set in an integrated circuit manufacturing system may configure the system for manufacturing a graphics processing system without processing the IC definition data set to determine a circuit layout. For example, the integrated circuit definition data set may define a configuration for a reconfigurable processor such as an FPGA, and processing of that data set may configure the IC manufacturing system to generate a reconfigurable processor having the defined configuration (e.g., by loading configuration data into an FPGA).

[0110] In some embodiments, the integrated circuit manufacturing definition dataset, when processed by an integrated circuit manufacturing system, may cause the integrated circuit manufacturing system to generate a device as described herein. For example, the integrated circuit manufacturing definition dataset may cause configuration of the integrated circuit manufacturing system in the manner described above with respect to FIG. 6 to manufacture a device as described herein.

[0111] In some embodiments, the integrated circuit definition data set may include software that executes on or in combination with hardware defined in the data set. In the embodiment shown in Figure 6, the IC generation system may be further configured by the integrated circuit definition data set to load firmware onto the integrated circuit in accordance with program code defined in the integrated circuit definition data set or to otherwise provide program code to the integrated circuit for use with the integrated circuit when manufacturing the integrated circuit.

[0112] Implementation of the concepts described herein in devices, apparatus, modules, and / or systems (as well as methods implemented herein) may result in improved performance when compared to known implementations. The improved performance may include one or more of increased computational performance, reduced latency, improved throughput, and / or reduced power consumption. During the manufacture of such devices, apparatus, modules, and systems (e.g., in integrated circuits), the improved performance may be traded off against physical implementation, thereby improving the manufacturing method. For example, the improved performance may be traded against layout area, thereby matching the performance of known implementations but using less silicon. This may be done, for example, by reusing functional blocks in a serialized form or by sharing functional blocks between elements of the devices, apparatus, modules, and / or systems. Conversely, the concepts described herein that result in improved physical implementation of devices, apparatus, modules, and systems (such as reduced silicon area) may be traded for improved performance. This may be done, for example, by manufacturing multiple instances of a module within a given area budget.

[0113] Applicant hereby discloses each individual feature described herein, and any combination of two or more such features, solely to the extent that such feature or combination can be implemented in accordance with the specification as a whole in light of the common general knowledge of those skilled in the art, regardless of whether such feature or combination of features solves any problem disclosed herein. In view of the foregoing description, it will be apparent to those skilled in the art that various modifications can be made within the scope of the invention.

Claims

1. 1. A method for performing safety critical rendering in a graphics processing unit in a graphics processing system, comprising: receiving, by the graphics processing system, graphical data for safety-critical rendering in the graphics processing unit; a safety controller scheduling a plurality of resets of the graphics processing unit according to a reset frequency regardless of whether a fault is detected, the scheduling comprising: generating instructions including a command indicating one or more scheduled resets of the graphics processing unit; sending the instructions to the graphics processing unit; and scheduling the the graphics processing unit rendering the graphical data; and the safety controller causing the resetting of the graphics processing unit to be performed consistent with the reset frequency; Including, In response to reading the instruction including the command at the graphics processing unit, performing a reset of the graphics processing unit, completing any task that began processing prior to reading the instruction by the graphics processing unit; and resetting at least a portion of the graphics processing unit after completion of the processing; A method comprising:

2. the reset frequency is adapted depending on a trust level of the graphics processing unit; The method of claim 1.

3. (a) reading the instructions including the command while the graphics processing unit is performing fragment processing of a first frame; (b) the graphics processing unit completing the fragment processing of the first frame in response to reading the instruction; and (c) subsequent to (b), resetting at least a portion of the graphics processing unit; and (d) subsequent to (c), performing geometry processing of a second frame; and The method of claim 1 or claim 2, comprising:

4. the command indicating the scheduled reset of the graphics processing unit is provided together with graphics processing instructions. The method according to any one of claims 1 to 3.

5. the reset frequency defines the number of resets performed per number of frames; The method according to any one of claims 1 to 4.

6. the reset frequency is set at design time, is user configurable, or is determined by an application running on a device external to the graphics processing unit; The method according to any one of claims 1 to 5.

7. monitoring one or more of a safety metric, an ionizing radiation level, an occurrence of a voltage spike, and an occurrence of an electromagnetic pulse of the graphics processing unit; adapting said reset frequency in dependence on said monitoring; The method of any one of claims 1 to 6, further comprising:

8. the graphics processing unit includes at least one of a cache, a register, or a buffer, firmware, and one or more processing units; At least one reset reinitializing the one or more processing units; invalidating at least one entry in the cache, register, or buffer in the graphics processing unit; and not reinitializing the firmware of the graphics processing unit; A soft reset is included. The method according to any one of claims 1 to 7.

9. the graphics processing unit includes at least one of a cache, a register, or a buffer, firmware, and one or more processing units; At least one reset reinitializing the one or more processing units; reinitializing the firmware of the graphics processing unit; and invalidating at least one entry in the cache, register, or buffer in the graphics processing unit; A hard reset, including The method according to any one of claims 1 to 8.

10. A plurality of soft resets are scheduled according to a soft reset frequency, and a plurality of hard resets are scheduled according to a hard reset frequency; The method according to claim 9, which refers to claim 8.

11. the soft reset frequency is higher than the hard reset frequency; The method of claim 10.

12. 1. A graphics processing system comprising a graphics processing unit configured to perform safety critical rendering and a safety controller for the graphics processing system, the graphics processing system is configured to receive graphical data for safety-critical rendering in the graphics processing unit; The safety controller schedules a number of resets of the graphics processing unit according to a reset frequency regardless of whether a fault is detected, the scheduling comprising: generating instructions including a command indicating one or more scheduled resets of the graphics processing unit; sending the instructions to the graphics processing unit; configured to schedule, the graphics processing unit is configured to render the graphical data; the safety controller is configured to cause the resetting of the graphics processing unit to be performed in accordance with the reset frequency; the graphics processing unit is configured to, in response to reading the instructions, including the command, at the graphics processing unit, complete processing of any tasks that began processing prior to reading the instructions before resetting at least a portion of the graphics processing unit. Graphics processing system.

13. The graphics processing system of claim 12 , wherein the reset frequency defines a number of resets performed per number of frames.

14. 14. The graphics processing system of claim 12 or 13, wherein the safety controller comprises a monitor configured to monitor one or more of the following safety metrics of the graphics processing unit: ionizing radiation levels; occurrence of voltage spikes; and occurrence of electromagnetic pulses; and the safety controller is configured to adapt the reset frequency in dependence on the monitoring.

15. the graphics processing unit includes at least one of a cache, a register, or a buffer, firmware, and one or more processing units; At least one reset reinitializing the one or more processing units; invalidating at least one entry in the cache, register, or buffer in the graphics processing unit; and not reinitializing the firmware of the graphics processing unit; A soft reset is included. The graphic processing system according to any one of claims 12 to 14.

16. the graphics processing unit includes one or more processing units, firmware, and at least one of a cache, a register, or a buffer; At least one reset reinitializing the one or more processing units; reinitializing the firmware of the graphics processing unit; and invalidating at least one entry in the cache, register, or buffer in the graphics processing unit; A hard reset, including The graphic processing system according to any one of claims 12 to 15.

17. 17. The graphics processing system of claim 16, wherein the safety controller is configured to schedule a plurality of soft resets according to a soft reset frequency and to schedule a plurality of hard resets according to a hard reset frequency.

18. 20. The graphics processing system of claim 17, wherein the soft reset frequency is greater than the hard reset frequency.

19. The graphics processing unit: (a) reading the instructions including the command while performing fragment processing of a first frame; (b) completing the fragment processing of the first frame in response to reading the instruction; (c) subsequent to (b), resetting at least a portion of the graphics processing unit; (d) following (c), performing geometry processing for a second frame; The graphic processing system according to any one of claims 12 to 18, configured to:

20. A program for causing a computer to execute the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Intelligent terminal display control method and device, storage medium and intelligent terminal

    CN108762652A

  • An operation parameter adjustment method and a mobile terminal

    CN109831585A

  • Game machine

    JP2014198170A

  • Game machine

    JP2016083120A

  • Game machine

    JP2018175337A