Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: dump UTS_RELEASE into the error_state
@ 2013-01-23 15:16 Daniel Vetter
  2013-01-23 15:20 ` Chris Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Vetter @ 2013-01-23 15:16 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

Useful for statistics or on overflowing bug reports to keep things all
lined up.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/i915_debugfs.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 7944d3015..9d4a2c2 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -30,6 +30,7 @@
 #include <linux/debugfs.h>
 #include <linux/slab.h>
 #include <linux/export.h>
+#include <generated/utsrelease.h>
 #include <drm/drmP.h>
 #include "intel_drv.h"
 #include "intel_ringbuffer.h"
@@ -690,6 +691,7 @@ static int i915_error_state(struct seq_file *m, void *unused)
 
 	seq_printf(m, "Time: %ld s %ld us\n", error->time.tv_sec,
 		   error->time.tv_usec);
+	seq_printf(m, "Kernel: " UTS_RELEASE);
 	seq_printf(m, "PCI ID: 0x%04x\n", dev->pci_device);
 	seq_printf(m, "EIR: 0x%08x\n", error->eir);
 	seq_printf(m, "IER: 0x%08x\n", error->ier);
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/i915: dump UTS_RELEASE into the error_state
  2013-01-23 15:16 [PATCH] drm/i915: dump UTS_RELEASE into the error_state Daniel Vetter
@ 2013-01-23 15:20 ` Chris Wilson
  2013-01-23 16:30   ` Daniel Vetter
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2013-01-23 15:20 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: Intel Graphics Development

On Wed, Jan 23, 2013 at 04:16:35PM +0100, Daniel Vetter wrote:
> Useful for statistics or on overflowing bug reports to keep things all
> lined up.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

I should have added something like this long ago...
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/i915: dump UTS_RELEASE into the error_state
  2013-01-23 15:20 ` Chris Wilson
@ 2013-01-23 16:30   ` Daniel Vetter
  2013-01-23 16:37     ` Chris Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Vetter @ 2013-01-23 16:30 UTC (permalink / raw)
  To: Chris Wilson, Daniel Vetter, Intel Graphics Development

On Wed, Jan 23, 2013 at 03:20:45PM +0000, Chris Wilson wrote:
> On Wed, Jan 23, 2013 at 04:16:35PM +0100, Daniel Vetter wrote:
> > Useful for statistics or on overflowing bug reports to keep things all
> > lined up.
> > 
> > Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> 
> I should have added something like this long ago...
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Queued for -next, thanks for the review.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/i915: dump UTS_RELEASE into the error_state
  2013-01-23 16:30   ` Daniel Vetter
@ 2013-01-23 16:37     ` Chris Wilson
  2013-01-23 16:57       ` Daniel Vetter
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2013-01-23 16:37 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: Daniel Vetter, Intel Graphics Development

On Wed, Jan 23, 2013 at 05:30:46PM +0100, Daniel Vetter wrote:
> On Wed, Jan 23, 2013 at 03:20:45PM +0000, Chris Wilson wrote:
> > On Wed, Jan 23, 2013 at 04:16:35PM +0100, Daniel Vetter wrote:
> > > Useful for statistics or on overflowing bug reports to keep things all
> > > lined up.
> > > 
> > > Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > 
> > I should have added something like this long ago...
> > Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
> Queued for -next, thanks for the review.

Pretty please for stable?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/i915: dump UTS_RELEASE into the error_state
  2013-01-23 16:37     ` Chris Wilson
@ 2013-01-23 16:57       ` Daniel Vetter
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Vetter @ 2013-01-23 16:57 UTC (permalink / raw)
  To: Chris Wilson, Daniel Vetter, Daniel Vetter,
	Intel Graphics Development

On Wed, Jan 23, 2013 at 04:37:12PM +0000, Chris Wilson wrote:
> On Wed, Jan 23, 2013 at 05:30:46PM +0100, Daniel Vetter wrote:
> > On Wed, Jan 23, 2013 at 03:20:45PM +0000, Chris Wilson wrote:
> > > On Wed, Jan 23, 2013 at 04:16:35PM +0100, Daniel Vetter wrote:
> > > > Useful for statistics or on overflowing bug reports to keep things all
> > > > lined up.
> > > > 
> > > > Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > > 
> > > I should have added something like this long ago...
> > > Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Queued for -next, thanks for the review.
> 
> Pretty please for stable?

Moved to -fixes and added a cc: stable.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-23 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 15:16 [PATCH] drm/i915: dump UTS_RELEASE into the error_state Daniel Vetter
2013-01-23 15:20 ` Chris Wilson
2013-01-23 16:30   ` Daniel Vetter
2013-01-23 16:37     ` Chris Wilson
2013-01-23 16:57       ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox