<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Series is:</p>
<p style="margin-top:0;margin-bottom:0">Reviewed-by: Alex Deucher <alexander.deucher@amd.com><br>
</p>
</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 Michel Dänzer <michel@daenzer.net><br>
<b>Sent:</b> Wednesday, February 14, 2018 12:49:30 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> [PATCH xf86-video-ati 4/4] Call RADEONFreeRec from RADEONFreeScreen_KMS even if info == NULL</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">From: Michel Dänzer <michel.daenzer@amd.com><br>
<br>
It's safe now.<br>
<br>
(Ported from amdgpu commit c9bd1399a13cea2e1331af2c826ca054b88db071)<br>
<br>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com><br>
---<br>
 src/radeon_kms.c | 5 -----<br>
 1 file changed, 5 deletions(-)<br>
<br>
diff --git a/src/radeon_kms.c b/src/radeon_kms.c<br>
index 06f7883e8..6e5bf7814 100644<br>
--- a/src/radeon_kms.c<br>
+++ b/src/radeon_kms.c<br>
@@ -2206,14 +2206,9 @@ static Bool RADEONCloseScreen_KMS(ScreenPtr pScreen)<br>
 <br>
 void RADEONFreeScreen_KMS(ScrnInfoPtr pScrn)<br>
 {<br>
-    RADEONInfoPtr  info  = RADEONPTR(pScrn);<br>
-<br>
     xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,<br>
                    "RADEONFreeScreen\n");<br>
 <br>
-    /* when server quits at PreInit, we don't need do this anymore*/<br>
-    if (!info) return;<br>
-<br>
     RADEONFreeRec(pScrn);<br>
 }<br>
 <br>
-- <br>
2.16.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><br>
</div>
</span></font></div>
</body>
</html>