GPU Video Memory Access Repair via Active Error Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
GPU video memory access errors due to timing calibration failures in the video memory interface, which are difficult to resolve without redesigning the circuit board or increasing design complexity and costs, leading to poor user experience.
Innovation Solution
A method and apparatus for active error detection that involves distributing a small video memory test space for regular data read and write detection, suspending access operations when errors are detected, resetting and re-initializing the video memory controller, and re-calibrating the timing of the video memory interface to restore normal access.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If circuit design is optimized to improve signal quality of video memory interface, then signal quality is improved, but redesign time and cost increase
Solution Approach 1:
The patent applies preliminary action by implementing timing calibration functionality that can be executed at runtime without requiring hardware redesign. The system performs timing calibration measurements and adjustments before actual video memory operations commence, allowing the interface to adapt to environmental changes dynamically rather than requiring preventive redesign of the circuit board.
Solution Approach 2:
The patent changes operational parameters (timing calibration values) rather than physical circuit parameters. By adjusting timing calibration parameters through software control, the system can optimize signal quality and compensate for environmental factors like temperature drift and voltage fluctuation without modifying the hardware circuit design.
2Reliability
If dynamic timing calibration function is added to video memory controller, then timing calibration failure can be resolved, but design complexity and wafer area increase
Solution Approach 1:
The patent introduces an intermediary mechanism - a separate timing calibration measurement and control module that works in conjunction with the video memory controller. This module includes a timing calibration measurement unit and control unit that can adjust timing parameters without requiring the video memory controller itself to be redesigned with complex dynamic calibration functionality embedded within it.
Solution Approach 2:
The patent segments the timing calibration functionality into a separate module that operates independently from the main video memory controller. The timing calibration measurement unit and control unit are distinct components that can be added or integrated without redesigning the entire video memory controller, thereby reducing design complexity while still providing dynamic calibration capabilities.
3Reliability
If GPU video memory controller is redesigned and taped out, then timing calibration capability can be improved, but tape-out cost and time cost increase
Solution Approach 1:
The patent uses a software-based timing calibration measurement and control module that copies or simulates the functionality of hardware-based dynamic calibration. Instead of redesigning and taping out a new video memory controller chip, the system implements a software layer that performs timing calibration measurements and adjustments, achieving the same functional improvement without the expensive and time-consuming chip redesign process.
4Measurement precision
If timing calibration is performed during GPU initialization, then initial timing accuracy is achieved, but long-term stability under environmental changes deteriorates
Solution Approach 1:
The patent implements periodic timing calibration measurements and adjustments. The timing calibration measurement unit periodically measures timing parameters and the control unit adjusts calibration values at regular intervals, allowing the system to maintain timing accuracy despite environmental changes like temperature drift and voltage fluctuation that occur during long-term operation.
Solution Approach 2:
The patent establishes a feedback mechanism where the timing calibration measurement unit continuously monitors timing parameters and provides feedback to the control unit, which then adjusts the timing calibration values accordingly. This closed-loop feedback system ensures that timing calibration stability is maintained under varying environmental conditions by continuously adapting to changes rather than relying solely on initial calibration.
Data Source
AI summary
It is suitable for the field of computer graphic processing technologies, and provides a method and apparatus for repairing a graphics processing unit (GPU) video memory access based on active error detection. A small video memory is first distributed and used for error detection of video memory access, and a problem of video memory data access abnormality is found in time through a regular active detection. When the video memory data access abnormality is found, a GPU desktop driving module can suspend a display picture update operation, and a GPU kernel driving module first suspends all video memory access, then re-initializes a video memory controller and repairs the video memory access abnormality, and then restores an access of all the modules to a video memory to normal, refreshes a desktop, and restores a graphic desktop to a normal state.


