mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-28 21:30:16 +01:00
Fixed off-by-one error in savage_bci_wait_fifo_shadow.
This commit is contained in:
parent
fb6a4d0a7d
commit
e7ba83bd6f
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ savage_bci_wait_fifo_shadow(drm_savage_private_t *dev_priv, unsigned int n)
|
|||
|
||||
for (i = 0; i < SAVAGE_DEFAULT_USEC_TIMEOUT; i++) {
|
||||
status = dev_priv->status_ptr[0];
|
||||
if ((status & mask) <= threshold)
|
||||
if ((status & mask) < threshold)
|
||||
return 0;
|
||||
DRM_UDELAY(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue