From 1c0a437fa20e8c3fb971cd8947754a9b274bea76 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 30 Sep 2004 19:26:35 +0000 Subject: Move things around to reduce public symbols and even out files. Switch to get_order from drm_order. --- shared-core/r128_cce.c | 2 +- shared-core/radeon_cp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'shared-core') diff --git a/shared-core/r128_cce.c b/shared-core/r128_cce.c index 809e6c8c..172ea258 100644 --- a/shared-core/r128_cce.c +++ b/shared-core/r128_cce.c @@ -543,7 +543,7 @@ static int r128_do_init_cce( drm_device_t *dev, drm_r128_init_t *init ) dev_priv->ring.end = ((u32 *)dev_priv->cce_ring->handle + init->ring_size / sizeof(u32)); dev_priv->ring.size = init->ring_size; - dev_priv->ring.size_l2qw = drm_order( init->ring_size / 8 ); + dev_priv->ring.size_l2qw = get_order( init->ring_size / 8 ); dev_priv->ring.tail_mask = (dev_priv->ring.size / sizeof(u32)) - 1; diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c index 78c41b5d..98bc4c46 100644 --- a/shared-core/radeon_cp.c +++ b/shared-core/radeon_cp.c @@ -1215,7 +1215,7 @@ static int radeon_do_init_cp( drm_device_t *dev, drm_radeon_init_t *init ) dev_priv->ring.end = ((u32 *)dev_priv->cp_ring->handle + init->ring_size / sizeof(u32)); dev_priv->ring.size = init->ring_size; - dev_priv->ring.size_l2qw = drm_order( init->ring_size / 8 ); + dev_priv->ring.size_l2qw = get_order( init->ring_size / 8 ); dev_priv->ring.tail_mask = (dev_priv->ring.size / sizeof(u32)) - 1; -- cgit v1.2.3