summaryrefslogtreecommitdiff
path: root/tools/intel_l3_parity.c
AgeCommit message (Collapse)Author
2014-03-22lib: rename intel_gpu_tools.h to intel_io.hDaniel Vetter
With the header cleanup we can now give this header a suitable name, since it now really only contains register access and other I/O functions and assorted definitions. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-22tests|lib: remove assert.h includesDaniel Vetter
Only the igt core and non-test tools should have asserts to catch internal errors, tests and helper libraries should all user igt_asert instead. Fix things up where assert instead of igt_assert was used. One tiny step towards header sanity. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-09-23intel_l3_parity: Make compilation possible without udevBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: Support a daemonic modeBen Widawsky
v2: Add a comment explaining the dangers of directly accessing the DFT register (Daniel) Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: Support error injectionBen Widawsky
Haswell added the ability to inject errors which is extremely useful for testing. Add two arguments to the tool to inject, and uninject. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: Actually support multiple slicesBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: slice supportBen Widawsky
Haswell GT3 adds a new slice which is kept distinct from the old register interface. Plumb it into the code, though it's only 1 slice still. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: Hardware info argumentBen Widawsky
Add a new command line argument to the tool which will spit out various parameters for the giving hardware. As a result of this, some new defines are added to help with the various info. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: Use getopt for the l3 parity toolBen Widawsky
Add new command line arguments in addition to supporting the old features. This patch only introduces one feature, the -e argument to enable a specific row/bank/subbank. Previously you could only enable all. Otherwise, it has what you expect (we prefer -r -b -s for specifying the row/bank/subbank). Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: Assert all GEN7+ supportBen Widawsky
v2: Don't assert for Valleyview (Bryan) Rework code to be a bit more readable. CC: "Bell, Bryan J" <bryan.j.bell@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-09-20intel_l3_parity: Fix indentationBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-08-19lib/drmtest: rip out drm_open_any_masterDaniel Vetter
It's unused. Also most of our tests failed to ask for the right type of drm fd anyway. So it's imo better to just let them fall over when they don't get master but want it, like they already do today. This also allows us to garbage-collect the master parameter to drm_get_card and associated code. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-05-31tools/dpf: Tool to read and write l3 remap registers.Ben Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>