summaryrefslogtreecommitdiff
path: root/scripts/list-workarounds
AgeCommit message (Collapse)Author
2016-02-08list-workarounds: Fix python 2 print statementDamien Lespiau
That script is a python 3 script, so we can't use the python 2 print statement, it's a function now. I missed it in the review because reviewing a diff without additional context gives you a partial story. Cc: Sameer Kibey <sameer.kibey@intel.com> Cc: Dylan Baker <baker.dylan.c@gmail.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2016-02-05list-workarounds: Extend the script to MesaKibey, Sameer
Updated the list-workarounds script so that it can parse Mesa directory if provided. Moved the common code to a separate function to allow reuse for both kernel and mesa. The new command line is: Usage: list-workarounds [options] path-to-kernel -k path-to-kernel -m path-to-mesa The legacy usage is retained to avoid breaking backwards compatibility. New parameters -k and -m are added for the new behavior. Either kernel or mesa or both paths can be specified. If path-to-mesa is invalid, error is reported. Signed-off-by: Sameer Kibey <sameer.kibey@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
2015-05-19list-workarounds: Print the line where the parsing error occuredDamien Lespiau
Useful to understand the warnings the scripts prints. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-04-08list-workarounds/bxt: Add Broxton to the list of valid platormsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-09-30list-workarounds/skl: Add Skylake to the list of valid platormsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-06-11list-workarounds/chv: Add Cherryview to the list of valid platormsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-06list-workarounds/bdw: Add Broadwell to the list of valid platormsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-06-06list-workarounds: Some workarounds start with WA, not WaDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-05-23list-workarounds: Don't prepend kernel_path to the driver directoryDamien Lespiau
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-11list-workarounds: Convert to python3Ben Widawsky
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-10list-workarounds: Don't add an already present platformDamien Lespiau
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-08scripts: Add a script to list implemented workaroundsDamien Lespiau
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>