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:
c206976
)
drm/amdgpu: increase max instance number for hw ip
author
Xiaojie Yuan
<xiaojie.yuan@amd.com>
Tue, 25 Dec 2018 06:44:23 +0000
(14:44 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:58 +0000
(14:17 -0500)
max instance number is 6 for navi10 and 7 for navi14, and we increase the
reg_offset array size to avoid out-of-bound access
Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 8199d201b43a477a8460f63452a5494ca403b554..ca82fef421e177b68751773de45848fff7a2cb32 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@
-731,7
+731,7
@@
enum amd_hw_ip_block_type {
MAX_HWIP
};
-#define HWIP_MAX_INSTANCE
6
+#define HWIP_MAX_INSTANCE
7
struct amd_powerplay {
void *pp_handle;