Skip to contentSkip to conversation

Bonaire mobile - No displays being turned on

Bug 105996 [email protected] 1 participant 11 messages Apr 12, 2018 – Aug 14, 2018

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=105996

--- Comment #1 from Shawn Starr <[email protected]> --- Created attachment 138778
--> https://bugs.freedesktop.org/attachment.cgi?id=138778&action=edit
Xorg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #138777|text/x-log                  |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #138778|text/x-log                  |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

Shawn Starr <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #138777|0                           |1

is obsolete| |

--- Comment #2 from Shawn Starr <[email protected]> --- Created attachment 138810
--> https://bugs.freedesktop.org/attachment.cgi?id=138810&action=edit
Kernel dmesg boot with dc_log and drm.debug=0x4

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

--- Comment #3 from Harry Wentland <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

--- Comment #4 from Shawn Starr <[email protected]> --- Created attachment 138858
--> https://bugs.freedesktop.org/attachment.cgi?id=138858&action=edit
kernel dmesg boot with LVDS panels patch added

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

--- Comment #5 from Shawn Starr <[email protected]> --- 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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

Chí-Thanh Christopher Nguyễn <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=105880
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=105996

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #7 from Alex Deucher <[email protected]> ---

*** This bug has been marked as a duplicate of bug 105880 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel