<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Screen corruption on Cayman with dpm enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66932#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Screen corruption on Cayman with dpm enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66932">bug 66932</a>
              from <span class="vcard"><a class="email" href="mailto:g02maran@gmail.com" title="Martin Andersson <g02maran@gmail.com>"> <span class="fn">Martin Andersson</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=66932#c4">comment #4</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=66932#c3">comment #3</a>)
> > 
> > Well I think I'm already building radeon as a module since I have:
> > CONFIG_DRM=m
> > CONFIG_DRM_RADEON=m
> > 
> > or am I missing something?

> That should be fine.  I assumed you were building it in since you were
> messing with CONFIG_EXTRA_FIRMWARE.</span >

I have learnt something new today, CONFIG_EXTRA_FIRMWARE is not needed for
modules.

I tried RADEON_DPM_FORCED_LEVEL_LOW and RADEON_DPM_FORCED_LEVEL_HIGH, but they
didn't work either.

Then I commented out:
ni_dpm_force_performance_level(rdev, RADEON_DPM_FORCED_LEVEL_AUTO);

With that I can boot the system and dpm seems to work, because the fan is nice
and quiet. Also cat /sys/kernel/debug/dri/64/radeon_pm_info says this:
uvd    vclk: 0 dclk: 0
power level 0    sclk: 25000 mclk: 15000 vddc: 900 vddci: 950

Then (with RADEON_DPM_FORCED_LEVEL_AUTO enabled again) I commented out:
if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetForcedLevels, 0) !=
PPSMC_Result_OK)

That resulted in screen corruption but it worked when I instead commented out:
if (ni_send_msg_to_smc_with_parameter(rdev, PPSMC_MSG_SetEnabledLevels, 0) !=
PPSMC_Result_OK)</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>