]> 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)
commit28e6ff9a3c2d5f0baa9a680e1245e663260eb5c2
tree5e0a2ee7d9248f00909764bc734e15715df1375c
parent6a4b0f6eb807afdb5a6e8d86ad615070eee5a9f1
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