AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: Ken Wang <Qingqing.Wang-5C7GfCeVMHo@public.gmane.org>,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH] drm/amdgpu: enable gfx 9.0 cp interrupts
Date: Thu, 1 Jun 2017 12:37:25 +0800	[thread overview]
Message-ID: <592F9A05.2000606@amd.com> (raw)
In-Reply-To: <1496291208-15273-1-git-send-email-Qingqing.Wang-5C7GfCeVMHo@public.gmane.org>



On 2017年06月01日 12:26, Ken Wang wrote:
> Change-Id: If7dee7bd1074eac7faa6af724a7272f9ce6f3a98
> Signed-off-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index de35de2..68a0d40 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1393,9 +1393,6 @@ static void gfx_v9_0_enable_gui_idle_interrupt(struct amdgpu_device *adev,
>   {
>   	u32 tmp = RREG32_SOC15(GC, 0, mmCP_INT_CNTL_RING0);
>   
> -	if (enable)
> -		return;
> -
>   	tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_BUSY_INT_ENABLE, enable ? 1 : 0);
>   	tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_EMPTY_INT_ENABLE, enable ? 1 : 0);
>   	tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CMP_BUSY_INT_ENABLE, enable ? 1 : 0);

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

  parent reply	other threads:[~2017-06-01  4:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-01  4:26 [PATCH] drm/amdgpu: enable gfx 9.0 cp interrupts Ken Wang
     [not found] ` <1496291208-15273-1-git-send-email-Qingqing.Wang-5C7GfCeVMHo@public.gmane.org>
2017-06-01  4:37   ` zhoucm1 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-01  4:26 Ken Wang
     [not found] ` <1496291200-15226-1-git-send-email-Qingqing.Wang-5C7GfCeVMHo@public.gmane.org>
2017-06-01  5:38   ` Huang Rui
2017-06-01  3:10 Ken Wang
     [not found] ` <1496286613-14104-1-git-send-email-Qingqing.Wang-5C7GfCeVMHo@public.gmane.org>
2017-06-01 12:56   ` Alex Deucher
2017-06-01  3:06 Ken Wang
     [not found] ` <1496286413-14024-1-git-send-email-Qingqing.Wang-5C7GfCeVMHo@public.gmane.org>
2017-06-01  5:34   ` Zhang, Hawking

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=592F9A05.2000606@amd.com \
    --to=david1.zhou-5c7gfcevmho@public.gmane.org \
    --cc=Qingqing.Wang-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox