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:
a54166d
)
drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array
author
tiancyin
<tianci.yin@amd.com>
Thu, 11 Jul 2019 06:09:50 +0000
(14:09 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 11 Jul 2019 19:37:24 +0000
(14:37 -0500)
ID of DCE_HWIP from vbios is DMU_HWID,
mismatch cause null pointer crash in navi10 modprobe.
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: tiancyin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index e049ae6a76fbdb8ad46eda79977e6eb29df95169..1481899f86c166ed25c0639c80031ec2b9fdea90 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@
-123,7
+123,7
@@
static int hw_id_map[MAX_HWIP] = {
[UVD_HWIP] = UVD_HWID,
[VCE_HWIP] = VCE_HWID,
[DF_HWIP] = DF_HWID,
- [DCE_HWIP] = D
CEAZ
_HWID,
+ [DCE_HWIP] = D
MU
_HWID,
[OSSSYS_HWIP] = OSSSYS_HWID,
[SMUIO_HWIP] = SMUIO_HWID,
[PWR_HWIP] = PWR_HWID,