Chris Wilson e8a70cab25 drm/i915: Use snprintf to avoid line-break when pretty-printing engines
When printing the execlist ports, we first print the ELSP header then
follow it with the pretty-printed request. Since switching to
drm_printer and show the output via printk, it automatically appends a
newline to each call (unlike the old seq_printf output). To avoid the
unwanted line break, construct the ELSP request header in a temporary
buffer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171208012303.25504-1-chris@chris-wilson.co.uk
2017-12-08 18:48:34 +00:00
..
2017-11-02 12:40:41 +10:00
2017-10-07 10:11:41 +01:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2017-08-03 18:18:05 +01:00
2017-07-09 18:48:37 -07:00
2017-11-15 20:42:10 -08:00
2017-12-08 08:41:22 +10:00
2017-06-12 09:42:18 -07:00
2017-12-04 10:56:53 +10:00
2017-12-08 08:41:22 +10:00
2017-11-21 19:51:34 +02:00
2017-12-05 14:04:29 -08:00
2017-12-08 08:41:22 +10:00