diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-09-26 10:50:33 -0400 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-09-27 06:27:13 -0400 |
commit | c5f6d578956a4304b6bb5393423768fecafff385 (patch) | |
tree | 22799f1d75299ddf721ab6488e067aa330b0057e /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | f8e57863f81f962a1837d6a17825752de5bc23f7 (diff) |
drm/i915: Log HWS seqno consistently
We mix hexa- and decimal which is confusing when reading the logs. So make
the single odd one out instance decimal for consistency.
v2:
* Do the intel_ringbuffer.c as well. (Chris Wilson)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180926145033.16318-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index d0ef50bf930a..c092d5099ebf 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c | |||
@@ -574,7 +574,9 @@ static void skip_request(struct i915_request *rq) | |||
574 | 574 | ||
575 | static void reset_ring(struct intel_engine_cs *engine, struct i915_request *rq) | 575 | static void reset_ring(struct intel_engine_cs *engine, struct i915_request *rq) |
576 | { | 576 | { |
577 | GEM_TRACE("%s seqno=%x\n", engine->name, rq ? rq->global_seqno : 0); | 577 | GEM_TRACE("%s request global=%d, current=%d\n", |
578 | engine->name, rq ? rq->global_seqno : 0, | ||
579 | intel_engine_get_seqno(engine)); | ||
578 | 580 | ||
579 | /* | 581 | /* |
580 | * Try to restore the logical GPU state to match the continuation | 582 | * Try to restore the logical GPU state to match the continuation |