<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org]
<b>On Behalf Of </b>Sanford Rockowitz<br>
<b>Sent:</b> Tuesday, September 13, 2016 6:47 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> need guidance re amdgpu i2c<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">First, apologies in advance if this is not the most appropriate list for my questions. Redirection appreciated.<br>
<br>
I am the author of <a href="www.ddctool.com">ddctool</a>, a utility to manipulate monitor settings using DDC/CI over I2C.
<br>
<br>
My understanding is that amdgpu provides /dev/i2c-* devices in the usual way, so that ddctool should just work without changes. But of course this needs to be tested.<br>
<br>
In this regard I have a number of questions and a request.<br>
<br>
Does the i2c interface depend in some way on whether one is running the AMDGPU-PRO driver?<br>
<br>
<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">No, although the PRO driver uses a newer display stack which is not upstream yet so there may be subtle differences.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
The most current AMD card that I own in a R9 280, which is a first generation GCN device. Phoronix suggests that first generation GCN support is in the works. Will this be soon? If not, would the current development code for amdgpu be sufficient for me
to test the i2c support? If so, what would I have to do to build and install it?<br>
<br>
<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Both radeon and amdgpu support the same i2c interfaces. It doesn’t matter which driver you use. The current SI support in amdgpu
supports i2c.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Or should I just plunk down a few dollars for a relatively inexpensive R7 260, which I understand is supported by the current amdgpu?<br>
<br>
<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Up to you.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Alternatively, if someone running the amdgpu driver would be willing to install and test ddctool on their system I'd be most appreciative. The git repository is here:
<a href="https://github.com/rockowitz/ddctool">https://github.com/rockowitz/ddctool</a>, and there's extensive documentation on the website,
<a href="http://www.ddctool.com">www.ddctool.com</a>. <br>
<br>
A couple of command line options of note: <br>
<br>
"--stats" reports extensive performance statistics, including counts of i2c retries required
<br>
"--ddc" reports DDC protocol data errors <br>
<br>
If ddctool installs but does not seem to be working, command "ddctool environment" may provide some clues.
<br>
<br>
Finally, the "ddctool interrogate" command fully exercises ddctool and probes the i2c environment. Depending on permissions, running it as root may provide additional detail. If you can capture the output and send it to me that would be most helpful.
<br>
<br>
Thanks in advance, <br>
Sanford Rockowitz<o:p></o:p></p>
</div>
</div>
</body>
</html>