<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 15.08.2016 um 14:26 schrieb StDenis,
Tom:<br>
</div>
<blockquote
cite="mid:DM5PR12MB1132BE10BFA7B652BD16A3E2F7120@DM5PR12MB1132.namprd12.prod.outlook.com"
type="cite">
<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;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi all,</p>
<p><br>
</p>
<p>If I could get an ACK/NAK that would be appreciated. I have
a commit pending on the debug tool (that reads these) that I'd
like to get out.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Tom</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
style="font-size:11pt" color="#000000" face="Calibri,
sans-serif"><b>From:</b> Tom St Denis
<a class="moz-txt-link-rfc2396E" href="mailto:tstdenis82@gmail.com"><tstdenis82@gmail.com></a><br>
<b>Sent:</b> Friday, August 12, 2016 15:28<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a><br>
<b>Cc:</b> StDenis, Tom<br>
<b>Subject:</b> [PATCH] drm/amd/amdgpu: Add more config
data for debugfs</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Adds rev_id as well as cg/pg flags
to help debug runtime.<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>
</div>
</span></font></div>
</div>
</blockquote>
<br>
Acked-by: Christian König <a class="moz-txt-link-rfc2396E" href="mailto:christian.koenig@amd.com"><christian.koenig@amd.com></a><br>
<br>
<blockquote
cite="mid:DM5PR12MB1132BE10BFA7B652BD16A3E2F7120@DM5PR12MB1132.namprd12.prod.outlook.com"
type="cite">
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div style="color: rgb(0, 0, 0);"><font size="2"><span
style="font-size:10pt;">
<div class="PlainText">
---<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 ++++++-<br>
1 file changed, 6 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c<br>
index 53763614c6e0..bbd3173cc5ea 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c<br>
@@ -2653,7 +2653,7 @@ static ssize_t
amdgpu_debugfs_gca_config_read(struct file *f, char
__user *buf,<br>
return -ENOMEM;<br>
<br>
/* version, increment each time something is
added */<br>
- config[no_regs++] = 0;<br>
+ config[no_regs++] = 1;<br>
config[no_regs++] =
adev->gfx.config.max_shader_engines;<br>
config[no_regs++] =
adev->gfx.config.max_tile_pipes;<br>
config[no_regs++] =
adev->gfx.config.max_cu_per_sh;<br>
@@ -2678,6 +2678,11 @@ static ssize_t
amdgpu_debugfs_gca_config_read(struct file *f, char
__user *buf,<br>
config[no_regs++] =
adev->gfx.config.gb_addr_config;<br>
config[no_regs++] =
adev->gfx.config.num_rbs;<br>
<br>
+ /* rev==1 */<br>
+ config[no_regs++] = adev->rev_id;<br>
+ config[no_regs++] = adev->pg_flags;<br>
+ config[no_regs++] = adev->cg_flags;<br>
+<br>
while (size && (*pos < no_regs * 4))
{<br>
uint32_t value;<br>
<br>
-- <br>
2.9.2<br>
<br>
</div>
</span></font></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>
</body>
</html>