> -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
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
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