<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<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">I think there are more than just CC_RB_BACKEND_DISABLE that could cause this problem.  IIRC, some entire class of gfx registers could cause it, it just happened that this was one of the only ones we readback via mmio. 
 Also for the save and restore list, I think the RLC uses a different interface to read back the registers so it may not be affected the same way.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Alex<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> Liu, Monk<br>
<b>Sent:</b> Wednesday, March 7, 2018 9:42:41 PM<br>
<b>To:</b> Deucher, Alexander; Koenig, Christian; Mao, David<br>
<b>Cc:</b> amd-gfx@lists.freedesktop.org; Jin, Jian-Rong<br>
<b>Subject:</b> RE: deprecated register issues</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Helvetica}
@font-face
        {font-family:宋体}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:等线}
@font-face
        {font-family:Calibri}
@font-face
        {}
@font-face
        {}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体}
a:x_link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.x_msonormal0, li.x_msonormal0, div.x_msonormal0
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体}
span.x_xapple-converted-space
        {}
span.x_EmailStyle21
        {font-family:等线;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 90.0pt 72.0pt 90.0pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="ZH-CN" link="blue" vlink="purple">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">Hi guys
</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">According to Christian’s found, reading this register would make vm hub failed to finish the vm flush request , e.g.: sdma is doing vm flush which first write data to vm_invalidat_req
 and read result from vm_invalidate_ack, but found driver will forever failed to get the correct value from vm_invalidate_ack if the meantime BIF is reading this CC_RB_BACKEND_DISABLE register.</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">Now SR-IOV world switch also may get such similar trouble, see below save_restore_list ( during world_switch, RLCV will save current VF’s register according to this list and
 restore all those registers when loading back this VF)</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">uint32 register_restore[] = {</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmPA_SC_FIFO_SIZE),   /* SC   */</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000001,</span></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmCC_RB_BACKEND_DISABLE),   /* SC SC PER_SE  */</span></b></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000000,</span></b></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3400 << 18) | mmCC_RB_BACKEND_DISABLE),   /* SC SC PER_SE  */</span></b></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000000,</span></b></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3800 << 18) | mmCC_RB_BACKEND_DISABLE),   /* SC SC PER_SE  */</span></b></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000000,</span></b></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3c00 << 18) | mmCC_RB_BACKEND_DISABLE),   /* SC SC PER_SE  */</span></b></p>
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000000,</span></b></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmVGT_VTX_VECT_EJECT_REG),      
</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000001,</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmVGT_DMA_DATA_FIFO_DEPTH),   /* IA WD  */</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000001,</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmVGT_DMA_REQ_FIFO_DEPTH),   /* WD   */</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000001,</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmVGT_DRAW_INIT_FIFO_DEPTH),   /* WD   */</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000001,</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmVGT_CACHE_INVALIDATION),   /*  IA  */</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000001,</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmVGT_RESET_DEBUG),   /*  WD  */</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       0x00000001,</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">       (uint32)((0x3000 << 18) | mmVGT_FIFO_DEPTHS),      
</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">I will do some test against this CC_RB_BACKEND_DISABLE register, see if vm flush failure issue could be avoided by removing those four register from SR list
</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">Thanks</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">/Monk</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Deucher, Alexander
<br>
<b>Sent:</b> 2018</span><span style="font-size:11.0pt">年</span><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">3</span><span style="font-size:11.0pt">月</span><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">7</span><span style="font-size:11.0pt">日</span><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">
 23:13<br>
<b>To:</b> Koenig, Christian <Christian.Koenig@amd.com>; Mao, David <David.Mao@amd.com>; Liu, Monk <Monk.Liu@amd.com><br>
<b>Cc:</b> amd-gfx@lists.freedesktop.org; Jin, Jian-Rong <Jian-Rong.Jin@amd.com><br>
<b>Subject:</b> Re: deprecated register issues</span></p>
</div>
</div>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<div id="x_divtagdefaultwrapper">
<p><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:black">Right.  We ran into issues with reading back that register at runtime when UMDs queried it when other stuff was in flight, so we just read it once at startup and cache the results.
 Now when UMDs request it, we return the cached value.</span></p>
