agp: use true/false instead of TRUE/FALSE

main
Dave Airlie 2008-06-22 18:25:22 +10:00
parent 207f701e1a
commit 11f2a2ed6f
1 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@ static int drm_agp_bind_ttm(struct drm_ttm_backend *backend,
int snooped = (bo_mem->flags & DRM_BO_FLAG_CACHED) && !(bo_mem->flags & DRM_BO_FLAG_CACHED_MAPPED); int snooped = (bo_mem->flags & DRM_BO_FLAG_CACHED) && !(bo_mem->flags & DRM_BO_FLAG_CACHED_MAPPED);
DRM_DEBUG("drm_agp_bind_ttm\n"); DRM_DEBUG("drm_agp_bind_ttm\n");
mem->is_flushed = TRUE; mem->is_flushed = true;
mem->type = AGP_USER_MEMORY; mem->type = AGP_USER_MEMORY;
/* CACHED MAPPED implies not snooped memory */ /* CACHED MAPPED implies not snooped memory */
if (snooped) if (snooped)
@ -653,7 +653,7 @@ struct drm_ttm_backend *drm_agp_init_ttm(struct drm_device *dev)
agp_be->mem = NULL; agp_be->mem = NULL;
agp_be->bridge = dev->agp->bridge; agp_be->bridge = dev->agp->bridge;
agp_be->populated = FALSE; agp_be->populated = false;
agp_be->backend.func = &agp_ttm_backend; agp_be->backend.func = &agp_ttm_backend;
agp_be->backend.dev = dev; agp_be->backend.dev = dev;