mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-26 09:16:34 +00:00
list-workarounds: Don't add an already present platform
Currently if we come across several sites that say that a specific workaround is implemented for a platform, we just add the platform several times to the list. eg. WaFbcDisableDpfcClockGating: ivb, hsw, ivb, hsw This patch prevent that by only adding the plaform if it's not already there. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
eab0823e0e
commit
397dcb745e
@ -47,7 +47,10 @@ def parse(me):
|
|||||||
platforms = match.group('platforms')
|
platforms = match.group('platforms')
|
||||||
|
|
||||||
if wa_name in workarounds:
|
if wa_name in workarounds:
|
||||||
workarounds[wa_name] += parse_platforms(platforms)
|
platforms = parse_platforms(platforms)
|
||||||
|
for p in platforms:
|
||||||
|
if not p in workarounds[wa_name]:
|
||||||
|
workarounds[wa_name].append(p)
|
||||||
else:
|
else:
|
||||||
workarounds[wa_name] = parse_platforms(platforms)
|
workarounds[wa_name] = parse_platforms(platforms)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user