diff options
author | Simon Farnsworth <simon.farnsworth@onelan.co.uk> | 2007-07-23 04:32:01 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-23 04:32:01 -0400 |
commit | 22c806c23fe17f9c744d19edfe650cfd6496bc2a (patch) | |
tree | 006bea4e9670c8b3e388bf3c7ff62e16f6e39338 /drivers/char | |
parent | 7ea4d4bd5e21380f028c3a6e2500655090a3f932 (diff) |
drm/via: Fix dmablit when blit queue is full
fd.o bug 11542
Acked-by: Thomas Hellstrom
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/drm/via_dmablit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/via_dmablit.c b/drivers/char/drm/via_dmablit.c index 832de1d9ba7e..3dd1ed3d1bf5 100644 --- a/drivers/char/drm/via_dmablit.c +++ b/drivers/char/drm/via_dmablit.c | |||
@@ -560,7 +560,7 @@ via_init_dmablit(struct drm_device *dev) | |||
560 | blitq->head = 0; | 560 | blitq->head = 0; |
561 | blitq->cur = 0; | 561 | blitq->cur = 0; |
562 | blitq->serviced = 0; | 562 | blitq->serviced = 0; |
563 | blitq->num_free = VIA_NUM_BLIT_SLOTS; | 563 | blitq->num_free = VIA_NUM_BLIT_SLOTS - 1; |
564 | blitq->num_outstanding = 0; | 564 | blitq->num_outstanding = 0; |
565 | blitq->is_active = 0; | 565 | blitq->is_active = 0; |
566 | blitq->aborting = 0; | 566 | blitq->aborting = 0; |