<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,Arial,Helvetica,sans-serif;">
<p>It's used by the UMD though they read from 0/*/* when reading the RASTER_CONFIG registers (which may be a bug...)</p>
<p><br>
</p>
<p>I only added it because the previous interface was either */*/* or x/y/z (where none are *). Now it supports arbitrary bank selections.</p>
<p><br>
</p>
<p>Tom</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Christian König <deathsimple@vodafone.de><br>
<b>Sent:</b> Tuesday, October 11, 2016 08:30<br>
<b>To:</b> StDenis, Tom; Michel Dänzer<br>
<b>Cc:</b> amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> Re: [PATCH] drm/amd/amdgpu: Allow broadcast on debugfs read (v2)</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">I briefly remember reading in some hardware doc that this actually has a defined behavior.<br>
<br>
It was something about applying either bit wise "and" or "or" on the resulting bits and returning that to the reader.<br>
<br>
This way you can check with a single broadcast read if an error occurred or if any of the instances are busy.<br>
<br>
But if you don't actually use it I suggest to not implement this.<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 11.10.2016 um 12:26 schrieb StDenis, Tom:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>That actually makes sense. It came up because <span>mmPA_SC_RASTER_CONFIG (and _1) are read by libdrm with a selection of 0/*/* for se/sh/instance so I wanted to be able to reproduce that via the debugfs interface for testing.</span></p>
<p><span><br>
</span></p>
<p><span>But ya, if you use the broadcast bit who are you reading from then ... hmm..</span></p>
<p><span><br>
</span></p>
<p><span>Tom</span></p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri,
sans-serif" style="font-size:11pt"><b>From:</b> amd-gfx
<a class="moz-txt-link-rfc2396E" href="mailto:amd-gfx-bounces@lists.freedesktop.org">
<amd-gfx-bounces@lists.freedesktop.org></a> on behalf of Michel Dänzer <a class="moz-txt-link-rfc2396E" href="mailto:michel.daenzer@mailbox.org">
<michel.daenzer@mailbox.org></a><br>
<b>Sent:</b> Monday, October 10, 2016 23:52<br>
<b>To:</b> Tom St Denis<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">
amd-gfx@lists.freedesktop.org</a><br>
<b>Subject:</b> Re: [PATCH] drm/amd/amdgpu: Allow broadcast on debugfs read (v2)</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText">On 09/10/16 08:58 PM, Tom St Denis wrote:<br>
> Allow any of the se/sh/instance fields to be<br>
> specified as a broadcast by submitting 0x3FF.<br>
> <br>
> (v2) Fix broadcast range checking<br>
> <br>
> Signed-off-by: Tom St Denis <a class="moz-txt-link-rfc2396E" href="mailto:tom.stdenis@amd.com">
<tom.stdenis@amd.com></a><br>
<br>
I'm not sure how a "broadcast read" is supposed to work? I can only see<br>
the register specs talking about broadcast in connection with writes.<br>
<br>
<br>
-- <br>
Earthling Michel Dänzer | <a href="http://www.amd.com" id="LPlnk365128" previewremoved="true">
http://www.amd.com</a>
<div id="LPBorder_GT_14761814794940.12544022877196426" style="margin-bottom:20px; overflow:auto; width:100%; text-indent:0px" contenteditable="false">
<table id="LPContainer_14761814794910.48081554222867373" cellspacing="0" style="width:90%; background-color:rgb(255,255,255); overflow:auto; padding-top:20px; padding-bottom:20px; margin-top:20px; border-top:1px dotted rgb(200,200,200); border-bottom:1px dotted rgb(200,200,200)">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td id="TextCell_14761814794930.6330030561431497" colspan="2" style="vertical-align:top; padding:0px; display:table-cell">
<div id="LPTitle_14761814794930.0860209784141206" style=""><a id="LPUrlAnchor_14761814794930.01359389598361771" href="http://www.amd.com/" target="_blank" style="text-decoration:none">Graphics, Processors and Immersive VR Solutions | AMD
</a></div>
<div id="LPMetadata_14761814794940.4677118614629565" style=""><a class="moz-txt-link-abbreviated" href="http://www.amd.com">www.amd.com</a></div>
<div id="LPDescription_14761814794940.37923242485275344" style="display:block; color:rgb(102,102,102); font-weight:normal; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
Explore a wide range of innovative next generation computing processors, graphics, and Immersive VR solutions by Advanced Micro Devices (AMD). Visit AMD.com now!</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
Libre software enthusiast | Mesa and X developer<br>
_______________________________________________<br>
amd-gfx mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" id="LPlnk287571" previewremoved="true">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
<div id="LPBorder_GT_14761815380460.6817372487984479" style="margin-bottom:20px; overflow:auto; width:100%; text-indent:0px" contenteditable="false">
<table id="LPContainer_14761815380420.37970165615775286" cellspacing="0" style="width:90%; background-color:rgb(255,255,255); overflow:auto; padding-top:20px; padding-bottom:20px; margin-top:20px; border-top:1px dotted rgb(200,200,200); border-bottom:1px dotted rgb(200,200,200)">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td id="TextCell_14761815380430.2899884346376056" colspan="2" style="vertical-align:top; padding:0px; display:table-cell">
<div id="LPTitle_14761815380440.5311884203741501" style=""><a id="LPUrlAnchor_14761815380450.40820370331518996" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" target="_blank" style="text-decoration:none">amd-gfx Info Page - lists.freedesktop.org</a></div>
<div id="LPMetadata_14761815380450.487355067260703" style="">lists.freedesktop.org</div>
<div id="LPDescription_14761815380450.7331276341568305" style="display:block; color:rgb(102,102,102); font-weight:normal; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
To see the collection of prior postings to the list, visit the amd-gfx Archives. Using amd-gfx: To post a message to all the list members, send email ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
</span></font></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
amd-gfx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
</pre>
</blockquote>
<p><br>
</p>
</div>
</div>
</div>
</body>
</html>