From: "Christian König" <ckoenig.leichtzumerken-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Russell, Kent" <Kent.Russell-5C7GfCeVMHo@public.gmane.org>,
"amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH 1/2] drm/amdgpu: Fix CIK references in gmc_v8
Date: Thu, 2 May 2019 15:11:52 +0200 [thread overview]
Message-ID: <39d18927-0369-ee65-dd0e-186b60e803aa@gmail.com> (raw)
In-Reply-To: <20190501123118.10937-1-kent.russell-5C7GfCeVMHo@public.gmane.org>
Am 01.05.19 um 14:31 schrieb Russell, Kent:
> gmc_v8 is for VI, not CIK, so fix those references
>
> Change-Id: Ifa46212fbeadbec7e73ba28d02e97339ffcfb5d1
> Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
> index 2880a145450a..6769989906bf 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
> @@ -289,7 +289,7 @@ static int gmc_v8_0_init_microcode(struct amdgpu_device *adev)
> *
> * @adev: amdgpu_device pointer
> *
> - * Load the GDDR MC ucode into the hw (CIK).
> + * Load the GDDR MC ucode into the hw (VI).
> * Returns 0 on success, error on failure.
> */
> static int gmc_v8_0_tonga_mc_load_microcode(struct amdgpu_device *adev)
> @@ -443,7 +443,7 @@ static void gmc_v8_0_vram_gtt_location(struct amdgpu_device *adev,
> * @adev: amdgpu_device pointer
> *
> * Set the location of vram, gart, and AGP in the GPU's
> - * physical address space (CIK).
> + * physical address space (VI).
> */
> static void gmc_v8_0_mc_program(struct amdgpu_device *adev)
> {
> @@ -515,7 +515,7 @@ static void gmc_v8_0_mc_program(struct amdgpu_device *adev)
> * @adev: amdgpu_device pointer
> *
> * Look up the amount of vram, vram width, and decide how to place
> - * vram and gart within the GPU's physical address space (CIK).
> + * vram and gart within the GPU's physical address space (VI).
> * Returns 0 for success.
> */
> static int gmc_v8_0_mc_init(struct amdgpu_device *adev)
> @@ -630,7 +630,7 @@ static int gmc_v8_0_mc_init(struct amdgpu_device *adev)
> * @adev: amdgpu_device pointer
> * @vmid: vm instance to flush
> *
> - * Flush the TLB for the requested page table (CIK).
> + * Flush the TLB for the requested page table (VI).
> */
> static void gmc_v8_0_flush_gpu_tlb(struct amdgpu_device *adev,
> uint32_t vmid, uint32_t flush_type)
> @@ -800,7 +800,7 @@ static void gmc_v8_0_set_prt(struct amdgpu_device *adev, bool enable)
> * This sets up the TLBs, programs the page tables for VMID0,
> * sets up the hw for VMIDs 1-15 which are allocated on
> * demand, and sets up the global locations for the LDS, GDS,
> - * and GPUVM for FSA64 clients (CIK).
> + * and GPUVM for FSA64 clients (VI).
> * Returns 0 for success, errors for failure.
> */
> static int gmc_v8_0_gart_enable(struct amdgpu_device *adev)
> @@ -948,7 +948,7 @@ static int gmc_v8_0_gart_init(struct amdgpu_device *adev)
> *
> * @adev: amdgpu_device pointer
> *
> - * This disables all VM page table (CIK).
> + * This disables all VM page table (VI).
> */
> static void gmc_v8_0_gart_disable(struct amdgpu_device *adev)
> {
> @@ -978,7 +978,7 @@ static void gmc_v8_0_gart_disable(struct amdgpu_device *adev)
> * @status: VM_CONTEXT1_PROTECTION_FAULT_STATUS register value
> * @addr: VM_CONTEXT1_PROTECTION_FAULT_ADDR register value
> *
> - * Print human readable fault information (CIK).
> + * Print human readable fault information (VI).
> */
> static void gmc_v8_0_vm_decode_fault(struct amdgpu_device *adev, u32 status,
> u32 addr, u32 mc_client, unsigned pasid)
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
prev parent reply other threads:[~2019-05-02 13:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-01 12:31 [PATCH 1/2] drm/amdgpu: Fix CIK references in gmc_v8 Russell, Kent
[not found] ` <20190501123118.10937-1-kent.russell-5C7GfCeVMHo@public.gmane.org>
2019-05-01 12:31 ` [PATCH 2/2] drm/amdkfd: Cosmetic cleanup Russell, Kent
[not found] ` <20190501123118.10937-2-kent.russell-5C7GfCeVMHo@public.gmane.org>
2019-05-01 15:54 ` Kuehling, Felix
2019-05-02 13:11 ` Christian König [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=39d18927-0369-ee65-dd0e-186b60e803aa@gmail.com \
--to=ckoenig.leichtzumerken-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=Kent.Russell-5C7GfCeVMHo@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=christian.koenig-5C7GfCeVMHo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox