<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu [RX Vega 64] system freeze while gaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109955#c127">Comment # 127</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu [RX Vega 64] system freeze while gaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109955">bug 109955</a>
              from <span class="vcard"><a class="email" href="mailto:haro41@gmx.de" title="haro41@gmx.de">haro41@gmx.de</a>
</span></b>
        <pre>(In reply to Rodney A Morris from <a href="show_bug.cgi?id=109955#c126">comment #126</a>)
<span class="quote">> If you want someone to apply your changes in bug report no. 110777 to the
> kernel for testing, I can so but will not be to it until this weekend. </span >

... thanks for you reply. Yes, that was the idea and would be very nice...

Since i thing the proposed fix is more relevant to this very thread, let me
repeat the proposed patch here:

in 'drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c':

static void vega10_notify_smc_display_change(struct pp_hwmgr *hwmgr,
                bool has_disp)
{
        smum_send_msg_to_smc_with_parameter(hwmgr,
                                            PPSMC_MSG_SetUclkFastSwitch,
                                            has_disp ? 1 : 0);
/* proposed fix for crashes because of frequently mclk level 0/1 switching */
        smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_SetUclkDownHyst,
1);
}

Only module 'amdgpu.ko' needs to be rebuild and copied, like this:

$ cd /home/user/linux-5.x.x && make -j8 -C . M=drivers/gpu/drm/amd/amdgpu

# cp /home/user/linux-5.x.x/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
/lib/modules/5.x.x/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko &&
update-initramfs -u

... 'user' and 'x.x' have to be adapted, most likely ...</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>