aboutsummaryrefslogtreecommitdiff
path: root/linux-core/via_dmablit.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-07-18 10:40:03 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-07-18 10:40:03 +0200
commit1ff858fe3a6b632c879a9f99a67227db7df70b62 (patch)
treea6e76ebbb48c703ae7e5ad8a857e59811ba0c5df /linux-core/via_dmablit.c
parenta64b5d8d3763639fbb4098500ad5c86fb8590aa7 (diff)
Fix via dmablit when blit queue is full.
Fix by Simon Farnsworth, Bugzilla Bug #11542 http://bugs.freedesktop.org/show_bug.cgi?id=11542
Diffstat (limited to 'linux-core/via_dmablit.c')
-rw-r--r--linux-core/via_dmablit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/via_dmablit.c b/linux-core/via_dmablit.c
index 5108c867..6422609c 100644
--- a/linux-core/via_dmablit.c
+++ b/linux-core/via_dmablit.c
@@ -568,7 +568,7 @@ via_init_dmablit(struct drm_device *dev)
blitq->head = 0;
blitq->cur = 0;
blitq->serviced = 0;
- blitq->num_free = VIA_NUM_BLIT_SLOTS;
+ blitq->num_free = VIA_NUM_BLIT_SLOTS - 1;
blitq->num_outstanding = 0;
blitq->is_active = 0;
blitq->aborting = 0;