AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Bhardwaj, Rajneesh" <rajneesh.bhardwaj@amd.com>
To: Alex Deucher <alexander.deucher@amd.com>, amd-gfx@lists.freedesktop.org
Cc: luben.tuikov@amd.com, Peter Maucher <bellosilicio@gmail.com>
Subject: Re: [PATCH 1/2] drm/amdgpu: add GART, GPUVM, and GTT to glossary
Date: Fri, 2 Dec 2022 11:43:10 -0500	[thread overview]
Message-ID: <84dac73b-5b6b-6f7b-9dba-c7352caef5bb@amd.com> (raw)
In-Reply-To: <20221201214153.8453-1-alexander.deucher@amd.com>

Both patches are:

Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>

On 12/1/2022 4:41 PM, Alex Deucher wrote:
> Add definitions to clarify GPU virtual memory.
>
> v2: clarify the terms a bit more
>
> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
> Suggested-by: Peter Maucher <bellosilicio@gmail.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
>   Documentation/gpu/amdgpu/amdgpu-glossary.rst | 23 ++++++++++++++++++++
>   1 file changed, 23 insertions(+)
>
> diff --git a/Documentation/gpu/amdgpu/amdgpu-glossary.rst b/Documentation/gpu/amdgpu/amdgpu-glossary.rst
> index 326896e9800d..00a47ebb0b0f 100644
> --- a/Documentation/gpu/amdgpu/amdgpu-glossary.rst
> +++ b/Documentation/gpu/amdgpu/amdgpu-glossary.rst
> @@ -30,12 +30,35 @@ we have a dedicated glossary for Display Core at
>       EOP
>         End Of Pipe/Pipeline
>   
> +    GART
> +      Graphics Address Remapping Table.  This is the name we use for the GPUVM
> +      page table used by the GPU kernel driver.  It remaps system resources
> +      (memory or MMIO space) into the GPU's address space so the GPU can access
> +      them.  The name GART harkens back to the days of AGP when the platform
> +      provided an MMU that the GPU could use to get a contiguous view of
> +      scattered pages for DMA.  The MMU has since moved on to the GPU, but the
> +      name stuck.
> +
>       GC
>         Graphics and Compute
>   
>       GMC
>         Graphic Memory Controller
>   
> +    GPUVM
> +      GPU Virtual Memory.  This is the GPU's MMU.  The GPU supports multiple
> +      virtual address spaces that can be in flight at any given time.  These
> +      allow the GPU to remap VRAM and system resources into GPU virtual address
> +      spaces for use by the GPU kernel driver and applications using the GPU.
> +      These provide memory protection for different applications using the GPU.
> +
> +    GTT
> +      Graphics Translation Tables.  This is a memory pool managed through TTM
> +      which provides access to system resources (memory or MMIO space) for
> +      use by the GPU. These addresses can be mapped into the "GART" GPUVM page
> +      table for use by the kernel driver or into per process GPUVM page tables
> +      for application usage.
> +
>       IH
>         Interrupt Handler
>   

      parent reply	other threads:[~2022-12-02 16:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01 21:41 [PATCH 1/2] drm/amdgpu: add GART, GPUVM, and GTT to glossary Alex Deucher
2022-12-01 21:41 ` [PATCH 2/2] drm/amdgpu: expand on GPUVM documentation Alex Deucher
2022-12-01 23:04   ` Luben Tuikov
2022-12-02 12:00 ` [PATCH 1/2] drm/amdgpu: add GART, GPUVM, and GTT to glossary Christian König
2022-12-02 16:43 ` Bhardwaj, Rajneesh [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=84dac73b-5b6b-6f7b-9dba-c7352caef5bb@amd.com \
    --to=rajneesh.bhardwaj@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=bellosilicio@gmail.com \
    --cc=luben.tuikov@amd.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox