<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu coolers never stoping linux"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100666#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu coolers never stoping linux"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100666">bug 100666</a>
              from <span class="vcard"><a class="email" href="mailto:hojuruku@gmail.com" title="Luke McKee <hojuruku@gmail.com>"> <span class="fn">Luke McKee</span></a>
</span></b>
        <pre>Alex thanks for your help.

How it gets the rom is probably the same as this shell script using the pci
method listed on that github link in the last comment.

# To read ROM you first need to write `1` to it, then read it, and then write
# `0` to it as described in the documentation. The reason is that the content
# is not provided by default, by writing `1` to it you are telling the driver
# to make it accessible.
CARD_ID=0
CARD_ROM="/sys/class/drm/card${CARD_ID}/device/rom"
FILE_ROM="amdgpu-rom.bin"

echo 1 > $CARD_ROM
cat $CARD_ROM > $FILE_ROM
echo 0 > $CARD_ROM
echo "Saved as ${FILE_ROM}"

--
output:
cat: /sys/class/drm/card0/device/rom: Input/output error
[Not] Saved as amdgpu-rom.bin

Is there any other user-space accessible methods to extract / write the rom in
Linux? Now only focusing on comparing the pp table to other roms not modifying
it.
Maybe the powerplay is an atom-bios issue perhaps. If it's still broken in this
4.16-rc1 version I'm trying out now I'll open a ticket.

For your reference this is the ticket that claims powerplay dpm is fixed in
newer kernels / dc=1 in 4.15.
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - DMESG: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!"
   href="show_bug.cgi?id=100443#c37">https://bugs.freedesktop.org/show_bug.cgi?id=100443#c37</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>