diff options
author | Owain Ainsworth <zerooa@googlemail.com> | 2009-01-21 21:57:24 +0000 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-23 12:58:49 -0800 |
commit | 0b5266ff648b03b3f2beda9838598abc00c4f7b2 (patch) | |
tree | 82d9e594f6ad32fae4f21b1889cdd12cb9f815f3 /src/mesa/main/dlist.h | |
parent | 39b4061bb9be540dfb51891e22c505bc235ec8a2 (diff) |
intel: fix vblank crtc selection with DRI1 when only one pipe is enabled.
On Mobile chipsets, we often enable PipeB instead of PipeA, but the test
in here was insufficient, falling back to pipe A if the area
intersection returned zero. Therefore, in the case where a window went
off to the top of the left of the screen, it would freeze, waiting on
the wrong vblank.
Fix this mess by checking the sarea for a crtc being zero sized, and in
that case always default to the other one.
Diffstat (limited to 'src/mesa/main/dlist.h')
0 files changed, 0 insertions, 0 deletions