diff options
| author | Michal Wajdeczko <[email protected]> | 2017-12-19 11:43:46 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-12-19 15:07:08 +0000 |
| commit | acfb9973a0d1e5dd14c40464d9a20945cd2ac02e (patch) | |
| tree | f434c874ebe5433e8ebd858269c117f5353ef598 /tools/perf/scripts/python/bin | |
| parent | eb10ed9a9e1ecacafab5535c86b62061b39360e5 (diff) | |
drm/i915: Add pretty printer for modparams
We dump modparams in few places (debugfs, gpu_error) using different
functions. Lets add reusable function to avoid code duplication.
add/remove: 1/0 grow/shrink: 0/2 up/down: 1096/-2339 (-1243)
Function old new delta
i915_params_dump - 1096 +1096
i915_capabilities 1353 185 -1168
i915_error_state_to_str 5507 4336 -1171
Total: Before=1285716, After=1284473, chg -0.10%
v2: use forward decl rather than include (Chris)
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions