<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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);">
What about picasso and raven1?<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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Zhu, Changfeng <Changfeng.Zhu@amd.com><br>
<b>Sent:</b> Thursday, November 7, 2019 8:54 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>; Zhang, Hawking <Hawking.Zhang@amd.com>; Huang, Ray <Ray.Huang@amd.com><br>
<b>Cc:</b> Zhu, Changfeng <Changfeng.Zhu@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu: allow direct upload save restore list for raven2</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">From: changzhu <Changfeng.Zhu@amd.com><br>
<br>
It will cause modprobe atombios stuck problem in raven2 if it doesn't<br>
allow direct upload save restore list from gfx driver.<br>
So it needs to allow direct upload save restore list for raven2<br>
temporarily.<br>
<br>
Change-Id: I1fece1b9c61f7a13eec948f34eb60a9120046bc2<br>
Signed-off-by: changzhu <Changfeng.Zhu@amd.com><br>
---<br>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 +++-<br>
1 file changed, 3 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c<br>
index 4ed31e9a398c..dde9713c1d67 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c<br>
@@ -2729,7 +2729,9 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev)<br>
* And it's needed by gfxoff feature.<br>
*/<br>
if (adev->gfx.rlc.is_rlc_v2_1) {<br>
- if (adev->asic_type == CHIP_VEGA12)<br>
+ if (adev->asic_type == CHIP_VEGA12 ||<br>
+ (adev->asic_type == CHIP_RAVEN &&<br>
+ adev->rev_id >= 8))<br>
gfx_v9_1_init_rlc_save_restore_list(adev);<br>
gfx_v9_0_enable_save_restore_machine(adev);<br>
}<br>
-- <br>
2.17.1<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></div>
</span></font></div>
</body>
</html>