<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CHV] Backlight init fails on Surface 3 if module load order is wrong"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96571#c63">Comment # 63</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CHV] Backlight init fails on Surface 3 if module load order is wrong"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96571">bug 96571</a>
from <span class="vcard"><a class="email" href="mailto:jwrdegoede@fedoraproject.org" title="Hans de Goede <jwrdegoede@fedoraproject.org>"> <span class="fn">Hans de Goede</span></a>
</span></b>
<pre>Hi All,
I was not aware that this bug existed, @youling257 pointed me here.
Note that the generic issue from this bug, when using a generic kernel with
most drivers as modules, has been fixed long ago (January 2017)
I wrote a patch which makes the pwm-core load the module when the pwm device is
being looked-up by the i915 driver:
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b526a314263ea217b8fa9758dca5dc245fd49997">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b526a314263ea217b8fa9758dca5dc245fd49997</a>
This does require that at least the i915 driver is a module, so that it is no
initialized before request_module is possible. This allows the pwm driver
itself to also be a module. Note that if the pwm driver is a module and the
i915 driver is loaded by the initrd; then the pwm-driver and all of its
dependencies must also be in the initrd. I've patches dracut to get this right
a long time ago, I do not know about other initrd generating tools.
As for having i915 / everything builtin that simply is not possible with the
current state of things. IIRC having i915 builtin has other issues too (at
least with Fedora we hit other issues when building in the drm/kms drivers).
So IMHO this bug can be closed now, as the original issue is solved as long as
the i195 driver is a module and building it in is simply not a supportable case
on this hardware.
Regards,
Hans</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>