All of lore.kernel.org
 help / color / mirror / Atom feed
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: fix swapped emit_ib_size in vce3
Date: Fri, 29 Jun 2018 09:26:05 +0800	[thread overview]
Message-ID: <5B358AAD.2040208@amd.com> (raw)
In-Reply-To: <20180628183804.9846-2-alexander.deucher-5C7GfCeVMHo@public.gmane.org>

On 06/29/2018 02:37 AM, Alex Deucher wrote:
> The phys and vm versions had the values swapped.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Nice catch.
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
> index 23927cdfbc23..99604d0262ad 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
> @@ -900,7 +900,7 @@ static const struct amdgpu_ring_funcs vce_v3_0_ring_phys_funcs = {
>   	.emit_frame_size =
>   		4 + /* vce_v3_0_emit_pipeline_sync */
>   		6, /* amdgpu_vce_ring_emit_fence x1 no user fence */
> -	.emit_ib_size = 5, /* vce_v3_0_ring_emit_ib */
> +	.emit_ib_size = 4, /* amdgpu_vce_ring_emit_ib */
>   	.emit_ib = amdgpu_vce_ring_emit_ib,
>   	.emit_fence = amdgpu_vce_ring_emit_fence,
>   	.test_ring = amdgpu_vce_ring_test_ring,
> @@ -924,7 +924,7 @@ static const struct amdgpu_ring_funcs vce_v3_0_ring_vm_funcs = {
>   		6 + /* vce_v3_0_emit_vm_flush */
>   		4 + /* vce_v3_0_emit_pipeline_sync */
>   		6 + 6, /* amdgpu_vce_ring_emit_fence x2 vm fence */
> -	.emit_ib_size = 4, /* amdgpu_vce_ring_emit_ib */
> +	.emit_ib_size = 5, /* vce_v3_0_ring_emit_ib */
>   	.emit_ib = vce_v3_0_ring_emit_ib,
>   	.emit_vm_flush = vce_v3_0_emit_vm_flush,
>   	.emit_pipeline_sync = vce_v3_0_emit_pipeline_sync,
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2018-06-29  1:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 18:37 [PATCH] drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet Alex Deucher
     [not found] ` <20180628183804.9846-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-06-28 18:37   ` [PATCH] drm/amdgpu: fix swapped emit_ib_size in vce3 Alex Deucher
     [not found]     ` <20180628183804.9846-2-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-06-29  1:26       ` Zhang, Jerry (Junwei) [this message]
2018-06-28 18:38   ` [PATCH] drm/amdgpu/pm: fix display count in non-DC path Alex Deucher
     [not found]     ` <20180628183804.9846-3-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-06-29  0:22       ` Zhu, Rex
2018-06-28 18:38   ` [PATCH] drm/amdgpu/pp: add missing byte swapping in process_pptables_v1_0.c Alex Deucher
     [not found]     ` <20180628183804.9846-4-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-06-29  0:22       ` Zhu, Rex
2018-06-28 18:38   ` [PATCH] drm/amdgpu/pp: fix endian swapping in atomctrl_get_voltage_range Alex Deucher
     [not found]     ` <20180628183804.9846-5-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-06-29  0:21       ` Zhu, Rex
2018-06-28 18:38   ` [PATCH] drm/amdgpu/pp: fix copy paste typo in smu7_init_dpm_defaults Alex Deucher
     [not found]     ` <20180628183804.9846-6-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-06-29  0:21       ` Zhu, Rex
2018-06-28 18:38   ` [PATCH] drm/amdgpu/pp: fix copy paste typo in smu7_get_pp_table_entry_callback_func_v1 Alex Deucher
     [not found]     ` <20180628183804.9846-7-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-06-29  0:21       ` Zhu, Rex
2018-06-29 14:57   ` [PATCH] drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet Alex Deucher
     [not found]     ` <CADnq5_PcCJ8cc0OSu5ghb+iiWUXOJp_fjJS9mSrvoPZs2Krkmg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-06-29 21:21       ` Leo Liu

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=5B358AAD.2040208@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.