dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
@ 2017-01-27  7:38 bugzilla-daemon
  2017-01-27  8:55 ` [Bug 193341] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-27  7:38 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

            Bug ID: 193341
           Summary: AMDGPU: kernel NULL pointer dereferenced with hybrid
                    graphics
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.9.6
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: stefan.kohek@um.si
        Regression: No

Created attachment 253261
  --> https://bugzilla.kernel.org/attachment.cgi?id=253261&action=edit
Kernel config, output of dmesh (with stack trace), output of lspci

The driver crashes when AMDGPU is used with a combination of R5 M230 and
MULLINS.

The driver work with MULLINS OK, when discrete GPU (01:00.0  R5 M230) is
disabled (in bios).

Kernel: Linux LenovoPC 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:26 CET 2017
x86_64 GNU/Linux

Relevant config:
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y

I understand this is experimental case. Anyway, maybe somebody will fix it.  

This case work OK with RADEON driver (even offloading).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
@ 2017-01-27  8:55 ` bugzilla-daemon
  2017-01-27  8:56 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-27  8:55 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Same as https://bugzilla.kernel.org/show_bug.cgi?id=193341 .

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
  2017-01-27  8:55 ` [Bug 193341] " bugzilla-daemon
@ 2017-01-27  8:56 ` bugzilla-daemon
  2017-01-27 15:34 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-27  8:56 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
Sorry, I mean https://bugs.freedesktop.org/show_bug.cgi?id=99387 .

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
  2017-01-27  8:55 ` [Bug 193341] " bugzilla-daemon
  2017-01-27  8:56 ` bugzilla-daemon
@ 2017-01-27 15:34 ` bugzilla-daemon
  2017-02-10 22:34 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-27 15:34 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 253281
  --> https://bugzilla.kernel.org/attachment.cgi?id=253281&action=edit
possible fix

This patch should fix the crash.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-01-27 15:34 ` bugzilla-daemon
@ 2017-02-10 22:34 ` bugzilla-daemon
  2017-02-10 23:14 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-02-10 22:34 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

Marco Piazza (mpiazza@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpiazza@gmail.com

--- Comment #4 from Marco Piazza (mpiazza@gmail.com) ---
Attached logs about amdgpu kernel oops on hybrid gpu (KABINI+HAINAN)

4.9.9: https://bugs.freedesktop.org/show_bug.cgi?id=99387#c13

4.9.2: https://bugs.freedesktop.org/show_bug.cgi?id=99387#c14

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-02-10 22:34 ` bugzilla-daemon
@ 2017-02-10 23:14 ` bugzilla-daemon
  2017-02-16  6:43 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-02-10 23:14 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

--- Comment #5 from Alex Deucher (alexdeucher@gmail.com) ---
Created attachment 254699
  --> https://bugzilla.kernel.org/attachment.cgi?id=254699&action=edit
possible fix

This should fix it (along with the previous patch).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-02-10 23:14 ` bugzilla-daemon
@ 2017-02-16  6:43 ` bugzilla-daemon
  2017-02-28 16:47 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-02-16  6:43 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

Luya Tshimbalanga (luya@fedoraproject.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luya@fedoraproject.org

--- Comment #6 from Luya Tshimbalanga (luya@fedoraproject.org) ---
Greetings,
I am the original reported on Freedesktop bug report. I have a similar hardware
in this case Kaveri and R5 M230 (Hainan or Jet Pro). 
The fix as mentioned on comment #5 is working fine.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-02-16  6:43 ` bugzilla-daemon
@ 2017-02-28 16:47 ` bugzilla-daemon
  2017-02-28 17:02 ` bugzilla-daemon
  2017-03-01  9:56 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-02-28 16:47 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

--- Comment #7 from stefan.kohek@um.si ---
Created attachment 254989
  --> https://bugzilla.kernel.org/attachment.cgi?id=254989&action=edit
Dmesg of  4.10.1-1-ARCH #1 SMP PREEMPT Sun Feb 26 21:08:53 UTC 2017 x86_64
GNU/Linux

I'm not sure if all attached fixes were merged to kernel 4.10.1, but now I get
different error (when trying to use the discrete GPU).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-02-28 16:47 ` bugzilla-daemon
@ 2017-02-28 17:02 ` bugzilla-daemon
  2017-03-01  9:56 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-02-28 17:02 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

--- Comment #8 from Alex Deucher (alexdeucher@gmail.com) ---
Make sure your kernel has this patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c10c8f7c27103bd7ac02d041d9d6e97296d48fc1

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics
  2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-02-28 17:02 ` bugzilla-daemon
@ 2017-03-01  9:56 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-03-01  9:56 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=193341

stefan.kohek@um.si changed:

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

--- Comment #9 from stefan.kohek@um.si ---
With this path is working fine. Thank you. 

Shader heavy games are now rendering twice as fast.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2017-03-01  9:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-27  7:38 [Bug 193341] New: AMDGPU: kernel NULL pointer dereferenced with hybrid graphics bugzilla-daemon
2017-01-27  8:55 ` [Bug 193341] " bugzilla-daemon
2017-01-27  8:56 ` bugzilla-daemon
2017-01-27 15:34 ` bugzilla-daemon
2017-02-10 22:34 ` bugzilla-daemon
2017-02-10 23:14 ` bugzilla-daemon
2017-02-16  6:43 ` bugzilla-daemon
2017-02-28 16:47 ` bugzilla-daemon
2017-02-28 17:02 ` bugzilla-daemon
2017-03-01  9:56 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).