提交 9e8e3687 编写于 作者: M Mika Kuoppala 提交者: Daniel Vetter

drm/i915: Set initial seqno value close to wrap boundary

To gain confidence in the wrap handling, make it happen quite
soon after the boot.
Signed-off-by: NMika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 107f27a5
...@@ -3943,7 +3943,7 @@ i915_gem_init_hw(struct drm_device *dev) ...@@ -3943,7 +3943,7 @@ i915_gem_init_hw(struct drm_device *dev)
goto cleanup_bsd_ring; 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 * XXX: There was some w/a described somewhere suggesting loading
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册