RE: [PATCH] drm/amdgpu: fix the incorrect scratch reg number on gfx v9

2017-07-19 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Wednesday, July 19, 2017 10:21 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray > Subject: [PATCH] drm/amdgpu: fix the incorrect scratch

Re: [PATCH] drm/amdgpu: fix the incorrect scratch reg number on gfx v9

2017-07-19 Thread Zhang, Jerry (Junwei)
On 07/20/2017 10:21 AM, Huang Rui wrote: There are 8 scratch registers on gfx v9 (scrach_reg0 -> scratch_reg7). Yeah, nice catch. Reviewed-by: Junwei Zhang Additionally it looks incorrect from gfx v6 till gfx9. Could you fix them all? Jerry Signed-off-by: Huang Rui --- drivers/gpu/drm

[PATCH] drm/amdgpu: fix the incorrect scratch reg number on gfx v9

2017-07-19 Thread Huang Rui
There are 8 scratch registers on gfx v9 (scrach_reg0 -> scratch_reg7). Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 48b43