All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: Alex Deucher
	<alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>
Subject: Re: [PATCH 2/2] drm/amdgpu/soc15: use atomfirmware for setting bios scratch for reset
Date: Tue, 9 May 2017 11:12:41 +0800	[thread overview]
Message-ID: <591133A9.8010306@amd.com> (raw)
In-Reply-To: <1493994447-20285-2-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>



On 2017年05月05日 22:27, Alex Deucher wrote:
> Need to use the atomfirmware interface rather than atombios since
> soc15 is atomfirmware based.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
The series is Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/soc15.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 79af896..b04f929 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -25,7 +25,7 @@
>   #include <linux/module.h>
>   #include "drmP.h"
>   #include "amdgpu.h"
> -#include "amdgpu_atombios.h"
> +#include "amdgpu_atomfirmware.h"
>   #include "amdgpu_ih.h"
>   #include "amdgpu_uvd.h"
>   #include "amdgpu_vce.h"
> @@ -392,11 +392,11 @@ static void soc15_gpu_pci_config_reset(struct amdgpu_device *adev)
>   
>   static int soc15_asic_reset(struct amdgpu_device *adev)
>   {
> -	amdgpu_atombios_scratch_regs_engine_hung(adev, true);
> +	amdgpu_atomfirmware_scratch_regs_engine_hung(adev, true);
>   
>   	soc15_gpu_pci_config_reset(adev);
>   
> -	amdgpu_atombios_scratch_regs_engine_hung(adev, false);
> +	amdgpu_atomfirmware_scratch_regs_engine_hung(adev, false);
>   
>   	return 0;
>   }

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-05-09  3:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-05 14:27 [PATCH 1/2] drm/amdgpu/atomfirmware: add function to update engine hang status Alex Deucher
     [not found] ` <1493994447-20285-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-05-05 14:27   ` [PATCH 2/2] drm/amdgpu/soc15: use atomfirmware for setting bios scratch for reset Alex Deucher
     [not found]     ` <1493994447-20285-2-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-05-09  3:12       ` zhoucm1 [this message]
2017-05-08 18:32   ` [PATCH 1/2] drm/amdgpu/atomfirmware: add function to update engine hang status Alex Deucher
     [not found]     ` <CADnq5_M4M47SvQdaC550Sc89Zu2oXRDXa2MjTEZuN4NsjqcXeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-08 20:43       ` Harry Wentland
     [not found]         ` <039ed304-e365-ba38-1501-4e81fee639d1-5C7GfCeVMHo@public.gmane.org>
2017-05-09  9:45           ` Christian König

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=591133A9.8010306@amd.com \
    --to=david1.zhou-5c7gfcevmho@public.gmane.org \
    --cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@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.