]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Stop setting wraparound seqno on initialisation
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 16:23:24 +0000 (17:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 20:00:55 +0000 (21:00 +0100)
commit7bdca491e8179af7826d3ec9f0a8334dc83e3471
tree5e0a2ee7d9248f00909764bc734e15715df1375c
parent48871217f903a90186dcbe08fb2ae0f721c3cbc0
drm/i915: Stop setting wraparound seqno on initialisation

We have testcases to ensure that seqno wraparound works fine, so we can
forgo forcing everyone to encounter seqno wraparound during early
uptime. seqno wraparound incurs a full GPU stall so not forcing it
will eliminate one jitter from the early system. Using the testcases, we
have very deterministic testing which given how difficult it would be to
debug an issue (GPU hang) stemming from a wraparound using pure
postmortem analysis I see no value in forcing a wrap during boot.

Advancing the global next_seqno after a GPU reset is equally pointless.

References? https://bugs.freedesktop.org/show_bug.cgi?id=95023
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1467390209-3576-15-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c