All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Huang, Ray" <Ray.Huang-5C7GfCeVMHo@public.gmane.org>
To: John Clements
	<clements.jm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: RE: [PATCH 1/1] Updated comment accuracy in PSP SOS/Sysdriver loading sequence to target bootloader instead of bootrom
Date: Tue, 16 Oct 2018 07:26:57 +0000	[thread overview]
Message-ID: <BY2PR12MB0040BACA38289B032BA3E019ECFE0@BY2PR12MB0040.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20181016012316.10874-1-clements.jm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of John Clements
> Sent: Tuesday, October 16, 2018 9:23 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: John Clements <clements.jm@gmail.com>
> Subject: [PATCH 1/1] Updated comment accuracy in PSP SOS/Sysdriver
> loading sequence to target bootloader instead of bootrom
> 
> From: John Clements <clements.jm@gmail.com>
> 

The commit message should not be empty, please add a line of words even like "refine the comments for PSP".

With that fixed, patch is Reviewed-by: Huang Rui <ray.huang@amd.com>

> Signed-off-by: John Clements <clements.jm@gmail.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 4 ++--
> drivers/gpu/drm/amd/amdgpu/psp_v3_1.c  | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> index b70cfa3fe1b2..3fe30eb46d26 100644
> --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> @@ -167,7 +167,7 @@ static int psp_v11_0_bootloader_load_sysdrv(struct
> psp_context *psp)
>  	/* Copy PSP System Driver binary to memory */
>  	memcpy(psp->fw_pri_buf, psp->sys_start_addr, psp->sys_bin_size);
> 
> -	/* Provide the sys driver to bootrom */
> +	/* Provide the sys driver to bootloader */
>  	WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36,
>  	       (uint32_t)(psp->fw_pri_mc_addr >> 20));
>  	psp_gfxdrv_command_reg = 1 << 16;
> @@ -208,7 +208,7 @@ static int psp_v11_0_bootloader_load_sos(struct
> psp_context *psp)
>  	/* Copy Secure OS binary to PSP memory */
>  	memcpy(psp->fw_pri_buf, psp->sos_start_addr, psp->sos_bin_size);
> 
> -	/* Provide the PSP secure OS to bootrom */
> +	/* Provide the PSP secure OS to bootloader */
>  	WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36,
>  	       (uint32_t)(psp->fw_pri_mc_addr >> 20));
>  	psp_gfxdrv_command_reg = 2 << 16;
> diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
> b/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
> index e1ebf770c303..9cea0bbe4525 100644
> --- a/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
> +++ b/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
> @@ -194,7 +194,7 @@ static int psp_v3_1_bootloader_load_sysdrv(struct
> psp_context *psp)
>  	/* Copy PSP System Driver binary to memory */
>  	memcpy(psp->fw_pri_buf, psp->sys_start_addr, psp->sys_bin_size);
> 
> -	/* Provide the sys driver to bootrom */
> +	/* Provide the sys driver to bootloader */
>  	WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36,
>  	       (uint32_t)(psp->fw_pri_mc_addr >> 20));
>  	psp_gfxdrv_command_reg = 1 << 16;
> @@ -254,7 +254,7 @@ static int psp_v3_1_bootloader_load_sos(struct
> psp_context *psp)
>  	/* Copy Secure OS binary to PSP memory */
>  	memcpy(psp->fw_pri_buf, psp->sos_start_addr, psp->sos_bin_size);
> 
> -	/* Provide the PSP secure OS to bootrom */
> +	/* Provide the PSP secure OS to bootloader */
>  	WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36,
>  	       (uint32_t)(psp->fw_pri_mc_addr >> 20));
>  	psp_gfxdrv_command_reg = 2 << 16;
> --
> 2.17.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

      parent reply	other threads:[~2018-10-16  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-16  1:23 [PATCH 1/1] Updated comment accuracy in PSP SOS/Sysdriver loading sequence to target bootloader instead of bootrom John Clements
     [not found] ` <20181016012316.10874-1-clements.jm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-10-16  7:26   ` Huang, Ray [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=BY2PR12MB0040BACA38289B032BA3E019ECFE0@BY2PR12MB0040.namprd12.prod.outlook.com \
    --to=ray.huang-5c7gfcevmho@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=clements.jm-Re5JQEeQqe8AvxtiuMwx3w@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.