<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">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:<br>
</div>
<blockquote type="cite"
cite="mid:BLUPR12MB04496DB9A508E4AEE114AF2484D80@BLUPR12MB0449.namprd12.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<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">Hi Christian</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I remember you and AlexD
mentioned that a handful registers are deprecated for
greenland (gfx9)</p>
<p style="margin-top:0;margin-bottom:0">e.g.
CC_RB_BACKEND_DISABLE</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">do you know why we still
have this routine ?</p>
<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: "Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"; font-size: 14px; line-height: 19px; white-space: pre;">
<div><span style="color: #569cd6;">static</span> u32 <span style="color: #dcdcaa;">
gfx_v9_0_get_rb_active_bitmap</span>(<span style="color: #569cd6;">struct</span> amdgpu_device *adev)</div>
<div>{</div>
<div> u32 data, mask;</div>
<div> data = <span style="color: #dcdcaa;">RREG32_SOC15</span>(GC, <span style="color: #b5cea8;">
0</span>, mmCC_RB_BACKEND_DISABLE);</div>
<div> data |= <span style="color: #dcdcaa;">RREG32_SOC15</span>(GC, <span style="color: #b5cea8;">
0</span>, mmGC_USER_RB_BACKEND_DISABLE);</div>
<div> data &= CC_RB_BACKEND_DISABLE__BACKEND_DISABLE_MASK;</div>
<div> data >>= GC_USER_RB_BACKEND_DISABLE__BACKEND_DISABLE__SHIFT;</div>
<div> mask = <span style="color: #dcdcaa;">amdgpu_gfx_create_bitmask</span>(adev-><span style="color: #9cdcfe;">gfx</span>.<span style="color: #9cdcfe;">config</span>.<span style="color: #9cdcfe;">max_backends_per_se</span> /</div>
<div> adev-><span style="color: #9cdcfe;">gfx</span>.<span style="color: #9cdcfe;">config</span>.<span style="color: #9cdcfe;">max_sh_per_se</span>);</div>
<div> <span style="color: #c586c0;">return</span> (~data) & mask;</div>
<div>}</div>
</div>
<br>
<p style="margin-top:0;margin-bottom:0">see that it still read <span
style="font-family: Calibri, Helvetica, sans-serif,
EmojiFont, "Apple Color Emoji", "Segoe UI
Emoji", NotoColorEmoji, "Segoe UI Symbol",
"Android Emoji", EmojiSymbols; font-size: 16px;">CC_RB_BACKEND_DISABLE</span></p>
<p style="margin-top:0;margin-bottom:0"><span
style="font-family: Calibri, Helvetica, sans-serif,
EmojiFont, "Apple Color Emoji", "Segoe UI
Emoji", NotoColorEmoji, "Segoe UI Symbol",
"Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span
style="font-family: Calibri, Helvetica, sans-serif,
EmojiFont, "Apple Color Emoji", "Segoe UI
Emoji", NotoColorEmoji, "Segoe UI Symbol",
"Android Emoji", EmojiSymbols; font-size: 16px;">thanks</span></p>
<p style="margin-top:0;margin-bottom:0"><span
style="font-family: Calibri, Helvetica, sans-serif,
EmojiFont, "Apple Color Emoji", "Segoe UI
Emoji", NotoColorEmoji, "Segoe UI Symbol",
"Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span
style="font-family: Calibri, Helvetica, sans-serif,
EmojiFont, "Apple Color Emoji", "Segoe UI
Emoji", NotoColorEmoji, "Segoe UI Symbol",
"Android Emoji", EmojiSymbols; font-size: 16px;">/Monk</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
</blockquote>
<br>
</body>
</html>