From: "Zhang, Jerry (Junwei)" <Jerry.Zhang-5C7GfCeVMHo@public.gmane.org>
To: Chunming Zhou <David1.Zhou-5C7GfCeVMHo@public.gmane.org>,
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH] drm/amdgpu: one pde of 4 levels at least 512GB
Date: Tue, 28 Mar 2017 13:43:57 +0800 [thread overview]
Message-ID: <58D9F81D.8000208@amd.com> (raw)
In-Reply-To: <1490672801-7319-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
On 03/28/2017 11:46 AM, Chunming Zhou wrote:
> Change-Id: I9d764e6e6cf214e64bd79435a8bbb4063260dc11
> Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
For the minimum size, PD is 0
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index c29a477..b7ec537 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -500,11 +500,11 @@ static int gmc_v9_0_vm_init(struct amdgpu_device *adev)
> * amdkfd will use VMIDs 8-15
> */
> adev->vm_manager.num_ids = AMDGPU_NUM_OF_VMIDS;
> - /* Because of four level VMPTs, vm size at least is 256GB.
> + /* Because of four level VMPTs, vm size at least is 512GB.
> 256TB is OK as well */
> - if (amdgpu_vm_size < 256) {
> - DRM_WARN("vm size at least is 256GB!\n");
> - amdgpu_vm_size = 256;
> + if (amdgpu_vm_size < 512) {
> + DRM_WARN("vm size at least is 512GB!\n");
> + amdgpu_vm_size = 512;
> }
> adev->vm_manager.num_level = 3;
> amdgpu_vm_manager_init(adev);
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
prev parent reply other threads:[~2017-03-28 5:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-28 3:46 [PATCH] drm/amdgpu: one pde of 4 levels at least 512GB Chunming Zhou
[not found] ` <1490672801-7319-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
2017-03-28 5:43 ` Zhang, Jerry (Junwei) [this message]
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=58D9F81D.8000208@amd.com \
--to=jerry.zhang-5c7gfcevmho@public.gmane.org \
--cc=David1.Zhou-5C7GfCeVMHo@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@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.