From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: Regarding report amount of usable graphics memory Date: Wed, 27 Nov 2013 09:06:42 +0100 Message-ID: <5295A812.8020805@intel.com> References: <65796F1B29BD054D806D4A5CE6F71FF85A4DAFBD@ORSMSX106.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1084372339==" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id B853BFADCF for ; Wed, 27 Nov 2013 00:06:45 -0800 (PST) In-Reply-To: <65796F1B29BD054D806D4A5CE6F71FF85A4DAFBD@ORSMSX106.amr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: "Zhang, Jianhong" , "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org This is a multi-part message in MIME format. --===============1084372339== Content-Type: multipart/alternative; boundary="------------080102070700010802020704" This is a multi-part message in MIME format. --------------080102070700010802020704 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable 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 =3D 2048M > > 2. Based on the implementation below, it shouldn't matter = > with TOLUD size. > > DRM_INFO("Memory Usable by graphics device =3D %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 > Intel Semiconductor AG Registered No. 020.30.913.786-7 Registered Office: World Trade Center, Leutschenbachstrasse 95, 8050 Zurich= , Switzerland This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). Any review or distribution by others = is strictly prohibited. If you are not the intended recipient, please conta= ct the sender and delete all copies. --------------080102070700010802020704 MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
On 27/11/2013 06:41, Zhang, Jianhong wrote:

Hi Daniel,

 

1. &nbs= p;     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 =3D 2048M

 

  &n= bsp;    2.   Based on the implementation below, it shouldn't mat= ter with TOLUD size.

  &n= bsp;          DRM_INFO("M= emory Usable by graphics device =3D %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 chan= ge 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,<= o:p>

Jianhong<= /o:p>

 


Intel Semiconductor AG
Registered No. 020.30.913.786-7
Registered Office: World Trade Center, Leutschenbachstrasse 95, 8050 Zurich= , Switzerland

This e-mail and any attachments may contain confidential material for th= e sole use of the intended recipient(s). Any review or distribution by othe= rs is strictly prohibited. If you are not the intended recipient, please co= ntact the sender and delete all copies.

--------------080102070700010802020704-- --===============1084372339== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1084372339==--