Deploy acpi.dortania.ml to github.com/dortania/Getting-Started-With-ACPI.git:gh-pages

This commit is contained in:
Travis Build Bot (from Travis CI)
2020-04-14 01:21:59 +00:00
parent 727bbdc432
commit c034ef5cd8
27 changed files with 1641 additions and 68 deletions

View File

@@ -12,11 +12,24 @@
<link rel="stylesheet" href="../gitbook/style.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-medium-zoom/plugin.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
@@ -44,6 +57,8 @@
@@ -68,6 +83,10 @@
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
@@ -392,9 +411,15 @@
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div class="search-plus" id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="renaming-gpus">Renaming GPUs</h1>
<blockquote>
<p><em>Last modified: Tue Apr 14 2020 01:19:11 GMT+0000 (Coordinated Universal Time)</em></p>
</blockquote>
<h1 id="renaming-gpus"><a name="renaming-gpus" class="plugin-anchor" href="#renaming-gpus"><i class="fa fa-link" aria-hidden="true"></i></a>Renaming GPUs</h1>
<p>So this is mainly needed for GPUs that are not natively supported OOB due to their names, most commonly:</p>
<ul>
<li>R9 290/390</li>
@@ -411,7 +436,7 @@
<li>ACPI Path of the GPU</li>
<li><a href="https://github.com/khronokernel/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-GPU-SPOOF.dsl.zip" target="_blank">SSDT-GPU-SPOOF</a></li>
</ul>
<h2 id="finding-a-suitable-pci-id">Finding a suitable PCI ID</h2>
<h2 id="finding-a-suitable-pci-id"><a name="finding-a-suitable-pci-id" class="plugin-anchor" href="#finding-a-suitable-pci-id"><i class="fa fa-link" aria-hidden="true"></i></a>Finding a suitable PCI ID</h2>
<p>To find a suitable PCI ID, we&apos;ll be using <a href="https://pci-ids.ucw.cz/read/PC/1002" target="_blank">PCI ID Repository</a> which has a full database of all AMD GPUs. For this example, we&apos;ll be creating a Spoof SSDT for the R9 390. For a full list of supported GPUs, please see the <a href="https://gpu.dortania.ml/" target="_blank">GPU Buyers Guide</a>. The closest match to this GPU would be the 390X, and looking on that site near the top gives us this:</p>
<pre><code>Vendor 1002 -&gt; Device 1002:67b0
</code></pre><p>Now lets break this down into a device ID we can use:</p>
@@ -427,7 +452,7 @@ Buffer (0x04)
},
</code></pre><p>As you can see, the bytes are swapped in pairs. Keep this in mind when we make our SSDT</p>
<p>The specifics are due to <a href="https://en.wikipedia.org/wiki/Endianness" target="_blank">Endianness</a> for those who are curious</p>
<h2 id="finding-the-acpi-path-of-the-gpu">Finding the ACPI Path of the GPU</h2>
<h2 id="finding-the-acpi-path-of-the-gpu"><a name="finding-the-acpi-path-of-the-gpu" class="plugin-anchor" href="#finding-the-acpi-path-of-the-gpu"><i class="fa fa-link" aria-hidden="true"></i></a>Finding the ACPI Path of the GPU</h2>
<p>To find the PCI path of a GPU is fairly simple, best way to find it is running Windows: </p>
<ul>
<li>Open Device Manager</li>
@@ -444,7 +469,7 @@ Buffer (0x04)
</code></pre><p>Now converting this to an ACPI path is quite simple, remove the <code>#ACPI</code> and <code>#PCI(0000)</code>:</p>
<pre><code>`_SB_.PC02.BR2A.PEGP
</code></pre><p>And voila! We&apos;ve found our ACPI path, now that we have everything we&apos;re ready to get cooking</p>
<h2 id="making-the-ssdt">Making the SSDT</h2>
<h2 id="making-the-ssdt"><a name="making-the-ssdt" class="plugin-anchor" href="#making-the-ssdt"><i class="fa fa-link" aria-hidden="true"></i></a>Making the SSDT</h2>
<p>To start grab our <a href="https://github.com/khronokernel/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-GPU-SPOOF.dsl.zip" target="_blank">SSDT-GPU-SPOOF</a> and open it up. Here there&apos;s a couple things to change:</p>
<pre><code>External (_SB_.PCI0, DeviceObj)
External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
@@ -469,11 +494,27 @@ Buffer ()
&quot;AMD Radeon R9 390&quot;
}
</code></pre><p><code>&quot;device-id&quot;</code> will be set to our PCI ID that we found in &quot;Finding a suitable PCI ID&quot; and <code>&quot;model&quot;</code> is mainly cosmetic </p>
<h2 id="now-youre-ready-to-compile-the-ssdt"><a href="../Manual/compile.html">Now you&apos;re ready to compile the SSDT!</a></h2>
<h2 id="now-youre-ready-to-compile-the-ssdt"><a name="now-youre-ready-to-compile-the-ssdt" class="plugin-anchor" href="#now-youre-ready-to-compile-the-ssdt"><i class="fa fa-link" aria-hidden="true"></i></a><a href="../Manual/compile.html">Now you&apos;re ready to compile the SSDT!</a></h2>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
@@ -497,16 +538,37 @@ Buffer ()
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"GPU Spoof","level":"5.5","depth":1,"next":{"title":"Fixing SMBus Support","level":"5.6","depth":1,"path":"Universal/smbus.md","ref":"Universal/smbus.md","articles":[]},"previous":{"title":"IRQ Fix","level":"5.4","depth":1,"path":"Universal/irq.md","ref":"Universal/irq.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"fontsettings":{"theme":"night","family":"sans","size":2},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","output":"_book","highlight":{},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":[]},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}}},"theme":"default","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"links":{"sharing":{"google":false,"facebook":false,"twitter":false,"weibo":false,"all":false}},"gitbook":"*"},"file":{"path":"Universal/spoof.md","mtime":"2020-04-13T06:47:27.295Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-13T06:48:19.101Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"GPU Spoof","level":"5.5","depth":1,"next":{"title":"Fixing SMBus Support","level":"5.6","depth":1,"path":"Universal/smbus.md","ref":"Universal/smbus.md","articles":[]},"previous":{"title":"IRQ Fix","level":"5.4","depth":1,"path":"Universal/irq.md","ref":"Universal/irq.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search","search-plus","addcssjs","favicon-plus","github-edit","anchors","last-modified","medium-zoom"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"last-modified":{},"output":"_book","addcssjs":{"css":[],"js":[]},"medium-zoom":{},"fontsettings":{"family":"sans","size":2,"theme":"night"},"favicon-plus":{"appleTouchIconPrecomposed152":"","favicon":"","output":"_book"},"highlight":{},"github-edit":{"repo":"dortania/Getting-Started-With-ACPI","branch":"master"},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","sharing":{"all":[],"facebook":false,"google":false,"instapaper":false,"twitter":false,"vk":false,"weibo":false},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"anchors":{},"search-plus":{}},"theme":"default","medium-zoom":{"margin":24,"background":"#363b40","scrollOffset":0},"pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"links":{"sharing":{"google":false,"facebook":false,"twitter":false,"weibo":false,"all":false}},"gitbook":"*"},"file":{"path":"Universal/spoof.md","mtime":"2020-04-14T01:19:11.813Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-14T01:21:46.236Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
<script src="../gitbook/gitbook.js"></script>
<script src="../gitbook/theme.js"></script>
<script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
<script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
<script src="../gitbook/gitbook-plugin-github-edit/plugin.js"></script>
<script src="../gitbook/gitbook-plugin-medium-zoom/medium-zoom.min.js"></script>
<script src="../gitbook/gitbook-plugin-medium-zoom/plugin.js"></script>
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
@@ -515,6 +577,8 @@ Buffer ()
</body>
</html>