<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks Feifei and Xiaojie!<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Xu, Feifei<br>
<b>Sent:</b> Thursday, July 11, 2019 16:28<br>
<b>To:</b> Yin, Tianci (Rico); amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> Xiao, Jack; Yuan, Xiaojie; Yin, Tianci (Rico); Zhang, Hawking<br>
<b>Subject:</b> RE: [PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Reviewed-by: Feifei Xu <Feifei.Xu@amd.com><br>
<br>
Regards,<br>
Feifei<br>
<br>
-----Original Message-----<br>
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Tianci Yin<br>
Sent: 2019年7月11日 16:01<br>
To: amd-gfx@lists.freedesktop.org<br>
Cc: Xiao, Jack <Jack.Xiao@amd.com>; Yuan, Xiaojie <Xiaojie.Yuan@amd.com>; Yin, Tianci (Rico) <Tianci.Yin@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com><br>
Subject: [PATCH] drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array<br>
<br>
From: tiancyin <tianci.yin@amd.com><br>
<br>
ID of DCE_HWIP from vbios is DMU_HWID,<br>
mismatch cause null pointer crash in navi10 modprobe.<br>
<br>
Change-Id: I3be363cf5248de904b3bdae2f34d3bbe0bbbc07d<br>
Signed-off-by: tiancyin <tianci.yin@amd.com><br>
---<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c<br>
index e049ae6..1481899 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c<br>
@@ -123,7 +123,7 @@ static int hw_id_map[MAX_HWIP] = {<br>
[UVD_HWIP] = UVD_HWID,<br>
[VCE_HWIP] = VCE_HWID,<br>
[DF_HWIP] = DF_HWID,<br>
- [DCE_HWIP] = DCEAZ_HWID,<br>
+ [DCE_HWIP] = DMU_HWID,<br>
[OSSSYS_HWIP] = OSSSYS_HWID,<br>
[SMUIO_HWIP] = SMUIO_HWID,<br>
[PWR_HWIP] = PWR_HWID,<br>
-- <br>
2.7.4<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font></div>
</body>
</html>