Summary: Laptop running Fedora 28 with kernel 4.15 (any rc) will not reboot or shutdown, and vgaswitcheroo isn't working so I end up with the hotter discrete GPU). When booting kernel 4.14.14, system can be rebooted, shutdown, and i915 graphics work fine (switcheroo'd). git bisect blames commit 5b54eddd3920e9f6f1a6d972454baf350cbae77e Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Date: Wed Aug 30 17:12:06 2017 +0100 drm/i915: mark all device info struct with __initconst As recommended by Chris. v2: Switch from __initdata to __initconst.
Created attachment 136982 [details] dmesg.log
Created attachment 136983 [details] lspci -vvnn
MacbookPro 8,2 (2011) Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz
Created attachment 136984 [details] git bisect log
"will not reboot or shutdown" with either gnome-shell Restart/Poweroff, or reboot -f; whereas sysrq b does reboot.
Sigh. Revert then solve the bloat another way. I think we can move it to a seperate module and only load it during pci_probe. (That module can then play some tricks to construct driver_info using private commands to allow feature enabling.)
commit 5db47e37b38755c5e26e6b8fbc1a32ce73495940 Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Date: Mon Jan 29 08:33:46 2018 +0000 Revert "drm/i915: mark all device info struct with __initconst" This reverts commit 5b54eddd3920e9f6f1a6d972454baf350cbae77e. Conflicts: drivers/gpu/drm/i915/i915_pci.c Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104805 Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Fixes: 5b54eddd3920 ("drm/i915: mark all device info struct with __initconst") Link: https://patchwork.freedesktop.org/patch/msgid/20180129083346.29173-1-lionel.g.landwerlin@intel.com
Closing, please re-open if still occurs.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.