Skip to content

Commit

Permalink
drm/i915: Set initial seqno value close to wrap boundary
Browse files Browse the repository at this point in the history
To gain confidence in the wrap handling, make it happen quite
soon after the boot.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Mika Kuoppala authored and Daniel Vetter committed Dec 11, 2012
1 parent 107f27a commit 9e8e368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -3943,7 +3943,7 @@ i915_gem_init_hw(struct drm_device *dev)
goto cleanup_bsd_ring;
}

dev_priv->next_seqno = 1;
dev_priv->next_seqno = (u32)-1 - 0x1000;

/*
* XXX: There was some w/a described somewhere suggesting loading
Expand Down

0 comments on commit 9e8e368

Please sign in to comment.