Graphics Subsystem Hotplug Buffering to Prevent Display Flicker
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Display flickering occurs when a new display device is hotplugged to a computer system due to insufficient system resources, causing the graphics subsystem to temporarily lack resources to drive existing displays.
Innovation Solution
The graphics subsystem is given time to adjust resource balance between displays by minimizing disruption to currently attached displays through techniques that allow for gradual resource rebalancing during hotplug events.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the graphics subsystem immediately re-assigns resources from existing displays to the newly attached display, then the new display can be driven, but the existing displays experience flickering due to temporary resource shortage
Solution Approach 1:
The system performs preliminary actions by detecting the hotplug event and initiating resource rebalancing before the new display is fully activated. The graphics subsystem proactively adjusts resource allocation in stages, starting with minimal disruption to existing displays, rather than waiting for resource exhaustion to occur.
Solution Approach 2:
The resource allocation is made dynamic and adaptive rather than static. The graphics subsystem continuously monitors display performance and resource availability, adjusting the timing and extent of resource reassignment based on current system conditions. This allows the system to balance between supporting the new display and maintaining existing display stability.
2Quantity of substance
If the graphics subsystem takes resources away from existing displays to drive the new display, then the new display receives sufficient resources, but the existing displays experience flashing or flickering
Solution Approach 1:
The system applies beforehand cushioning by maintaining a resource buffer or headroom in the graphics subsystem before initiating resource reassignment. When a hotplug event occurs, the pre-established buffer allows the system to transition resources gradually without causing immediate resource starvation to existing displays, thereby preventing flickering while still enabling the new display.
Solution Approach 2:
The system introduces an intermediary mechanism (such as a resource management layer or transition protocol) that mediates the resource transfer between existing and new displays. This intermediary controls the timing and rate of resource reassignment, ensuring that existing displays retain sufficient resources to maintain stable output while the new display gradually receives the necessary resources.
Data Source
AI summary
One embodiment provides a graphics processor device that includes circuitry configured to detect a connection of a second display device to a display subsystem of the graphics processor while a first display device of the graphics subsystem is active, write pre-determined pixel data to a reserved portion of memory associated with the display subsystem, configure timings for the second display device while resources allocated to the first display device remain available to the first display device, display the pre-determined pixel data from the reserved portion of the memory on the second display device during reallocation of the resources of the display subsystem to enable output the framebuffer data to the second display device, and transition the second display device from the display of the pixel data in the reserved portion of the memory to the display of the framebuffer data after resources of the display subsystem are reallocated.


