Created attachment 138777 [details] Dmesg krnel boot with dc_log enabled Fedora kernel: 4.17.0-0.rc0.git7.2.fc29.x86_64 (pre -rc1) Boot options: root=UUID=c88abf6f-2561-41e5-bec5-c3b2881d0ffc ro rhgb slub_debug=- cgroup_disable=memory console=tty0 console=ttyUSB0,9600n8 nmi_watchdog=0 audit=0 radeon.cik_support=0 amdgpu.cik_support=1 resume=/dev/sda7 i915.enable_rc6=1 i915.semaphores=1 i915.enable_psr=1 i915.enable_fbc=1 drm_kms_helper.poll=0 mce=off amdgpu.dc=1 amdgpu.dc_log=1 Note: BIOS is in dGPU only mode, so i915 is disabled. both VGA and the LCD (LVDS) panel remain turned off, no display is available. Attached is kernel dmesg and Xorg log files.
Created attachment 138778 [details] Xorg log
Created attachment 138810 [details] Kernel dmesg boot with dc_log and drm.debug=0x4
Created attachment 138813 [details] [review] [PATCH] drm/amd/display: Support LVDS panels Can you see if this fixes things or creates different problems at boot? Looks like we never really supported LVDS with DC but a whole bunch of code is there. If it crashes and burns let me know your dmesg again. I'm hoping everything is in place but it's quite likely that we're missing some more crucial pieces.
Created attachment 138858 [details] kernel dmesg boot with LVDS panels patch added
For reference compiling amdgpu.ko with custom patch on a Fedora kernel: 1) rpm -ivh kernel-4.17.0-0.rc0.git7.2.fc29.src.rpm 2) Copy custom patch into rpmbuild/SOURCES 3) Modify kernel.spec to add patch into the listing 4) cd ~/rpmbuild/SPECS; rpmbuild -bp kernel.spec 5) cd ~/rpmbuild/BUILD/kernel-4.16.fc27/linux-4.17.0-0.rc0.git7.2.fc29.x86_64 6) vi Makefile --> add the proper matching kernel version '-0.rc0.git7.2.fc29.x86_64' to EXTRAVERSION. 7) cp /boot/config-4.17.0-0.rc0.git7.2.fc29.x86_64 ~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/.config 8) cp /lib/modules/4.17.0-0.rc0.git7.2.fc29.x86_64/build/Module.symvers ~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/ 9) cd ~/rpmbuild/BUILD/kernel/4.16.fc17/linux-4.17.0-0.rc0.git7.2.fc29.x86_64/certs && cp ~/rpmbuild/SOURCES/x509.genkey . 10) cd .. && make certs 11) make modules_prepare 12) make M= drivers/gpu/drm/amd/amdgpu modules 13) ./scripts/sign-file sha256 certs/signing_key.pem certs/signing_key.x509 drivers/gpu/drm/amd/amdgpu/amdgpu.ko 14) compress kernel modules with xz 15) Replace/move original in /lib/modules/4.17.0-0.rc0.git7.2.fc29.x86_64/drives/dpu/drm/amd/amdgpu/ of way 16) depmod -a 17) Remove old initramfs and rebuild with dracut
Step 12a) make scripts
*** This bug has been marked as a duplicate of bug 105880 ***
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.