projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
107f27a
)
drm/i915: Set initial seqno value close to wrap boundary
author
Mika Kuoppala
<mika.kuoppala@linux.intel.com>
Tue, 4 Dec 2012 13:12:05 +0000
(15:12 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Dec 2012 13:07:22 +0000
(14:07 +0100)
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>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index bc73f98c3631f54b2aa74d9787764148c3ea6429..6380c6083cb26db0567dd030751b09a4ab3feee2 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem.c
+++ b/
drivers/gpu/drm/i915/i915_gem.c
@@
-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