<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">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>
<p style="margin-top:0;margin-bottom:0"></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>
<br>
<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>
<br>
<div>    data &= CC_RB_BACKEND_DISABLE__BACKEND_DISABLE_MASK;</div>
<div>    data >>= GC_USER_RB_BACKEND_DISABLE__BACKEND_DISABLE__SHIFT;</div>
<br>
<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>
<br>
<div>    <span style="color: #c586c0;">return</span> (~data) & mask;</div>
<div>}</div>
</div>
<br>
<p></p>
<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>
</body>
</html>