<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Display freezes after login with kernel 3.11.0-rc5 on Cayman with dpm=1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68235#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Display freezes after login with kernel 3.11.0-rc5 on Cayman with dpm=1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68235">bug 68235</a>
from <span class="vcard"><a class="email" href="mailto:alexandre.f.demers@gmail.com" title="Alexandre Demers <alexandre.f.demers@gmail.com>"> <span class="fn">Alexandre Demers</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=68235#c22">comment #22</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=68235#c20">comment #20</a>)
> > Ok, if I apply the whole suggested patch but the following, it hangs:
> > @@ -4152,14 +4152,14 @@ int ni_dpm_init(struct radeon_device *rdev)
> > }
> > ni_pi->mclk_rtt_mode_threshold = eg_pi->mclk_edc_wr_enable_threshold;
> >
> > - pi->voltage_control =
> > - radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_VDDC, 0);
> > + pi->voltage_control = false;
> > +// radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_VDDC, 0);
> >
> > - pi->mvdd_control =
> > - radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_MVDDC, 0);
> > + pi->mvdd_control = false;
> > +// radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_MVDDC, 0);
> >
> > - eg_pi->vddci_control =
> > - radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_VDDCI, 0);
> > + eg_pi->vddci_control = false;
> > +// radeon_atom_is_voltage_gpio(rdev, SET_VOLTAGE_TYPE_ASIC_VDDCI, 0);
> >
> > rv770_get_engine_memory_ss(rdev);
>
> So does just applying this portion of the patch by itself fix the hang?</span >
The only way I don't have a "ni_upload_sw_state failed" is by letting
pi->voltage_control = radeon_atom_is_voltage_gpio(rdev,
SET_VOLTAGE_TYPE_ASIC_VDDC, 0); However, I inevitably end up with a hang either
at login or when my session is loading (however, going in a terminal before it
hangs prevents any hang from happening as long as I stay in terminal).
If I patch that part of code, I always have the "ni_upload_sw_state failed"
error, thus not hanging but preventing any dpm.
I can patch everything else or nothing at all (I tried different combinations)
and they don't seem to change a thing about the hang.</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>