[Intel-gfx] [PATCH 1/1] drm/i915: use gem_set_seqno() on hardware init
Daniel Vetter
daniel at ffwll.ch
Tue Jan 22 13:56:30 CET 2013
On Tue, Jan 22, 2013 at 12:28:16PM +0000, Chris Wilson wrote:
> On Tue, Jan 22, 2013 at 02:12:17PM +0200, Mika Kuoppala wrote:
> > 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.
>
> Nice catch, and you caught the only other side-effect I could spot of
> moving the seqno init, so
>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list