All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v8
@ 2017-07-20  7:36 Huang Rui
       [not found] ` <1500536173-19621-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Huang Rui @ 2017-07-20  7:36 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Huang Rui

Signed-off-by: Huang Rui <ray.huang@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 181eba5..b58d98d 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -750,7 +750,7 @@ static void gfx_v8_0_init_golden_registers(struct amdgpu_device *adev)
 
 static void gfx_v8_0_scratch_init(struct amdgpu_device *adev)
 {
-	adev->gfx.scratch.num_reg = 7;
+	adev->gfx.scratch.num_reg = 8;
 	adev->gfx.scratch.reg_base = mmSCRATCH_REG0;
 	adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1;
 }
-- 
2.7.4

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-20 11:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20  7:36 [PATCH 1/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v8 Huang Rui
     [not found] ` <1500536173-19621-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
2017-07-20  7:36   ` [PATCH 2/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v7 Huang Rui
2017-07-20  7:36   ` [PATCH 3/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v6 Huang Rui
     [not found]     ` <1500536173-19621-3-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
2017-07-20 11:26       ` Deucher, Alexander
2017-07-20  7:40   ` [PATCH 1/3] drm/amdgpu: fix the incorrect scratch reg number on gfx v8 Zhang, Jerry (Junwei)

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.