Re: [Intel-gfx] [PATCH] drm/i915: Build request info on stack before printk

2018-04-24 Thread Chris Wilson
Quoting Chris Wilson (2018-04-24 02:08:39) > 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 tempor

Re: [Intel-gfx] [PATCH] drm/i915: Build request info on stack before printk

2018-04-24 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-04-24 12:57:41) > > On 24/04/2018 02:08, Chris Wilson wrote: > > 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 desti

Re: [Intel-gfx] [PATCH] drm/i915: Build request info on stack before printk

2018-04-24 Thread Tvrtko Ursulin
On 24/04/2018 02:08, Chris Wilson wrote: 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

Re: [Intel-gfx] [PATCH] drm/i915: Build request info on stack before printk

2018-04-23 Thread Chris Wilson
Quoting Chris Wilson (2018-04-24 02:08:39) > 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 tempor

[Intel-gfx] [PATCH] drm/i915: Build request info on stack before printk

2018-04-23 Thread Chris Wilson
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 lin

[Intel-gfx] [PATCH] drm/i915: Build request info on stack before printk

2018-04-23 Thread Chris Wilson
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 lin