diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-07-12 21:03:29 +0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-12 21:35:45 +0400 |
commit | a94919eaddaa3fede1df8563ce4d761a75374645 (patch) | |
tree | ec08ea68ca13871bd3f15526df2e55d0f7a92012 /drivers/net/wireless/iwlwifi/iwl-tx.c | |
parent | 05bd42688dbc066d4e2689b6f73c0470601f788b (diff) | |
download | linux-a94919eaddaa3fede1df8563ce4d761a75374645.tar.xz |
drm/i915/ringbuffer: Idling requires waiting for the ring to be empty
...which is measured by the size and not the amount of space remaining.
Waiting upon size-8, did one of two things. In the common case with more
than 8 bytes available to write into the ring, it would return
immediately. Otherwise, it would timeout given the impossible condition
of waiting for more space than is available in the ring, leading to
warnings such as:
[drm:intel_cleanup_ring_buffer] *ERROR* failed to quiesce render ring
whilst cleaning up: -16
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
0 files changed, 0 insertions, 0 deletions