2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-06 04:33:58 +08:00

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: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Mika Kuoppala 2012-12-04 15:12:05 +02:00 committed by Daniel Vetter
parent 107f27a5df
commit 9e8e36879f

View File

@ -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