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==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhang, Jianhong" Subject: Re: Regarding report amount of usable graphics memory Date: Wed, 27 Nov 2013 18:03:16 +0000 Message-ID: <65796F1B29BD054D806D4A5CE6F71FF85A4DB174@ORSMSX106.amr.corp.intel.com> References: <65796F1B29BD054D806D4A5CE6F71FF85A4DAFBD@ORSMSX106.amr.corp.intel.com> <5295A812.8020805@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0947532872==" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 294FAF9F8C for ; Wed, 27 Nov 2013 10:04:51 -0800 (PST) In-Reply-To: <5295A812.8020805@intel.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "Vetter, Daniel" , "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org --===============0947532872== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_65796F1B29BD054D806D4A5CE6F71FF85A4DB174ORSMSX106amrcor_" --_000_65796F1B29BD054D806D4A5CE6F71FF85A4DB174ORSMSX106amrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Daniel, I'm working on a sighting that filed by PCCG. It complains that "Memory usa= ble by graphics device =3D 2048M" even TOLUD is 1.5GB. >>From the formula, looks like it shouldn't affected by TOLUD size, but I nee= d 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@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 di= fferent 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 TOL= UD size. DRM_INFO("Memory Usable by graphics device =3D %dM\n", dev_pri= v->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 base= d 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 --_000_65796F1B29BD054D806D4A5CE6F71FF85A4DB174ORSMSX106amrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Daniel,

 =

I’m working on a s= ighting that filed by PCCG. It complains that “Memory usable by graphics device =3D 2048M” even TOLUD i= s 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@lists.freedesktop.org
Subject: Re: Regarding report amount of usable graphics memory<= /o:p>

 

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

Hi Daniel,=

 

1.     &= nbsp; On Harris Beach, we a= lways see this report as below even we set different TOLUD size, such as1GB= , 1.5GB, 2GB and 3GB :

[drm] Memory us= able by graphics device =3D 2048M

 

   &nbs= p;   2.   Based on the implementation below, it shouldn= 't matter with TOLUD size.

   &nbs= p;         DRM_INFO("Memo= ry Usable by graphics device =3D %dM\n", dev_priv->mm.gtt->gtt_t= otal_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 t= hat 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

 

 

--_000_65796F1B29BD054D806D4A5CE6F71FF85A4DB174ORSMSX106amrcor_-- --===============0947532872== 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 --===============0947532872==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: Regarding report amount of usable graphics memory Date: Wed, 27 Nov 2013 18:12:28 +0000 Message-ID: <20131127181228.GC6087@nuc-i3427.alporthouse.com> References: <65796F1B29BD054D806D4A5CE6F71FF85A4DAFBD@ORSMSX106.amr.corp.intel.com> <5295A812.8020805@intel.com> <65796F1B29BD054D806D4A5CE6F71FF85A4DB174@ORSMSX106.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id B0415FA16C for ; Wed, 27 Nov 2013 10:12:32 -0800 (PST) Content-Disposition: inline In-Reply-To: <65796F1B29BD054D806D4A5CE6F71FF85A4DB174@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" Cc: "Vetter, Daniel" , "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org T24gV2VkLCBOb3YgMjcsIDIwMTMgYXQgMDY6MDM6MTZQTSArMDAwMCwgWmhhbmcsIEppYW5ob25n IHdyb3RlOgo+ICAgIEhpIERhbmllbCwKPiAKPiAgICDCoAo+IAo+ICAgIEnigJltIHdvcmtpbmcg b24gYSBzaWdodGluZyB0aGF0IGZpbGVkIGJ5IFBDQ0cuIEl0IGNvbXBsYWlucyB0aGF0IOKAnE1l bW9yeQo+ICAgIHVzYWJsZSBieSBncmFwaGljcyBkZXZpY2UgPSAyMDQ4TeKAnSBldmVuIFRPTFVE IGlzIDEuNUdCLgo+IAo+ICAgIEZyb20gdGhlIGZvcm11bGEsIGxvb2tzIGxpa2UgaXQgc2hvdWxk buKAmXQgYWZmZWN0ZWQgYnkgVE9MVUQgc2l6ZSwgYnV0IEkKPiAgICBuZWVkIHRoZSBjb25maXJt YXRpb24gdG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