[Bug 66932] Screen corruption on Cayman with dpm enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 16 10:10:23 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66932

--- Comment #5 from Martin Andersson <g02maran at gmail.com> ---
(In reply to comment #4)
> (In reply to comment #3)
> > 
> > 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.

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130716/1df6a951/attachment.html>


More information about the dri-devel mailing list