mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-03 19:47:15 +00:00 
			
		
		
		
	lib: Fix pipe_crc->ctl_fd assert
Use the correct fd in the assert(). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
		
							parent
							
								
									6720dd4b2c
								
							
						
					
					
						commit
						e1e5856b3c
					
				@ -218,7 +218,7 @@ igt_pipe_crc_new(igt_debugfs_t *debugfs, int drm_fd, enum pipe pipe,
 | 
			
		||||
 | 
			
		||||
	pipe_crc->ctl_fd = igt_debugfs_open(debugfs,
 | 
			
		||||
					    "i915_display_crc_ctl", O_WRONLY);
 | 
			
		||||
	igt_assert(pipe_crc->crc_fd != -1);
 | 
			
		||||
	igt_assert(pipe_crc->ctl_fd != -1);
 | 
			
		||||
 | 
			
		||||
	sprintf(buf, "i915_pipe_%c_crc", pipe_name(pipe));
 | 
			
		||||
	pipe_crc->crc_fd = igt_debugfs_open(debugfs, buf, O_RDONLY);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user