diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-09 12:56:37 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-09 12:53:19 +0000 |
commit | 8c0a6bfef165ccdbf5d73afb9dd660107b0c98d5 (patch) | |
tree | 09455156e4e46ac5137ddab9ec3aed65bc6a8c59 /kernel/sched_cpupri.h | |
parent | 8316f33766a82907c694267ff911e45e256f09f9 (diff) |
drm/i915/ringbuffer: Handle wrapping of the autoreported HEAD
If the tail advances beyond the autoreport HEAD value, then we need to
fallback to an uncached read of the HEAD register in order to ascertain
the correct amount of remaining space in the ringbuffer.
Reported-by: Fang, Xun <xunx.fang@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32259
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'kernel/sched_cpupri.h')
0 files changed, 0 insertions, 0 deletions