All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
@ 2016-08-24  5:04 bugzilla-daemon
  2016-08-24 15:16 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-08-24  5:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1398 bytes --]

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

            Bug ID: 97460
           Summary: [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable
                    to handle kernel NULL pointer dereference at
                    0000000000000038
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: shawn.starr@rogers.com

Created attachment 125990
  --> https://bugs.freedesktop.org/attachment.cgi?id=125990&action=edit
Dmesg of kernel bootup - 4.7.0 kernel

When trying to enable Switchable Graphics, I am unable to bootup.

With 4.7.0 it booted but no X display could start
With 4.8-rcX it deadlocks on bootup now.

1) If the LCD (LVDS) display lid is open, no such kernel panic message is
displayed and deadlocks bootup.
2) It the lid is closed, a panic message is shown (and deadlocks bootup).

Trying to enable PRIME on AMDGPU with CIK experimental enabled fails. attached
to this BZ is dmesg of oops from 4.7.0 kernel, the stack is the same for
4.8-rcX.

PRIME has never worked for me on AMDGPU it has worked on regular radeon
however.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2884 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
  2016-08-24  5:04 [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 bugzilla-daemon
@ 2016-08-24 15:16 ` bugzilla-daemon
  2016-08-24 16:50 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-08-24 15:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1517 bytes --]

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

--- Comment #1 from Shawn Starr <shawn.starr@rogers.com> ---
Adding some debug when not using Switchable Graphics:

[   10.048669] [drm] amdgpu_connector_add(): dp bridge encoder name: 0x1e
[   10.048672] [drm] amdgpu_connector_add() no dp_bridge: connecter_type found:
7
[   10.048684] [drm] forcing LVDS-1 connector OFF
[   10.048721] [drm] amdgpu_connector_add(): dp bridge encoder name: 0x20
[   10.048724] [drm] amdgpu_connector_add() no dp_bridge: connecter_type found:
10
[   10.048811] [drm] amdgpu_connector_add(): dp bridge encoder name: 0x20
[   10.048814] [drm] amdgpu_connector_add() no dp_bridge: connecter_type found:
10
[   10.048877] [drm] amdgpu_connector_add(): dp bridge encoder name: 0x21
[   10.048880] [drm] amdgpu_connector_add() no dp_bridge: connecter_type found:
10
[   10.048933] [drm] amdgpu_connector_add(): dp bridge encoder name: 0x15
[   10.048937] [drm] amdgpu_connector_add() no dp_bridge: connecter_type found:
1

When using Switchable Graphics:

[   X.XXXXXXX] [drm] amdgpu_connector_add(): dp bridge encoder name: 0x1e
[   X.XXXXXXX] [drm] amdgpu_connector_add() no dp_bridge: connecter_type found:
-16345243

Then we panic/deadlock.

amdgpu_atombios_get_connector_info_from_object_table() vs
radeon_get_atom_connector_info_from_object_table()

Perhaps there's a bug in the parsing? This works fine with radeon.ko.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2430 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
  2016-08-24  5:04 [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 bugzilla-daemon
  2016-08-24 15:16 ` bugzilla-daemon
@ 2016-08-24 16:50 ` bugzilla-daemon
  2016-08-24 17:08 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-08-24 16:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 440 bytes --]

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

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 126010
  --> https://bugs.freedesktop.org/attachment.cgi?id=126010&action=edit
workaround

This patch should work around the crash.  No idea why the bios is broken in
amdgpu and fine on radeon in the switchable gfx case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1550 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
  2016-08-24  5:04 [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 bugzilla-daemon
  2016-08-24 15:16 ` bugzilla-daemon
  2016-08-24 16:50 ` bugzilla-daemon
@ 2016-08-24 17:08 ` bugzilla-daemon
  2016-08-24 17:58 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-08-24 17:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 385 bytes --]

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 126011
  --> https://bugs.freedesktop.org/attachment.cgi?id=126011&action=edit
additional workaround

Skip analog TV and CV connectors as the hw doesn't support them.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1517 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
  2016-08-24  5:04 [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-08-24 17:08 ` bugzilla-daemon
@ 2016-08-24 17:58 ` bugzilla-daemon
  2016-08-31  3:29 ` bugzilla-daemon
  2016-08-31 13:34 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-08-24 17:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 289 bytes --]

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

--- Comment #4 from Shawn Starr <shawn.starr@rogers.com> ---
This patch worksaround issue for me thank you Alex for your help on IRC
debugging this today

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1202 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
  2016-08-24  5:04 [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-08-24 17:58 ` bugzilla-daemon
@ 2016-08-31  3:29 ` bugzilla-daemon
  2016-08-31 13:34 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-08-31  3:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 257 bytes --]

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

--- Comment #5 from Shawn Starr <shawn.starr@rogers.com> ---
*** Bug 96470 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1380 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
  2016-08-24  5:04 [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-08-31  3:29 ` bugzilla-daemon
@ 2016-08-31 13:34 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-08-31 13:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 517 bytes --]

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Alex Deucher <alexdeucher@gmail.com> ---
Workaround committed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2212 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-31 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24  5:04 [Bug 97460] [drm][amdgpu][CIK] drm_sysfs_connector - BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 bugzilla-daemon
2016-08-24 15:16 ` bugzilla-daemon
2016-08-24 16:50 ` bugzilla-daemon
2016-08-24 17:08 ` bugzilla-daemon
2016-08-24 17:58 ` bugzilla-daemon
2016-08-31  3:29 ` bugzilla-daemon
2016-08-31 13:34 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.