From: "Zhang, Jerry (Junwei)" <Jerry.Zhang-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] drm/amdgpu/gfx9: move define to header file
Date: Fri, 5 May 2017 11:34:18 +0800 [thread overview]
Message-ID: <590BF2BA.3000302@amd.com> (raw)
In-Reply-To: <1493908399-22631-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
On 05/04/2017 10:33 PM, Alex Deucher wrote:
> rather than defining it locally.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 --
> drivers/gpu/drm/amd/amdgpu/soc15d.h | 1 +
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index d364536..b246d22 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -2977,8 +2977,6 @@ static void gfx_v9_0_ring_emit_ib_gfx(struct amdgpu_ring *ring,
> amdgpu_ring_write(ring, control);
> }
>
> -#define INDIRECT_BUFFER_VALID (1 << 23)
> -
> static void gfx_v9_0_ring_emit_ib_compute(struct amdgpu_ring *ring,
> struct amdgpu_ib *ib,
> unsigned vm_id, bool ctx_switch)
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15d.h b/drivers/gpu/drm/amd/amdgpu/soc15d.h
> index 9e1b9e9..e46e249 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15d.h
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15d.h
> @@ -132,6 +132,7 @@
> * 1 - pfp
> */
> #define PACKET3_INDIRECT_BUFFER 0x3F
> +#define INDIRECT_BUFFER_VALID (1 << 23)
> #define INDIRECT_BUFFER_CACHE_POLICY(x) ((x) << 28)
> /* 0 - LRU
> * 1 - Stream
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2017-05-05 3:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-04 14:33 [PATCH] drm/amdgpu/gfx9: move define to header file Alex Deucher
[not found] ` <1493908399-22631-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-05-05 3:34 ` Zhang, Jerry (Junwei) [this message]
[not found] ` <590BF2BA.3000302-5C7GfCeVMHo@public.gmane.org>
2017-05-05 9:14 ` 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=590BF2BA.3000302@amd.com \
--to=jerry.zhang-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.