<p><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:black">Alex</span></p>
</div>
<div class="x_MsoNormal" align="center" style="text-align:center"><span lang="EN-US">
<hr size="3" width="98%" align="center">
</span></div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> Koenig, Christian<br>
<b>Sent:</b> Wednesday, March 7, 2018 9:31:13 AM<br>
<b>To:</b> Mao, David; Liu, Monk<br>
<b>Cc:</b> Deucher, Alexander; <a href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>; Jin, Jian-Rong<br>
<b>Subject:</b> Re: deprecated register issues</span><span lang="EN-US"> </span></p>
<div>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
</div>
</div>
<div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">Hi David,<br>
<br>
well I just figured that this is a misunderstanding.<br>
<br>
Accessing this register and some other deprecated registers can cause problem when invalidating VMHUBs.<br>
<br>
This register itself isn't deprecated, the wording in a patch fixing things is just a bit unclear.<br>
<br>
Question is is that register still accessed regularly or is it value cached after startup?
<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 07.03.2018 um 15:25 schrieb Mao, David:</span></p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">We requires base driver to provide the mask of disabled RB.
</span></p>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">This is why kernel read the CC_RB_BACKEND_DISABLE to collect the harvest configuration.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">Where did you get to know that the register is deprecated?</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">I think it should still be there.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">Best Regards,</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">David</span></p>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"><br>
<br>
</span></p>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">On Mar 7, 2018, at 9:49 PM, Liu, Monk <<a href="mailto:Monk.Liu@amd.com">Monk.Liu@amd.com</a>> wrote:</span></p>
</div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"> </span></p>
<div>
<div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">+ UMD guys</span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">Hi David</span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt; font-family:等线">Do you know if<span class="x_xapple-converted-space"> </span></span><b><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"">GC_USER_RB_BACKEND_DISABLE
 is still exist for gfx9/vega10 ?</span></b><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New""> </span></b><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"">We found<span class="x_xapple-converted-space"> </span></span></b><span lang="EN-US">CC_RB_BACKEND_DISABLE was deprecated but looks it
 is still in use in kmd, so</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">I want to check with you both of above registers</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">Thanks<span class="x_xapple-converted-space"> </span></span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">/Monk</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.5pt; font-family:等线"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="x_MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span class="x_xapple-converted-space"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></span><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">amd-gfx
 [<a href="mailto:amd-gfx-bounces@lists.freedesktop.org">mailto:amd-gfx-bounces@lists.freedesktop.org</a>]<span class="x_xapple-converted-space"> </span><b>On Behalf Of<span class="x_xapple-converted-space"> </span></b>Christian K?nig<br>
<b>Sent:</b><span class="x_xapple-converted-space"> </span>2018</span><span style="font-size:11.0pt">年</span><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">3</span><span style="font-size:11.0pt">月</span><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">7</span><span style="font-size:11.0pt">日</span><span class="x_xapple-converted-space"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></span><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">20:26<br>
<b>To:</b><span class="x_xapple-converted-space"> </span>Liu, Monk <<a href="mailto:Monk.Liu@amd.com">Monk.Liu@amd.com</a>>; Deucher, Alexander <<a href="mailto:Alexander.Deucher@amd.com">Alexander.Deucher@amd.com</a>><br>
<b>Cc:</b><span class="x_xapple-converted-space"> </span><a href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a><br>
<b>Subject:</b><span class="x_xapple-converted-space"> </span>Re: deprecated register issues</span><span lang="EN-US"></span></p>
</div>
</div>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"> </span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US">Hi Monk,<br>
<br>
I honestly don't have the slightest idea why we are still accessing CC_RB_BACKEND_DISABLE. Maybe it still contains some useful values?<br>
<br>
Key point was that we needed to stop accessing it all the time to avoid triggering problems.<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 07.03.2018 um 13:11 schrieb Liu, Monk:</span></p>
</div>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div id="x_x_divtagdefaultwrapper">
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif">Hi Christian</span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif"> </span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif">I remember you and AlexD mentioned that a handful registers are deprecated for greenland (gfx9)</span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif">e.g. CC_RB_BACKEND_DISABLE</span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif"> </span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif">do you know why we still have this routine ?</span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#569CD6">static</span><span class="x_xapple-converted-space"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">u32</span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#DCDCAA">gfx_v9_0_get_rb_active_bitmap</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">(</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#569CD6">struct</span><span class="x_xapple-converted-space"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">amdgpu_device
 *adev)</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">{</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">    u32 data, mask;</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">    data =<span class="x_xapple-converted-space"> </span></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#DCDCAA">RREG32_SOC15</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">(GC,</span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#B5CEA8">0</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">, mmCC_RB_BACKEND_DISABLE);</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">    data |=<span class="x_xapple-converted-space"> </span></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#DCDCAA">RREG32_SOC15</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">(GC,</span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#B5CEA8">0</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">, mmGC_USER_RB_BACKEND_DISABLE);</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">    data &= CC_RB_BACKEND_DISABLE__BACKEND_DISABLE_MASK;</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">    data >>= GC_USER_RB_BACKEND_DISABLE__BACKEND_DISABLE__SHIFT;</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">    mask =<span class="x_xapple-converted-space"> </span></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#DCDCAA">amdgpu_gfx_create_bitmask</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">(adev-></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#9CDCFE">gfx</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">.</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#9CDCFE">config</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">.</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#9CDCFE">max_backends_per_se</span><span class="x_xapple-converted-space"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">/</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">                     adev-></span><span lang="EN-US">gfx</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">.</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#9CDCFE">config</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">.</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#9CDCFE">max_sh_per_se</span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">);</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">    </span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#C586C0">return</span><span class="x_xapple-converted-space"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span></span><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">(~data)
 & mask;</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4">}</span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="line-height:14.25pt; background:#1E1E1E"><span lang="EN-US" style="font-size:10.5pt; font-family:"Courier New"; color:#D4D4D4"> </span><span lang="EN-US"></span></p>
</div>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-family:"Calibri",sans-serif"> </span><span lang="EN-US"></span></p>
</div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif">see that it still read CC_RB_BACKEND_DISABLE</span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif"> </span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif">thanks</span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif"> </span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif">/Monk</span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.0pt; font-family:"Calibri",sans-serif"> </span><span lang="EN-US" style="font-size:9.0pt; font-family:"Helvetica",sans-serif"></span></p>
</div>
</blockquote>
<div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"> </span></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"> </span></p>
</div>
</blockquote>
<p class="x_MsoNormal" style="background:white"><span lang="EN-US"> </span></p>
</div>
</div>
</div>
</body>
</html>