[Intel-gfx] Shared memory management

Yegor Yefremov yegorslists at googlemail.com
Fri Jan 6 09:30:13 CET 2012


I need to know how to allocate 1Gb video memory. My system:

CPU: Intel Core i5-520M
Chipset: Intel QM57
OS: Ubuntu 11.10 64-bit
Kernel: Linux user-desktop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7
14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

almost the same question was asked here:
http://lists.freedesktop.org/archives/intel-gfx/2011-February/009476.html.
But it is not answered. I've googled for this info and found some
threads, but still no valuable information on how Video RAM setting
can be changed from user space:

http://superuser.com/questions/371335/intel-vga-shared-memory
http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/

etc.

As far as I can see there is no such info as (==) intel(0): VideoRam:
262144 KB in xorg.log. The only info I have is lspci output:

00:02.0 VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 18) (prog-if 00 [VGA controller])
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f160 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915

According to this thread
http://forums.pcpitstop.com/index.php?/topic/139320-setting-intel-shared-video-memory-on-laptop-suse-102/,
DVMT 2.0 allocates video ram as needed. But how can I see current
video memory usage? Customer application relies on having 1Gb video
RAM.

Thank you in advance.

Regards,
Yegor



More information about the Intel-gfx mailing list