diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-24 02:08:39 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-24 14:00:37 +0100 |
| commit | 247870ac8ea72916cd26f89e9bc211b97141ecd5 (patch) | |
| tree | b0495ccabd465248d09e858f418c85276048999b /tools/perf/scripts | |
| parent | drm/i915: Add compiler barrier to wait_for (diff) | |
| download | linux-247870ac8ea72916cd26f89e9bc211b97141ecd5.tar.gz linux-247870ac8ea72916cd26f89e9bc211b97141ecd5.zip | |
drm/i915: Build request info on stack before printk
printk unhelpfully inserts a '\n' between consecutive calls, and since
our drm_printf wrapper may be emitting info a seq_file instead,
KERN_CONT is not an option. To work with any drm_printf destination, we
need to build up the output into a temporary buf on the stack and then
feed the complete line in a single call to printk.
Fixes: b7268c5eed0a ("drm/i915: Pack params to engine->schedule() into a struct")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180424010839.22860-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
