提交 22c806c2 编写于 作者: S Simon Farnsworth 提交者: Dave Airlie

drm/via: Fix dmablit when blit queue is full

fd.o bug 11542

Acked-by: Thomas Hellstrom
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 7ea4d4bd
...@@ -560,7 +560,7 @@ via_init_dmablit(struct drm_device *dev) ...@@ -560,7 +560,7 @@ via_init_dmablit(struct drm_device *dev)
blitq->head = 0; blitq->head = 0;
blitq->cur = 0; blitq->cur = 0;
blitq->serviced = 0; blitq->serviced = 0;
blitq->num_free = VIA_NUM_BLIT_SLOTS; blitq->num_free = VIA_NUM_BLIT_SLOTS - 1;
blitq->num_outstanding = 0; blitq->num_outstanding = 0;
blitq->is_active = 0; blitq->is_active = 0;
blitq->aborting = 0; blitq->aborting = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册