[Intel-gfx] Regarding report amount of usable graphics memory

Zhang, Jianhong jianhong.zhang at intel.com
Wed Nov 27 19:03:16 CET 2013


Hi Daniel,

I'm working on a sighting that filed by PCCG. It complains that "Memory usable by graphics device = 2048M" even TOLUD is 1.5GB.
>From the formula, looks like it shouldn't affected by TOLUD size, but I need the confirmation to resolve the sighting as expected.

Best regards,
Jianhong

From: Vetter, Daniel
Sent: Wednesday, November 27, 2013 12:07 AM
To: Zhang, Jianhong; intel-gfx at lists.freedesktop.org
Subject: Re: Regarding report amount of usable graphics memory

On 27/11/2013 06:41, Zhang, Jianhong wrote:
Hi Daniel,


1.       On Harris Beach, we always see this report as below even we set different TOLUD size, such as1GB, 1.5GB, 2GB and 3GB :

[drm] Memory usable by graphics device = 2048M

       2.   Based on the implementation below, it shouldn't matter with TOLUD size.
             DRM_INFO("Memory Usable by graphics device = %dM\n", dev_priv->mm.gtt->gtt_total_entries >> 8);

Please confirm if this is the case:
If RAM is 4GB, it will report 2048M as the usable memory by graphics device.
This is the max size that graphics could use,  and it shouldn't change based on TOLUD size.

Yeah. But the real question is what do you need this for exactly? Also, cc'ing relevant internal mailing lists.
-Daniel


Best regards,
Jianhong


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20131127/836316c0/attachment.html>


More information about the Intel-gfx mailing list