mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-03 19:47:15 +00:00 
			
		
		
		
	lib/drmtest: skip suspend tests in simulation
The simulator doesn't like this nor really support it :( v2: We've tried to a more gentle resume testing using the pm_test infrastructure, but that alos failed. So add a FIXME comment that we need to improve things a bit here. Cc: Ben Widawsky <benjamin.widawsky@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
		
							parent
							
								
									506ef293ab
								
							
						
					
					
						commit
						932716dd91
					
				@ -2087,6 +2087,11 @@ void igt_system_suspend_autoresume(void)
 | 
			
		||||
{
 | 
			
		||||
	int ret;
 | 
			
		||||
 | 
			
		||||
	/* FIXME: Simulation doesn't like suspend/resume, and not even a lighter
 | 
			
		||||
	 * approach using /sys/power/pm_test to just test our driver's callbacks
 | 
			
		||||
	 * seems to fare better. We need to investigate what's going on. */
 | 
			
		||||
	igt_skip_on_simulation();
 | 
			
		||||
 | 
			
		||||
	ret = system("rtcwake -s 30 -m mem");
 | 
			
		||||
	igt_assert(ret == 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user