<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.msipheadera92e061b, li.msipheadera92e061b, div.msipheadera92e061b
        {mso-style-name:msipheadera92e061b;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="msipheadera92e061b" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#0078D7">[AMD Official Use Only - Internal Distribution Only]</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">First you could check if the binary ‘polaris12_smc.bin’ is in your system: /lib/firmware/../amdgpu/<o:p></o:p></p>
<p class="MsoNormal">If it’s there, then does this happen after a warm reset?<o:p></o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org>
<b>On Behalf Of </b>Yusuf Altiparmak<br>
<b>Sent:</b> Thursday, January 2, 2020 4:22 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> [Error] amdgpu powerplay ip block error with -22.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[CAUTION: External Email] <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">I am having this error with kernel version 4.19 amdgpu driver for a polaris12 based GPU. What could be the problem? Any suggestions? Thanks.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b>Full dmesg:</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[    5.426009] [drm] amdgpu kernel modesetting enabled.                                                                      <o:p></o:p></p>
</div>
<p class="MsoNormal">[    5.430109] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6987 0x1787:0x2389 0x80).                          
<br>
[    5.437591] [drm] register mmio base: 0x20200000                                                                          <br>
[    5.440899] [drm] register mmio size: 262144                                                                              <br>
[    5.443888] [drm] add ip block number 0 <vi_common>                                                                      
<br>
[    5.447465] [drm] add ip block number 1 <gmc_v8_0>                                                                        <br>
[    5.450953] [drm] add ip block number 2 <tonga_ih>                                                                        <br>
[    5.454442] [drm] add ip block number 3 <powerplay>                                                                      
<br>
[    5.458018] [drm] add ip block number 4 <dm>                                                                              <br>
[    5.460979] [drm] add ip block number 5 <gfx_v8_0>                                                                        <br>
[    5.464466] [drm] add ip block number 6 <sdma_v3_0>                                                                      
<br>
[    5.468042] [drm] add ip block number 7 <uvd_v6_0>                                                                        <br>
[    5.471531] [drm] add ip block number 8 <vce_v3_0>                                                                        <br>
[    5.475047] [drm] UVD is enabled in VM mode                                                                              
<br>
[    5.477928] [drm] UVD ENC is enabled in VM mode                                                                          
<br>
[    5.481154] [drm] VCE enabled in VM mode                                                                                  <br>
[    5.712355] ATOM BIOS: 113-ER16BFC-001                                                                                    <br>
[    5.714830] [drm] GPU posting now...                                                                                      <br>
[    5.833704] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit                                <br>
[    5.840950] amdgpu 0001:01:00.0: BAR 2: releasing [mem 0x220000000-0x2201fffff 64bit pref]                                <br>
[    5.847930] amdgpu 0001:01:00.0: BAR 0: releasing [mem 0x210000000-0x21fffffff 64bit pref]                                <br>
[    5.855688] [drm:.amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem resizing BAR0 (-2).                              
<br>
[    5.855706] amdgpu 0001:01:00.0: BAR 0: assigned [mem 0x230000000-0x23fffffff 64bit pref]                                
<br>
[    5.869663] amdgpu 0001:01:00.0: BAR 2: assigned [mem 0x240000000-0x2401fffff 64bit pref]                                
<br>
[    5.876582] amdgpu 0001:01:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)                        
<br>
[    5.884160] amdgpu 0001:01:00.0: GART: 256M 0x0000000000000000 - 0x000000000FFFFFFF                                      
<br>
[    5.890519] [drm] Detected VRAM RAM=4096M, BAR=256M                                                                      
<br>
[    5.894093] [drm] RAM width 128bits GDDR5                                                                                
<br>
[    5.896941] [TTM] Zone  kernel: Available graphics memory: 4062380 kiB                                                    <br>
[    5.902177] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB                                                    <br>
[    5.907402] [TTM] Initializing pool allocator                                                                            
<br>
[    5.910464] [TTM] Initializing DMA pool allocator                                                                        
<br>
[    5.919973] [drm] amdgpu: 4096M of VRAM memory ready                                                                      <br>
[    5.923659] [drm] amdgpu: 4096M of GTT memory ready.                                                                      <br>
[    5.927358] [drm] GART: num cpu pages 65536, num gpu pages 65536                                                          <br>
[    5.932957] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).                                                <br>
[    5.939122] [drm] Chained IB support enabled!                                                                            
<br>
[    5.948873] [drm] Found UVD firmware Version: 1.79 Family ID: 16                                                          <br>
[    5.953647] [drm] UVD ENC is disabled                                                                                    
<br>
[    5.975818] [drm] Found VCE firmware Version: 52.4 Binary ID: 3                                                          
<br>
[    6.404774] amdgpu: [powerplay] Failed to send Message.                                                                  
<br>
[    6.835902] amdgpu: [powerplay] SMU Firmware start failed!                                                                <br>
[    6.840086] amdgpu: [powerplay] Failed to load SMU ucode.                                                                
<br>
[    6.844184] amdgpu: [powerplay] smc start failed                                                                          <br>
<b>[    6.847498] amdgpu: [powerplay] powerplay hw init failed </b>                                                                 <br>
<b>[    6.852281] [drm:.amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <powerplay> failed -22</b>                        
<br>
<b>[    6.859883] amdgpu 0001:01:00.0: amdgpu_device_ip_init failed </b>             
<b>                                              <br>
[    6.864330] amdgpu 0001:01:00.0: Fatal error during GPU init  </b>                  
<b>                                         <br>
[    6.868689] [drm] amdgpu: finishing device. </b>                                                                             
<br>
<b>[    7.339427] pcieport 0001:00:00.0: AER: Corrected error received: 0001:00:00.0                                            <br>
[    7.345374] pcieport 0001:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)            
<br>
[    7.353993] pcieport 0001:00:00.0:   device [1957:0824] error status/mask=00001000/00002000                              
<br>
[    7.361047] pcieport 0001:00:00.0:    [12] Timeout    </b>                                                                    <br>
[    7.706137] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[    8.127667] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[    8.966331] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[    9.320290] pcieport 0001:00:00.0: AER: Corrected error received: 0001:00:00.0                                            <br>
[    9.326226] pcieport 0001:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)            
<br>
[    9.334845] pcieport 0001:00:00.0:   device [1957:0824] error status/mask=00001000/00002000                              
<br>
[    9.341899] pcieport 0001:00:00.0:    [12] Timeout                                                                        <br>
[    9.387975] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   10.226636] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   10.648275] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   11.486932] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   11.908570] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   12.747228] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   13.168866] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   14.007523] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   14.429161] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   15.267816] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   15.689456] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   16.528114] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   16.949756] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   17.788411] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   18.210051] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   19.048710] amdgpu: [powerplay]                                                                                          
<br>
                last message was failed ret is 0                                                                            
<br>
[   19.470347] amdgpu: [powerplay]                                                                                          
<br>
                failed to send message 261 ret is 0                                                                          <br>
[   19.786774] [TTM] Finalizing pool allocator                                                                              
<br>
[   19.789696] [TTM] Finalizing DMA pool allocator                                                                          
<br>
[   19.793004] [TTM] Zone  kernel: Used memory at exit: 0 kiB                                                                <br>
[   19.797209] [TTM] Zone   dma32: Used memory at exit: 0 kiB                                                                <br>
[   19.801410] [drm] amdgpu: ttm finalized                                                      
<b>                            <br>
[   19.804496] amdgpu: probe of 0001:01:00.0 failed with error -22  </b><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>