/* Determine gfx aperature size. This has already been determined by the CA driver init, so just need to set agp_bridge values accordingly.  */
static int sgi_tioca_fetch_size(void)
/* Determine gfx aperature size. This has already been determined by the CA driver init, so just need to set agp_bridge values accordingly.  */
static int sgi_tioca_fetch_size(void)
{
	struct tioca_kernel *info =
	    (struct tioca_kernel *)agp_bridge->dev_private_data;
	sgi_tioca_sizes[0].size = info->ca_gfxap_size / MB(1);
	sgi_tioca_sizes[0].num_entries = info->ca_gfxgart_entries;
	return sgi_tioca_sizes[0].size;
}