On Fri, Jan 06, 2012 at 08:18:22AM -0800, Eric Anholt wrote: > On Fri, 6 Jan 2012 09:30:13 +0100, Yegor Yefremov > <[email protected]> wrote: > > I need to know how to allocate 1Gb video memory. My system: > > Applications can allocate arbitrary amounts of buffers that are > dynamically bound to the GPU. The limit of what can be bound at for a > single draw call is defined by the hardware, so there are no user > controls. The only information you get on that limit is: > > dmesg | grep agp: > [ 2.283526] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, > 262144K mappable > > so this system can map 2GB at once.
mount debugfs cat /sys/kernel/debug/dri/0/i915_gem_gtt Will show how much is being used.
pgpgOM4NRzANV.pgp
Description: PGP signature
_______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
