drm/i915: use gem_set_seqno() on hardware init
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 22 Jan 2013 12:12:17 +0000 (14:12 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Jan 2013 12:52:26 +0000 (13:52 +0100)
When machine was rebooted or module was reloaded,
gem_hw_init() set last_seqno to be identical to next_seqno.
This lead to situation that waits for first ever request
always passed immediately regardless if it was actually
executed.

Use gem_set_seqno() to be consistent how hw is
initialized on init, wrap and on resume.

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>

No differences found