<dec f='src/src/sys/external/bsd/drm2/dist/drm/radeon/radeon.h' l='2870' type='void radeon_vram_location(struct radeon_device * rdev, struct radeon_mc * mc, u64 base)'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/r100.c' l='2851' u='c' c='r100_mc_init'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/r300.c' l='483' u='c' c='r300_mc_init'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/r520.c' l='127' u='c' c='r520_mc_init'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/r600.c' l='1282' u='c' c='r600_vram_gtt_location'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c' l='509' ll='531' type='void radeon_vram_location(struct radeon_device * rdev, struct radeon_mc * mc, u64 base)'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c' l='468'>/**
 * radeon_vram_location - try to find VRAM location
 * @rdev: radeon device structure holding all necessary informations
 * @mc: memory controller structure holding memory informations
 * @base: base address at which to put VRAM
 *
 * Function will place try to place VRAM at base address provided
 * as parameter (which is so far either PCI aperture address or
 * for IGP TOM base address).
 *
 * If there is not enough space to fit the unvisible VRAM in the 32bits
 * address space then we limit the VRAM size to the aperture.
 *
 * If we are using AGP and if the AGP aperture doesn&apos;t allow us to have
 * room for all the VRAM than we restrict the VRAM to the PCI aperture
 * size and print a warning.
 *
 * This function will never fails, worst case are limiting VRAM.
 *
 * Note: GTT start, end, size should be initialized before calling this
 * function on AGP platform.
 *
 * Note: We don&apos;t explicitly enforce VRAM start to be aligned on VRAM size,
 * this shouldn&apos;t be a problem as we are using the PCI aperture as a reference.
 * Otherwise this would be needed for rv280, all r3xx, and all r4xx, but
 * not IGP.
 *
 * Note: we use mc_vram_size as on some board we need to program the mc to
 * cover the whole aperture even if VRAM size is inferior to aperture size
 * Novell bug 204882 + along with lots of ubuntu ones
 *
 * Note: when limiting vram it&apos;s safe to overwritte real_vram_size because
 * we are not in case where real_vram_size is inferior to mc_vram_size (ie
 * note afected by bogus hw of Novell bug 204882 + along with lots of ubuntu
 * ones)
 *
 * Note: IGP TOM addr should be the same as the aperture addr, we don&apos;t
 * explicitly check for that thought.
 *
 * FIXME: when reducing VRAM size align new size on power of 2.
 */</doc>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/rs400.c' l='269' u='c' c='rs400_mc_init'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/rs600.c' l='910' u='c' c='rs600_mc_init'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/rs690.c' l='197' u='c' c='rs690_mc_init'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/rv515.c' l='203' u='c' c='rv515_mc_init'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/rv770.c' l='1632' u='c' c='r700_vram_gtt_location'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/radeon/si.c' l='3967' u='c' c='si_vram_gtt_location'/>
