summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/radeon_cp.c4
-rw-r--r--shared/radeon_cp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
index b0d5b27ab..8250c09b5 100644
--- a/shared-core/radeon_cp.c
+++ b/shared-core/radeon_cp.c
@@ -655,10 +655,10 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
}
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 );
} else {
- dev_priv->writeback_works = FALSE;
+ dev_priv->writeback_works = 0;
DRM_DEBUG( "writeback test failed\n" );
}
diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c
index b0d5b27ab..8250c09b5 100644
--- a/shared/radeon_cp.c
+++ b/shared/radeon_cp.c
@@ -655,10 +655,10 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
}
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 );
} else {
- dev_priv->writeback_works = FALSE;
+ dev_priv->writeback_works = 0;
DRM_DEBUG( "writeback test failed\n" );
}