drm/i915: Make next_seqno debugs entry to use i915_gem_set_seqno
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 19 Dec 2012 09:13:09 +0000 (11:13 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Dec 2012 10:25:31 +0000 (11:25 +0100)
commite94fbaa8750a8f20c14718633764fba2e6755825
treeed7ff549aedd0af11b25b99d8aded964dba60487
parentfca26bb45375266d9d9b8b4b57fee905ac38fe3c
drm/i915: Make next_seqno debugs entry to use i915_gem_set_seqno

This debugs entry can be used to set arbitrary value to next_seqno.
Use i915_gem_set_seqno instead of poking next_seqno.

v2: nasty details of next_seqno and last_seqno handling
moved inside i915_gem_set_seqno as suggested by Chris Wilson.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c