https://bugs.freedesktop.org/show_bug.cgi?id=105996
Bug ID: 105996 Summary: [DC][CIK] Bonaire mobile - No displays being turned on Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: shawn.starr@rogers.com
Created attachment 138777 --> https://bugs.freedesktop.org/attachment.cgi?id=138777&action=edit 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.
https://bugs.freedesktop.org/show_bug.cgi?id=105996
--- Comment #1 from Shawn Starr shawn.starr@rogers.com --- Created attachment 138778 --> https://bugs.freedesktop.org/attachment.cgi?id=138778&action=edit Xorg log
https://bugs.freedesktop.org/show_bug.cgi?id=105996
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #138777|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=105996
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #138778|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=105996
Shawn Starr shawn.starr@rogers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #138777|0 |1 is obsolete| |
--- Comment #2 from Shawn Starr shawn.starr@rogers.com --- Created attachment 138810 --> https://bugs.freedesktop.org/attachment.cgi?id=138810&action=edit Kernel dmesg boot with dc_log and drm.debug=0x4
https://bugs.freedesktop.org/show_bug.cgi?id=105996
--- Comment #3 from Harry Wentland harry.wentland@amd.com --- Created attachment 138813 --> https://bugs.freedesktop.org/attachment.cgi?id=138813&action=edit [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.
https://bugs.freedesktop.org/show_bug.cgi?id=105996
--- Comment #4 from Shawn Starr shawn.starr@rogers.com --- Created attachment 138858 --> https://bugs.freedesktop.org/attachment.cgi?id=138858&action=edit kernel dmesg boot with LVDS panels patch added
https://bugs.freedesktop.org/show_bug.cgi?id=105996
--- Comment #5 from Shawn Starr shawn.starr@rogers.com --- 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
https://bugs.freedesktop.org/show_bug.cgi?id=105996
--- Comment #6 from Shawn Starr shawn.starr@rogers.com --- Step 12a) make scripts
https://bugs.freedesktop.org/show_bug.cgi?id=105996
Chí-Thanh Christopher Nguyễn chithanh@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=105880
https://bugs.freedesktop.org/show_bug.cgi?id=105996
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #7 from Alex Deucher alexdeucher@gmail.com ---
*** This bug has been marked as a duplicate of bug 105880 ***
dri-devel@lists.freedesktop.org