Skip to content

Commit

Permalink
drm/via: Fix dmablit when blit queue is full
Browse files Browse the repository at this point in the history
fd.o bug 11542

Acked-by: Thomas Hellstrom
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Simon Farnsworth authored and Dave Airlie committed Jul 23, 2007
1 parent 7ea4d4b commit 22c806c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/drm/via_dmablit.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,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;
Expand Down

0 comments on commit 22c806c

Please sign in to comment.