8 Commits

Author SHA1 Message Date
Damien Lespiau
334f657e98 list-workarounds/skl: Add Skylake to the list of valid platorms
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-09-30 12:21:02 +01:00
Damien Lespiau
8c4dd1d898 list-workarounds/chv: Add Cherryview to the list of valid platorms
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-06-11 16:55:55 +01:00
Damien Lespiau
1c5e1d230b list-workarounds/bdw: Add Broadwell to the list of valid platorms
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-06 09:39:41 -08:00
Damien Lespiau
17523ef7bf list-workarounds: Some workarounds start with WA, not Wa
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-06-06 16:52:56 +01:00
Damien Lespiau
81ba005381 list-workarounds: Don't prepend kernel_path to the driver directory
We are changing the cwd, so we just need the relative patch from the
root for the kernel git repo. This allows the script to work from
anywhere.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-05-23 12:12:54 +01:00
Ben Widawsky
0e8931925d list-workarounds: Convert to python3
The rest of the tool suite that uses python already uses python3.
The tool configure requires python >= 3 (which is confusing because of
the no backward compat problem).

The world is slowly moving to python3.

Converted with 2to3.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-05-11 16:00:08 -07:00
Damien Lespiau
397dcb745e 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>
2013-05-10 15:35:26 +01:00
Damien Lespiau
b9765af636 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>
2013-05-08 13:27:24 +01:00