scripts: Add a script to list implemented workarounds
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 3 May 2013 15:08:25 +0000 (16:08 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Wed, 8 May 2013 12:27:24 +0000 (13:27 +0100)
commitb9765af636510fe0896c8e1648a4cd003cd91ca1
tree4d2817404338256dec71527077dffd3c0835ad56
parenta417ef7cc8ebe01a3198849db8cf9e6896c54a0b
scripts: Add a script to list implemented workarounds

We document the implemented workarounds with

  workaround_name:platforms

with platforms being a comma separated list of 3-letters platform names.

This scripts gather those tags and output a summary of implemented work
arounds. Example usages:

$ ./scripts/list-workarounds ~/gfx/sources/linux-2.6/
WaApplyL3ControlAndL3ChickenMode: hsw, ivb, vlv
WaCatErrorRejectionIssue: hsw, ivb, vlv
WaDisable4x2SubspanOptimization: hsw, ivb
WaDisableBackToBackFlipFix: ivb, vlv
WaDisableDopClockGating: vlv
....

$ ./scripts/list-workarounds ~/gfx/sources/linux-2.6/ -p ivb
WaApplyL3ControlAndL3ChickenMode
WaCatErrorRejectionIssue
WaDisable4x2SubspanOptimization
WaDisableBackToBackFlipFix
WaDisableEarlyCull
...

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
scripts/list-workarounds [new file with mode: 0755]