From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: "Christian König"
<deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>,
"Alex Deucher"
<alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: amd-gfx list <amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH 2/2] drm/amdgpu: increase gtt size to 3GB by default
Date: Fri, 21 Apr 2017 16:25:41 +0800 [thread overview]
Message-ID: <58F9C205.4010802@amd.com> (raw)
In-Reply-To: <c82c2217-8008-c449-7ad0-8c97d8cc6e39-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
On 2017年04月20日 20:58, Christian König wrote:
> Am 20.04.2017 um 14:43 schrieb Alex Deucher:
>> On Wed, Apr 19, 2017 at 11:47 PM, Chunming Zhou <David1.Zhou@amd.com>
>> wrote:
>>> Change-Id: Icdf2486a2d1116e71dc8958cda679a4a83838489
>>> Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
>>> ---
>>> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
>>> b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
>>> index d74a406..8f201a3 100644
>>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
>>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
>>> @@ -65,7 +65,7 @@
>>> #define KMS_DRIVER_PATCHLEVEL 0
>>>
>>> int amdgpu_vram_limit = 0;
>>> -int amdgpu_gart_size = -1; /* auto */
>>> +int amdgpu_gart_size = 3072; /* 3GB by default */
>> This breaks the auto setting. Please add a global define for gtt size
>> (e.g., AMDGPU_DEFAULT_GTT_SIZE_MB) and switch the gmc modules to use
>> that rather than the hardcoded 1024ULL.
>
> I think this change isn't necessary any more.
>
> Looks like I've found and fixed the root cause of the issue with
> "drm/amdgpu: fix amdgpu_ttm_bo_eviction_valuable".
>
> Please test that patch if your test case now works without any
> additional changes.
the result is same, since game needs more than 2GB memory totally.
Regards,
David Zhou
>
> Christian.
>
>>
>> Alex
>>
>>> int amdgpu_moverate = -1; /* auto */
>>> int amdgpu_benchmarking = 0;
>>> int amdgpu_testing = 0;
>>> --
>>> 1.9.1
>>>
>>> _______________________________________________
>>> amd-gfx mailing list
>>> amd-gfx@lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2017-04-21 8:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-20 3:47 [PATCH 1/2] drm/amdgpu: add gtt print like vram when dump mm table V2 Chunming Zhou
[not found] ` <1492660056-11346-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
2017-04-20 3:47 ` [PATCH 2/2] drm/amdgpu: increase gtt size to 3GB by default Chunming Zhou
[not found] ` <1492660056-11346-2-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
2017-04-20 12:43 ` Alex Deucher
[not found] ` <CADnq5_P+Cb8-LF0b=LwueCGfTsdBvczeTcMgB2W85Kv7s1G20w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-20 12:58 ` Christian König
[not found] ` <c82c2217-8008-c449-7ad0-8c97d8cc6e39-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-04-21 8:25 ` zhoucm1 [this message]
2017-04-20 12:54 ` [PATCH 1/2] drm/amdgpu: add gtt print like vram when dump mm table V2 Alex Deucher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58F9C205.4010802@amd.com \
--to=david1.zhou-5c7gfcevmho@public.gmane.org \
--cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.