diff options
author | Eric Anholt <[email protected]> | 2008-12-23 16:08:40 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-12-29 12:09:24 -0800 |
commit | 6c01500228014a6cfa133b5dbba8c6d024833e84 (patch) | |
tree | bd8878052fbf69b8dd1146c7a5693f72ea9b27fc /configs/linux-dri-x86-64 | |
parent | c40cd2ccdd8ce7f749d03e66bcca297c2366c1f9 (diff) |
dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.
We'd come up with a negative remainder, while we were looking for the positive
version of it in the loop conditional. And, since the "did we hit our target"
break was disabled for the target_msc == 0 ("Just make the divisor/remainder
work") path, we'd never exit.
Simplify the code by just using int64_t all over instead of trying to do it
in a u32 space.
Diffstat (limited to 'configs/linux-dri-x86-64')
0 files changed, 0 insertions, 0 deletions