https://elinux.org/index.php?title=R-Car/Tests:igt&feed=atom&action=historyR-Car/Tests:igt - Revision history2024-03-28T17:08:46ZRevision history for this page on the wikiMediaWiki 1.31.0https://elinux.org/index.php?title=R-Car/Tests:igt&diff=468361&oldid=prevUli at 08:57, 7 May 20182018-05-07T08:57:12Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 08:57, 7 May 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l35" >Line 35:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Run the IGT test suite:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Run the IGT test suite:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre>./scripts/run-tests.sh -x drv_module_reload  -x drv_suspend -x @gem_concurrent -s</pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre>./scripts/run-tests.sh -x drv_module_reload  -x drv_suspend -x @gem_concurrent -s</pre></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Note that this command excludes driver reloading tests (which are not supported when using a statically compiled driver) as well as all tests starting with "gem_concurrent". These tests are very numerous (more than 50000) and are all not applicable to the DU device, so excluding them from the outset saves a lot of time.</li></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Note that this command excludes driver reloading tests (which are not supported when using a statically compiled driver) as well as all tests starting with "<ins class="diffchange diffchange-inline"><tt></ins>gem_concurrent<ins class="diffchange diffchange-inline"></tt></ins>". These tests are very numerous (more than 50000) and are all not applicable to the DU device, so excluding them from the outset saves a lot of time.</li></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></ol></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></ol></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A <tt>renesas-drivers</tt> kernel (<tt>renesas-drivers-2018-01-30-v4.15-1</tt>) has been used during development, configured with the default configuration (<tt>renesas_defconfig</tt>), and with the option <tt>CONFIG_SW_SYNC</tt> enabled.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A <tt>renesas-drivers</tt> kernel (<tt>renesas-drivers-2018-01-30-v4.15-1</tt>) has been used during development, configured with the default configuration (<tt>renesas_defconfig</tt>), and with the option <tt>CONFIG_SW_SYNC</tt> enabled.</div></td></tr>
</table>Ulihttps://elinux.org/index.php?title=R-Car/Tests:igt&diff=468356&oldid=prevUli: Created page with "Instructions on how to run the Intel GPU Tools test suite on R-Car platforms, using the R-Car M3-W Salvator-X board as an example. = Test setup = To run the test suite, it is..."2018-05-07T08:55:06Z<p>Created page with "Instructions on how to run the Intel GPU Tools test suite on R-Car platforms, using the R-Car M3-W Salvator-X board as an example. = Test setup = To run the test suite, it is..."</p>
<p><b>New page</b></p><div>Instructions on how to run the Intel GPU Tools test suite on R-Car platforms, using the R-Car M3-W Salvator-X board as an example.<br />
<br />
= Test setup =<br />
To run the test suite, it is necessary to create an ARM64 NFS root file system, install additional<br />
distribution packages as well as clone two git repositories for <tt>intel-gpu-tools</tt> and <tt>piglit</tt>. The individual steps are as follows:<br />
<br />
== On the engineer's workstation ==<br />
# Create an ARM64 Debian root file system:<br/><pre>sudo qemu-debootstrap arch arm64 sid /tmp/repro_root http://deb.debian.org/debian/</pre><br />
# Copy [[File:Igt_selections.txt]] as <tt>igt_selections</tt> to the file system just created in <tt>/tmp/repro_root</tt>.<br />
<br />
== On the target platform ==<br />
The file system created in the previous step should now be booted on the target platform as an NFS root file system. The following steps should then be performed on the target platform:<br />
<ol><br />
<li>Connect an HDMI display to port <tt>HDMI0</tt> on the M3-W Salvator-X board.</li><br />
<li>Run <code>apt-get install dselect</code></li><br />
<li>Run <code>dselect update</code></li><br />
<li>Run <code>dpkg --set-selections <igt_selections</code></li><br />
<li>Run <code>apt-get dselect-upgrade -y</code><br>This will install all additional distribution packages required to run the IGT test suite and may therefore take a while.</li><br />
<li>Create a UTF-8 locale: (This is required by the <tt>piglit</tt> tool.)<br />
* Edit <tt>/etc/locale.gen</tt> and remove the comment character ("<tt>#</tt>") before the line that contains "<tt>en_US.UTF-8 UTF-8</tt>".<br />
* Run <code>locale-gen</code><br>Run <code>export LC_ALL=en_US.UTF-8</code></li><br />
<li>To clone the <tt>intel-gpu-tools</tt> test suite, run these commands:<br />
<pre>git clone git://anongit.freedesktop.org/xorg/app/intel-gpu-tools</pre><br />
for the standard IGT distribution, OR<br />
<pre>git clone https://github.com/uli/intel-gpu-tools.git</pre><br />
for a version containing a number of fixes to obtain better test results on R-Car.</li><br />
<li>To build the IGT test suite, run these commands:<br />
<pre>cd intel-gpu-tools<br />
./autogen.sh<br />
make -j4</pre><br />
This step will take an extended amount of time due to the low performance of the NFS root file system.</li><br />
<li>Clone the current version of the <tt>piglit</tt> tool: (There is a version of <tt>piglit</tt> included in the Debian distribution, but it is not recent enough to work with the IGT test suite.)<br />
<pre>git clone git://anongit.freedesktop.org/piglit<br />
export PATH=`pwd`/piglit:$PATH</pre></li><br />
<li>Run the IGT test suite:<br />
<pre>./scripts/run-tests.sh -x drv_module_reload -x drv_suspend -x @gem_concurrent -s</pre><br />
Note that this command excludes driver reloading tests (which are not supported when using a statically compiled driver) as well as all tests starting with "gem_concurrent". These tests are very numerous (more than 50000) and are all not applicable to the DU device, so excluding them from the outset saves a lot of time.</li><br />
</ol><br />
A <tt>renesas-drivers</tt> kernel (<tt>renesas-drivers-2018-01-30-v4.15-1</tt>) has been used during development, configured with the default configuration (<tt>renesas_defconfig</tt>), and with the option <tt>CONFIG_SW_SYNC</tt> enabled.</div>Uli