mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 03:58:27 +00:00 
			
		
		
		
	list-workarounds: Some workarounds start with WA, not Wa
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
		
							parent
							
								
									528b1f381c
								
							
						
					
					
						commit
						17523ef7bf
					
				@ -25,8 +25,8 @@ def parse_platforms(p):
 | 
			
		||||
			sys.stdout.write("unknown platform %s\n" % p)
 | 
			
		||||
	return l
 | 
			
		||||
 | 
			
		||||
wa_re = re.compile('(?P<name>Wa[A-Z0-9][a-zA-Z0-9_]+):(?P<platforms>[a-z,]+)')
 | 
			
		||||
waname_re = re.compile('(?P<name>Wa[A-Z0-9][a-zA-Z0-9_]+)')
 | 
			
		||||
wa_re = re.compile('(?P<name>W[aA][A-Z0-9][a-zA-Z0-9_]+):(?P<platforms>[a-z,]+)')
 | 
			
		||||
waname_re = re.compile('(?P<name>W[aA][A-Z0-9][a-zA-Z0-9_]+)')
 | 
			
		||||
def parse(me):
 | 
			
		||||
	for line in me.splitlines():
 | 
			
		||||
		match = wa_re.search(str(line))
 | 
			
		||||
@ -95,7 +95,7 @@ if __name__ == '__main__':
 | 
			
		||||
	olddir = os.getcwd()
 | 
			
		||||
	os.chdir(kernel_path)
 | 
			
		||||
	work_arounds, err = execute(['git', 'grep', '-n',
 | 
			
		||||
				     '-e', 'Wa[A-Z0-9][a-zA-Z0-9_]\+',
 | 
			
		||||
				     '-e', 'W[aA][A-Z0-9][a-zA-Z0-9_]\+',
 | 
			
		||||
				     i915_dir])
 | 
			
		||||
	os.chdir(olddir)
 | 
			
		||||
	if err:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user