TRUE and FALSE don't seem to be defined everywhere...
parent
33d57137da
commit
3165128fc4
|
@ -655,10 +655,10 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( tmp < dev_priv->usec_timeout ) {
|
if ( tmp < dev_priv->usec_timeout ) {
|
||||||
dev_priv->writeback_works = TRUE;
|
dev_priv->writeback_works = 1;
|
||||||
DRM_DEBUG( "writeback test succeeded, tmp=%d\n", tmp );
|
DRM_DEBUG( "writeback test succeeded, tmp=%d\n", tmp );
|
||||||
} else {
|
} else {
|
||||||
dev_priv->writeback_works = FALSE;
|
dev_priv->writeback_works = 0;
|
||||||
DRM_DEBUG( "writeback test failed\n" );
|
DRM_DEBUG( "writeback test failed\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -655,10 +655,10 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( tmp < dev_priv->usec_timeout ) {
|
if ( tmp < dev_priv->usec_timeout ) {
|
||||||
dev_priv->writeback_works = TRUE;
|
dev_priv->writeback_works = 1;
|
||||||
DRM_DEBUG( "writeback test succeeded, tmp=%d\n", tmp );
|
DRM_DEBUG( "writeback test succeeded, tmp=%d\n", tmp );
|
||||||
} else {
|
} else {
|
||||||
dev_priv->writeback_works = FALSE;
|
dev_priv->writeback_works = 0;
|
||||||
DRM_DEBUG( "writeback test failed\n" );
|
DRM_DEBUG( "writeback test failed\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue