projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a41f98
)
drm/amdgpu: fix the incorrect scratch reg number on gfx v7
author
Huang Rui
<ray.huang@amd.com>
Thu, 20 Jul 2017 07:31:21 +0000
(15:31 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 25 Jul 2017 20:36:53 +0000
(16:36 -0400)
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index 37b45e4403d175229855c167218ceeeaa627180b..17b7c6934b0a389e1955c292cec66e5939d8ca08 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@
-2021,7
+2021,7
@@
static void gfx_v7_0_gpu_init(struct amdgpu_device *adev)
*/
static void gfx_v7_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;
}