mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-06 02:40:20 +01:00
Fixed the DMA buffer age test. Should fix occasional "soft" lockups. Bumped
patch level and driver date.
This commit is contained in:
parent
04842e8bcf
commit
094f02c568
1 changed files with 4 additions and 4 deletions
|
|
@ -30,11 +30,11 @@
|
|||
|
||||
#define DRIVER_NAME "savage"
|
||||
#define DRIVER_DESC "Savage3D/MX/IX, Savage4, SuperSavage, Twister, ProSavage[DDR]"
|
||||
#define DRIVER_DATE "20050101"
|
||||
#define DRIVER_DATE "20050105"
|
||||
|
||||
#define DRIVER_MAJOR 2
|
||||
#define DRIVER_MINOR 0
|
||||
#define DRIVER_PATCHLEVEL 0
|
||||
#define DRIVER_PATCHLEVEL 1
|
||||
|
||||
typedef struct drm_savage_age {
|
||||
uint16_t event;
|
||||
|
|
@ -456,7 +456,7 @@ extern void savage_reclaim_buffers(drm_device_t *dev, DRMFILE filp);
|
|||
|
||||
#define TEST_AGE( age, e, w ) \
|
||||
( (age)->wrap+1 < (w) || \
|
||||
( (age)->wrap+1 == (w) && (e) < 0x7fff ) || \
|
||||
(age)->event < (uint16_t)(e) )
|
||||
( (age)->wrap+1 == (w) && (e) <= dev_priv->event_counter ) || \
|
||||
(age)->event <= (e) )
|
||||
|
||||
#endif /* __SAVAGE_DRV_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue