projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae4d71e
)
drm/amdgpu: fix the incorrect scratch reg number on gfx v6
author
Huang Rui
<ray.huang@amd.com>
Thu, 20 Jul 2017 07:32:31 +0000
(15:32 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 25 Jul 2017 20:37:00 +0000
(16:37 -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_v6_0.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
index 5173ca1fd159d19971ace8cf87bafb8749a75bbf..4ac85f47f28728b501b3dffa7cc88ad007d93cb2 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
@@
-1573,7
+1573,7
@@
static void gfx_v6_0_gpu_init(struct amdgpu_device *adev)
static void gfx_v6_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;
}