diff options
author | Jesse Barnes <[email protected]> | 2009-07-16 13:01:01 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-07-16 13:02:33 -0700 |
commit | 390c4dd448b1a5f04ea497c20f5ff664f8eeed01 (patch) | |
tree | a9a35b483382b65673843c661e058b8561e5f911 /net/lapb/lapb_iface.c | |
parent | dff33cfcefa31c30b72c57f44586754ea9e8f3e2 (diff) |
drm/i915: handle FIFO oversubsription correctly
If you're pushing a plane hard (i.e. you need most or all of the FIFO
entries just to cover your frame refresh latency), the watermark level
may end up being negative. So fix up the signed vs. unsigned math in
the calculation function to handle this correctly, giving all available
FIFO entries to such a configuration.
Reported-by: Eric Anholt <[email protected]>
Tested-by: Eric Anholt <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions