All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
@ 2017-12-04 11:02 bugzilla-daemon
  2017-12-04 11:03 ` bugzilla-daemon
                   ` (52 more replies)
  0 siblings, 53 replies; 54+ messages in thread
From: bugzilla-daemon @ 2017-12-04 11:02 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 104064
           Summary: (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at
                    drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu
                    _dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: taijian@posteo.de

Created attachment 135921
  --> https://bugs.freedesktop.org/attachment.cgi?id=135921&action=edit
relevant dmesg output

I am getting repeated gpu resets on 4.15-rc2 with my hybrid laptop
(i7-7700HQ/RX470) with amdgpu.dc=1 set on the command line. Something seems to
be off with power management, as the dGPU does not fully power down, even when
not in use. dmesg attached, lspci follows.

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

[-- Attachment #1.2: Type: text/html, Size: 2560 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
@ 2017-12-04 11:03 ` bugzilla-daemon
  2018-02-01  6:17 ` bugzilla-daemon
                   ` (51 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2017-12-04 11:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from taijian@posteo.de ---
Created attachment 135922
  --> https://bugs.freedesktop.org/attachment.cgi?id=135922&action=edit
relevant output of #lspci -vv

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

[-- Attachment #1.2: Type: text/html, Size: 1386 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
  2017-12-04 11:03 ` bugzilla-daemon
@ 2018-02-01  6:17 ` bugzilla-daemon
  2018-02-01  6:32 ` bugzilla-daemon
                   ` (50 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-01  6:17 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Bjorn <bjorn.aili@gmail.com> ---
Created attachment 137103
  --> https://bugs.freedesktop.org/attachment.cgi?id=137103&action=edit
dmesg output without amdgpu.dc=1

I'm seemingly hitting this too, on 4.15. Note that I get it with or without
amdgpu.dc=1.

Might also be relevant that on 4.14 and earlier, I would get kernel oopsies on
resume from suspend, with a very similar dmesg output (oopsie would happen in
the same dm_suspend function and same stack trace, as far as I can recall).
While I don't have any saved dmesg's from that, I could boot an old kernel to
obtain one if it seems useful.

I have slightly different hardware (eg, Radeon RX 570), but it's also a hybrid
laptop.

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

[-- Attachment #1.2: Type: text/html, Size: 1957 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
  2017-12-04 11:03 ` bugzilla-daemon
  2018-02-01  6:17 ` bugzilla-daemon
@ 2018-02-01  6:32 ` bugzilla-daemon
  2018-02-27  0:39 ` bugzilla-daemon
                   ` (49 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-01  6:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Bjorn <bjorn.aili@gmail.com> ---
Probably also worth noting that as of 4.15, my laptop hangs with a black screen
on suspend/resume. Magic SysRq seems to be about the only thing the computer
responds to if I close and then open the lid. It seems somewhat likely this is
related, due to my aforementioned kernel oopsies on resumes and the fact they
had very similar stack traces to these warnings.

I'm not sure how to get any relevant logging output from these hangs though.
Any suggestions?

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

[-- Attachment #1.2: Type: text/html, Size: 1600 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-02-01  6:32 ` bugzilla-daemon
@ 2018-02-27  0:39 ` bugzilla-daemon
  2018-02-27  3:36 ` bugzilla-daemon
                   ` (48 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27  0:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Harry Wentland <harry.wentland@amd.com> ---
We have a few new patches in our staging trees relating to suspend and driver
unload.

Would you be able to try amd-staging-drm-next or drm-next-4.17-wip from
https://cgit.freedesktop.org/~agd5f/linux/?h=drm-next-4.17-wip and see if the
issue is fixed there?

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

[-- Attachment #1.2: Type: text/html, Size: 1498 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-02-27  0:39 ` bugzilla-daemon
@ 2018-02-27  3:36 ` bugzilla-daemon
  2018-02-27 11:24 ` bugzilla-daemon
                   ` (47 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27  3:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Bjorn <bjorn.aili@gmail.com> ---
I certainly wouldn't mind.

I've never really done anything of the sort before however, so is there an easy
way for me to set it up? For reference, I'm on Ubuntu 17.10 and while I know my
way around git and compilers fairly well, I've never compiled or installed a
custom kernel or kernel module before.

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

[-- Attachment #1.2: Type: text/html, Size: 1444 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-02-27  3:36 ` bugzilla-daemon
@ 2018-02-27 11:24 ` bugzilla-daemon
  2018-02-27 13:57 ` bugzilla-daemon
                   ` (46 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 11:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from taijian@posteo.de ---
I'll give 4.17-wip a whirl, cloning and building right now.

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

[-- Attachment #1.2: Type: text/html, Size: 1166 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-02-27 11:24 ` bugzilla-daemon
@ 2018-02-27 13:57 ` bugzilla-daemon
  2018-02-27 14:25 ` bugzilla-daemon
                   ` (45 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 13:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from taijian@posteo.de ---
Created attachment 137643
  --> https://bugs.freedesktop.org/attachment.cgi?id=137643&action=edit
snippet from make protocol

4.17-wip does not compile for me, see the attached error snippet.

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

[-- Attachment #1.2: Type: text/html, Size: 1446 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-02-27 13:57 ` bugzilla-daemon
@ 2018-02-27 14:25 ` bugzilla-daemon
  2018-02-27 15:26 ` bugzilla-daemon
                   ` (44 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 14:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to taijian from comment #7)
> Created attachment 137643 [details]
> snippet from make protocol
> 
> 4.17-wip does not compile for me, see the attached error snippet.

Fixed.

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

[-- Attachment #1.2: Type: text/html, Size: 1628 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-02-27 14:25 ` bugzilla-daemon
@ 2018-02-27 15:26 ` bugzilla-daemon
  2018-02-27 15:30 ` bugzilla-daemon
                   ` (43 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 15:26 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #135921|0                           |1
        is obsolete|                            |
 Attachment #137103|0                           |1
        is obsolete|                            |
 Attachment #137643|0                           |1
        is obsolete|                            |

--- Comment #9 from taijian@posteo.de ---
Created attachment 137646
  --> https://bugs.freedesktop.org/attachment.cgi?id=137646&action=edit
dmesg with kernel amd-staging-4.17-wip-c6bcaec0aa3e

OK, so on boot everything seems fine and dandy, less error messages than
before. 

However, please note the 213.xxx and 480.xxx marks: This is where I actually
use the dGPU (with DRI_PRIME=1 glxinfo). Something is clearly not right here...

Also, power consumption as per powertop has not improved over 4.15/16, the dGPU
clearly does not fully power down when not in use (~25W vs ~12W with amdgpu
blacklisted).

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

[-- Attachment #1.2: Type: text/html, Size: 3133 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-02-27 15:26 ` bugzilla-daemon
@ 2018-02-27 15:30 ` bugzilla-daemon
  2018-02-27 15:54 ` bugzilla-daemon
                   ` (42 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 15:30 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137646|0                           |1
        is obsolete|                            |

--- Comment #10 from taijian@posteo.de ---
Created attachment 137647
  --> https://bugs.freedesktop.org/attachment.cgi?id=137647&action=edit
dmesg with kernel amd-staging-4.17-wip-c6bcaec0aa3e

accidentially uploaded the trunkated version... PEBKEC...

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

[-- Attachment #1.2: Type: text/html, Size: 2364 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-02-27 15:30 ` bugzilla-daemon
@ 2018-02-27 15:54 ` bugzilla-daemon
  2018-02-27 16:02 ` bugzilla-daemon
                   ` (41 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 15:54 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from taijian@posteo.de ---
Addendum: What DOES work now without crashing the system is dynamically en- and
disabling the dGPU via

# echo "\\_SB.PCI0.PEG0.PEGP._{OFF|ON}" > /proc/acpi/call

So that is definitely progress!

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

[-- Attachment #1.2: Type: text/html, Size: 1321 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-02-27 15:54 ` bugzilla-daemon
@ 2018-02-27 16:02 ` bugzilla-daemon
  2018-02-27 16:07 ` bugzilla-daemon
                   ` (40 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 16:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to taijian from comment #11)
> Addendum: What DOES work now without crashing the system is dynamically en-
> and disabling the dGPU via
> 
> # echo "\\_SB.PCI0.PEG0.PEGP._{OFF|ON}" > /proc/acpi/call
> 
> So that is definitely progress!

Are you messing with that while the driver is loaded?  Doing so will cause
problems because you're changing the hw state behind the driver's back.

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

[-- Attachment #1.2: Type: text/html, Size: 1656 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-02-27 16:02 ` bugzilla-daemon
@ 2018-02-27 16:07 ` bugzilla-daemon
  2018-02-27 16:41 ` bugzilla-daemon
                   ` (39 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 16:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from taijian@posteo.de ---
(In reply to Alex Deucher from comment #12)
> (In reply to taijian from comment #11)
> > Addendum: What DOES work now without crashing the system is dynamically en-
> > and disabling the dGPU via
> > 
> > # echo "\\_SB.PCI0.PEG0.PEGP._{OFF|ON}" > /proc/acpi/call
> > 
> > So that is definitely progress!
> 
> Are you messing with that while the driver is loaded?  Doing so will cause
> problems because you're changing the hw state behind the driver's back.

Yeah, I know. The problem is that I cannot unload the driver, because modprobe
always complains about it being in use. However, I found that with 4.17-wip the
system actually remains stable after disabling the hardware, as long as I don't
try to use it - which was not the case before, where it would crash much
faster.

But seriously, what I'm doing is that I have two boot entries, one that
blacklists amdgpu and does the acpi_call thingy and one that doesn't. So one
for mobile usage, one for gaming. Would be nice, though, if I did not need to
reboot to switch between the two use cases...

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

[-- Attachment #1.2: Type: text/html, Size: 2353 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-02-27 16:07 ` bugzilla-daemon
@ 2018-02-27 16:41 ` bugzilla-daemon
  2018-02-27 20:40 ` bugzilla-daemon
                   ` (38 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 16:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 137651
  --> https://bugs.freedesktop.org/attachment.cgi?id=137651&action=edit
patch to test

Can you try this patch and append amdgpu.force_atpx=1 to the kernel command
line in grub?  Does it help?

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

[-- Attachment #1.2: Type: text/html, Size: 1580 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (13 preceding siblings ...)
  2018-02-27 16:41 ` bugzilla-daemon
@ 2018-02-27 20:40 ` bugzilla-daemon
  2018-02-27 21:30 ` bugzilla-daemon
                   ` (37 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 20:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from taijian@posteo.de ---
(In reply to Alex Deucher from comment #14)
> Created attachment 137651 [details] [review]
> patch to test
> 
> Can you try this patch and append amdgpu.force_atpx=1 to the kernel command
> line in grub?  Does it help?

Nope. To be precise: After invoking 'DRI_PRIME=1 glxinfo', the system crashed
before I was able to run dmesg (as in: the screen froze and it became
completely unresponsive). So that was not really an improvement. I'm gonna go
ahead and try the latest git head from that repo now, before I had only applied
your patch on top of c6bcaec0aa3e.

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

[-- Attachment #1.2: Type: text/html, Size: 2031 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (14 preceding siblings ...)
  2018-02-27 20:40 ` bugzilla-daemon
@ 2018-02-27 21:30 ` bugzilla-daemon
  2018-02-27 21:44 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 21:30 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137647|0                           |1
        is obsolete|                            |

--- Comment #16 from taijian@posteo.de ---
Created attachment 137668
  --> https://bugs.freedesktop.org/attachment.cgi?id=137668&action=edit
dmesg with kernel amd-staging-4.17-wip-d0d4f398ddc0

here is the new dmesg with all of todays patches applied (up to d0d4f398ddc0). 

The usual (DRI_PRIME=1 glxinfo) happens at 66.xxx - and this time around, the
system did not crash!

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

[-- Attachment #1.2: Type: text/html, Size: 2490 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (15 preceding siblings ...)
  2018-02-27 21:30 ` bugzilla-daemon
@ 2018-02-27 21:44 ` bugzilla-daemon
  2018-03-01 13:13 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-02-27 21:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from taijian@posteo.de ---
And that was premature... The second invocation of DRI_PRIME=1 does crash the
system (as in: total freeze, nothing doing except for hard reboot). 

The system starts up OK, power consumption is way down compared to before
(~11W), DRI_PRIME=1 glxinfo triggers the dGPU to on, then it turns off again.
Everything fine so far. But the second invocation causes the system to die, and
this is consistent over several attempts now. So we are making progress, but
are not quite there yet...

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

[-- Attachment #1.2: Type: text/html, Size: 1599 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (16 preceding siblings ...)
  2018-02-27 21:44 ` bugzilla-daemon
@ 2018-03-01 13:13 ` bugzilla-daemon
  2018-03-01 14:44 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-01 13:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from taijian@posteo.de ---
Adding to the above comment after some further testing:

I rebuild earlier today with HEAD at c2637e788da7. Startup went well, error
messages were as before. I then launched Steam, which seemed to power up the
dGPU for a short time, before it turned off again. So far, so good.

I the started a gaming session, using the dGPU. Performance was about even with
4.16rc3 without dc. There were some artifacts/stuttering when scrolling, but I
read on Phoronix that dc likely works  best with mesa 18.0/LLVM6, which are not
out yet. So nothing really worrying.

However, when I quit the game and wanted to do another dmesg dump to look at
and upload here, the computer froze again and became completely unresponsive
before I could get to that. So it seems that the problem is not with the dGPU
powering up for the second time, but with it powering down for the second time
in a session.

Any ideas why that might be or what kinds of test I could do to help narrow
this down?

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

[-- Attachment #1.2: Type: text/html, Size: 2095 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (17 preceding siblings ...)
  2018-03-01 13:13 ` bugzilla-daemon
@ 2018-03-01 14:44 ` bugzilla-daemon
  2018-03-01 16:11 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-01 14:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Alex Deucher <alexdeucher@gmail.com> ---
were you using the patch and module option from comment 14?

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

[-- Attachment #1.2: Type: text/html, Size: 1254 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (18 preceding siblings ...)
  2018-03-01 14:44 ` bugzilla-daemon
@ 2018-03-01 16:11 ` bugzilla-daemon
  2018-03-01 16:39 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-01 16:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from taijian@posteo.de ---
(In reply to Alex Deucher from comment #19)
> were you using the patch and module option from comment 14?

I was using the drm-next-4.17-wip branch and pulled from commit        
c2637e788da7a1cd535185e253ecc267b0410aff (current HEAD). I am fairly certain
that this does contain the patch you mentioned, amongst other things. 

Kernel command line options used were amdgpu.dc=1 and amdgpu.force_atpx=1.

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

[-- Attachment #1.2: Type: text/html, Size: 1631 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (19 preceding siblings ...)
  2018-03-01 16:11 ` bugzilla-daemon
@ 2018-03-01 16:39 ` bugzilla-daemon
  2018-03-01 16:48 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-01 16:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #21 from taijian@posteo.de ---
Now testing the same build, but with amdgpu.dc=0 amdgpu.force_atpx=1.

Here the system does  not crash on repeated invocations of the dGPU (via
DRI_PRIME=1 glxinfo), but it also does not fully power down, as confirmed by
powertop (26-28 W power consumption, vs ~12W with dc=1 and the dGPU not in
use).

So the option to force atpx apparently does nothing without dc. Is that
intended? (Sorry, I don't speak C, so I really cannot tell...)

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

[-- Attachment #1.2: Type: text/html, Size: 1554 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (20 preceding siblings ...)
  2018-03-01 16:39 ` bugzilla-daemon
@ 2018-03-01 16:48 ` bugzilla-daemon
  2018-03-01 19:59 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-01 16:48 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #22 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to taijian from comment #21)
> Now testing the same build, but with amdgpu.dc=0 amdgpu.force_atpx=1.
> 
> Here the system does  not crash on repeated invocations of the dGPU (via
> DRI_PRIME=1 glxinfo), but it also does not fully power down, as confirmed by
> powertop (26-28 W power consumption, vs ~12W with dc=1 and the dGPU not in
> use).
> 
> So the option to force atpx apparently does nothing without dc. Is that
> intended? (Sorry, I don't speak C, so I really cannot tell...)

Please attach your dmesg output.  DC or not-DC shouldn't affect the runtime pm.

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

[-- Attachment #1.2: Type: text/html, Size: 1836 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (21 preceding siblings ...)
  2018-03-01 16:48 ` bugzilla-daemon
@ 2018-03-01 19:59 ` bugzilla-daemon
  2018-03-01 20:01 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-01 19:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #23 from taijian@posteo.de ---
Created attachment 137732
  --> https://bugs.freedesktop.org/attachment.cgi?id=137732&action=edit
dmesg with dc=1

Here is the first dmesg output. This was was generated with amdgpu.dc=1 and the
command "DRI_PRIME=1 glxgears || dmesg > dmesg.dc1.post". Shortly after writing
the file, the computer then crashed again, so I was not able to collect any
more debugging data.

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

[-- Attachment #1.2: Type: text/html, Size: 1622 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (22 preceding siblings ...)
  2018-03-01 19:59 ` bugzilla-daemon
@ 2018-03-01 20:01 ` bugzilla-daemon
  2018-03-06  9:29 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-01 20:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #24 from taijian@posteo.de ---
Created attachment 137733
  --> https://bugs.freedesktop.org/attachment.cgi?id=137733&action=edit
dmesg with dc=0

This is booting with dc=0. Again, the command run was "DRI_PRIME=1 glxgears ||
dmesg > dmesg.dc0.post".

Interestingly, this time the computer did not crash and there is a message
about a gpu crash dump in there, which I unfortunately only saw after I
rebootet. I'll do it again to get that and then file a bug against DRI/Intel
here as suggested by dmesg.

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

[-- Attachment #1.2: Type: text/html, Size: 1725 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (23 preceding siblings ...)
  2018-03-01 20:01 ` bugzilla-daemon
@ 2018-03-06  9:29 ` bugzilla-daemon
  2018-03-06  9:38 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-06  9:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #25 from taijian@posteo.de ---
Created attachment 137816
  --> https://bugs.freedesktop.org/attachment.cgi?id=137816&action=edit
dmesg with 4.17-wip-7f462340284582c0180384c046ddd6dda03888b1 and dc=1

I have rebuilt with the latest commits to 4.17-wip (up to      
7f462340284582c0180384c046ddd6dda03888b1) and lo and behold: I was able to run
my usual DRI_PRIME=1 glxgears *without* the system crashing afterwards. So that
is quite a bit of progress. PM also seems to work, as battery drain is around
11W while composing this message, and noticeably higher only when explicitly
invoking the dGPU. Will test with dc=0 soon.

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

[-- Attachment #1.2: Type: text/html, Size: 1939 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (24 preceding siblings ...)
  2018-03-06  9:29 ` bugzilla-daemon
@ 2018-03-06  9:38 ` bugzilla-daemon
  2018-03-06 13:32 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-06  9:38 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137816|0                           |1
        is obsolete|                            |

--- Comment #26 from taijian@posteo.de ---
Created attachment 137817
  --> https://bugs.freedesktop.org/attachment.cgi?id=137817&action=edit
dmesg with 4.17-wip-7f462340284582c0180384c046ddd6dda03888b1 and dc=1

OK, so maybe my enthusiasm was premature. I decided to do a second invocation
of the dGPU within the same session and this time it did crash shortly
thereafter. But, I was able to get some dmesg output first. Notice that on the
second invocation there are a bunch of snd_hda_intel bug messages, maybe those
have something to do with it?

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

[-- Attachment #1.2: Type: text/html, Size: 2701 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (25 preceding siblings ...)
  2018-03-06  9:38 ` bugzilla-daemon
@ 2018-03-06 13:32 ` bugzilla-daemon
  2018-03-07 10:56 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-06 13:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #27 from taijian@posteo.de ---
Created attachment 137825
  --> https://bugs.freedesktop.org/attachment.cgi?id=137825&action=edit
dmesg with 4.17-wip-7f462340284582c0180384c046ddd6dda03888b1 and dc=0

Here the promised output with dc=0.

Interesting thing happening here: On system startup, the dGPU stays powered off
until explicitly invoked. After that, the system does not crash and the gpu
dump from before seems to be gone. However, the dGPU also refuses to fully
power down again and can be seen as continuing to consume power via powertop.
So dc=0 vs dc=1 continues to have an impact wrt pm.

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

[-- Attachment #1.2: Type: text/html, Size: 1915 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (26 preceding siblings ...)
  2018-03-06 13:32 ` bugzilla-daemon
@ 2018-03-07 10:56 ` bugzilla-daemon
  2018-03-10 22:08 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-07 10:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #28 from taijian@posteo.de ---
Created attachment 137852
  --> https://bugs.freedesktop.org/attachment.cgi?id=137852&action=edit
dmesg with 4.17-wip-4ac51159819d and dc=1

And here is my daily testing report (do you guys actually read them anymore?).

Build 4ac51159819d seems to ba a clear regression: dc=1 does not even boot -
after enetring my LUKS passphrase, the screen just freezes, and that is that.

dc=0 does boot and does not crash when running DRI_PRIME=1 glxgears, however,
glxgears is no longer synced to my monitors refresh rate, for some reason (48
vs 60 FPS). Also pm still does not work wrt powering down the dGPU.

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

[-- Attachment #1.2: Type: text/html, Size: 1894 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (27 preceding siblings ...)
  2018-03-07 10:56 ` bugzilla-daemon
@ 2018-03-10 22:08 ` bugzilla-daemon
  2018-03-12 13:45 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-10 22:08 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137852|0                           |1
        is obsolete|                            |

--- Comment #29 from taijian@posteo.de ---
Created attachment 137979
  --> https://bugs.freedesktop.org/attachment.cgi?id=137979&action=edit
dmesg with 4.17-wip-d1eeebbd78fd and dc=1

OK, I've gotten around to doing some more testing and playing around with some
more kcl setting, in order to better debug my crashing issues. Here's what I
found.

1) I believe that the crashing issues I kept having with force_atpx=1 and dc=1
after repeated or longer lasting invocations of the dGPU might have been
because of the shitty ACPI/UEFI implementation of my laptop vendor. I have now
tried setting acpi.osi=!* acpi.osi='Windos 2015' and voilá, the crashing has
vanished. So that seems to be a problem on that end, unfortunately improbable
to ever get properly fixed... But at least there is a workaround and the
problem does not appear to be with your code!

2) The inconsistend dpm behaviour between dc=1 and dc=0 is still a thing.
force_atpx=1 plus dc=1 gives me wonderful dpm with the dGPU fully powering down
between uses. force_atpx=1 plus dc=0 does not. No idea what's up with that.

3) There is a new bug, probably introduced by this commit:
https://cgit.freedesktop.org/~agd5f/linux/patch/?id=7c8c32854566dd9fb2ad4108029670604bc77b19.
On hybrid gpu laptops amdgpu does not actually control the brightness of the
internal screen, because that is controlled by the iGPU. So amdgpu should
probably not try. Maybe put a check in there? There is a crash referenced
related to this issue in the attached dmesg output, look starting at
[10.234751].

I hope this helps and isn't too late for a last minute pull to drm-next for
4.17, because I'd really like to see the force_atpx option in there!

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

[-- Attachment #1.2: Type: text/html, Size: 3916 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (28 preceding siblings ...)
  2018-03-10 22:08 ` bugzilla-daemon
@ 2018-03-12 13:45 ` bugzilla-daemon
  2018-03-12 14:21 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 13:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #30 from Harry Wentland <harry.wentland@amd.com> ---
(In reply to taijian from comment #29)
> 3) There is a new bug, probably introduced by this commit:
> https://cgit.freedesktop.org/~agd5f/linux/patch/
> ?id=7c8c32854566dd9fb2ad4108029670604bc77b19. On hybrid gpu laptops amdgpu
> does not actually control the brightness of the internal screen, because
> that is controlled by the iGPU. So amdgpu should probably not try. Maybe put
> a check in there? There is a crash referenced related to this issue in the
> attached dmesg output, look starting at [10.234751].
> 

The patch you're referencing only applies to legacy display code (dc=0). The
stacktrace you show is with DC display code (dc=1). 

This probably happens because we advertise a backlight device if we have an eDP
connector available, even if it's disconnected. See
https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c?h=drm-next-4.17-wip#n3601
for more info.

Unfortunately I can't comment on the atpx stuff.

Harry

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

[-- Attachment #1.2: Type: text/html, Size: 2448 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (29 preceding siblings ...)
  2018-03-12 13:45 ` bugzilla-daemon
@ 2018-03-12 14:21 ` bugzilla-daemon
  2018-03-12 15:07 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 14:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #31 from taijian@posteo.de ---
(In reply to Harry Wentland from comment #30)

> This probably happens because we advertise a backlight device if we have an
> eDP connector available, even if it's disconnected. See
> https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/amd/display/
> amdgpu_dm/amdgpu_dm.c?h=drm-next-4.17-wip#n3601 for more info.

OK, that makes sense, even if it is unfortunate. I'm fairly certain that my
HDMI and DP connectors are connected to the dGPU, even if I never use them. So
it makes sense that a backlight device get's created for that, I guess. Too bad
that the code commentary says that there is no way to check whether it is
actually needed, apparently.

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

[-- Attachment #1.2: Type: text/html, Size: 1955 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (30 preceding siblings ...)
  2018-03-12 14:21 ` bugzilla-daemon
@ 2018-03-12 15:07 ` bugzilla-daemon
  2018-03-12 15:54 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 15:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #32 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to taijian from comment #29)
> 2) The inconsistend dpm behaviour between dc=1 and dc=0 is still a thing.
> force_atpx=1 plus dc=1 gives me wonderful dpm with the dGPU fully powering
> down between uses. force_atpx=1 plus dc=0 does not. No idea what's up with
> that.

The platform claims to have an eDP panel connected, apparently even in hybrid
graphics mode when it's not actually in use.  The non-DC code assumes that if
there is an eDP panel, it's always connected since it's a non-removable display
and it shouldn't be present if there isn't one.  Because the driver thinks a
display is connected, the dGPU is kept on.

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

[-- Attachment #1.2: Type: text/html, Size: 1878 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (31 preceding siblings ...)
  2018-03-12 15:07 ` bugzilla-daemon
@ 2018-03-12 15:54 ` bugzilla-daemon
  2018-03-12 15:56 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 15:54 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #33 from Harry Wentland <harry.wentland@amd.com> ---
Created attachment 138027
  --> https://bugs.freedesktop.org/attachment.cgi?id=138027&action=edit
[PATCH] Only register backlight device if embedded panel connected

Can you see if this help with the backlight device registration?

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

[-- Attachment #1.2: Type: text/html, Size: 1704 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (32 preceding siblings ...)
  2018-03-12 15:54 ` bugzilla-daemon
@ 2018-03-12 15:56 ` bugzilla-daemon
  2018-03-12 17:56 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 15:56 UTC (permalink / raw)
  To: dri-devel


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

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

Harry Wentland <harry.wentland@amd.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #138027|0                           |1
        is obsolete|                            |

--- Comment #34 from Harry Wentland <harry.wentland@amd.com> ---
Created attachment 138028
  --> https://bugs.freedesktop.org/attachment.cgi?id=138028&action=edit
[PATCH] Only register backlight device if embedded panel connected

Use this instead.

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

[-- Attachment #1.2: Type: text/html, Size: 2557 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (33 preceding siblings ...)
  2018-03-12 15:56 ` bugzilla-daemon
@ 2018-03-12 17:56 ` bugzilla-daemon
  2018-03-12 17:59 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 17:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #35 from taijian@posteo.de ---
Created attachment 138032
  --> https://bugs.freedesktop.org/attachment.cgi?id=138032&action=edit
dmesg output with the patch from comment #34

OK, I've recompiled the kernel with v2 of your patch (comment #34) and tested
for three power cycles. The problem with the backlight seems to be gone, so
presumably the patch did what you intended it to do? Also, so far the system
seems stable, the dGPU powers up AND down nicely.

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

[-- Attachment #1.2: Type: text/html, Size: 1802 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (34 preceding siblings ...)
  2018-03-12 17:56 ` bugzilla-daemon
@ 2018-03-12 17:59 ` bugzilla-daemon
  2018-03-12 18:00 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 17:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #36 from taijian@posteo.de ---
Also, here are my backlight devices:

[gunnar@alien-arch ~]$ ls /sys/class/backlight
insgesamt 0
drwxr-xr-x  2 root root 0 12. Mär 18:05 .
drwxr-xr-x 62 root root 0 12. Mär 18:05 ..
lrwxrwxrwx  1 root root 0 12. Mär 18:05 intel_backlight ->
../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
[gunnar@alien-arch ~]$

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

[-- Attachment #1.2: Type: text/html, Size: 1470 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (35 preceding siblings ...)
  2018-03-12 17:59 ` bugzilla-daemon
@ 2018-03-12 18:00 ` bugzilla-daemon
  2018-03-12 18:07 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 18:00 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #37 from taijian@posteo.de ---
Ans suspend-to-ram and wake-up-again also works! That also was kinda buggy for
me ever since 4.15...

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

[-- Attachment #1.2: Type: text/html, Size: 1210 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (36 preceding siblings ...)
  2018-03-12 18:00 ` bugzilla-daemon
@ 2018-03-12 18:07 ` bugzilla-daemon
  2018-03-12 18:09 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 18:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #38 from Harry Wentland <harry.wentland@amd.com> ---
Thanks, taijian. I'll queue the patch up for merge.

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

[-- Attachment #1.2: Type: text/html, Size: 1211 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (37 preceding siblings ...)
  2018-03-12 18:07 ` bugzilla-daemon
@ 2018-03-12 18:09 ` bugzilla-daemon
  2018-03-21 21:23 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-12 18:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #39 from taijian@posteo.de ---
(In reply to Harry Wentland from comment #38)
> Thanks, taijian. I'll queue the patch up for merge.

Hey, thank YOU for fixing this!

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

[-- Attachment #1.2: Type: text/html, Size: 1316 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (38 preceding siblings ...)
  2018-03-12 18:09 ` bugzilla-daemon
@ 2018-03-21 21:23 ` bugzilla-daemon
  2018-03-21 22:15 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-21 21:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #40 from taijian@posteo.de ---
OK, I hate to be necrobumping this, but I've continued to follow and test
drm-next-4.17-wip and it seems that not only has the backlight patch from #34
not made it in yet, but also that the forced atpx option from #14 has also
disappeared after all of the vega12 additions. Soooo, are these things going to
come back?

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

[-- Attachment #1.2: Type: text/html, Size: 1430 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (39 preceding siblings ...)
  2018-03-21 21:23 ` bugzilla-daemon
@ 2018-03-21 22:15 ` bugzilla-daemon
  2018-03-22  0:29 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-21 22:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #41 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to taijian from comment #40)
> OK, I hate to be necrobumping this, but I've continued to follow and test
> drm-next-4.17-wip and it seems that not only has the backlight patch from
> #34 not made it in yet, but also that the forced atpx option from #14 has
> also disappeared after all of the vega12 additions. Soooo, are these things
> going to come back?

Sorry, my impression from comment 29 was that messing the the OSI string fixed
the issue.  Is that not the case?  Do you still need to force ATPX?  If we, we
can just add a quirk so the driver does it automatically.

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

[-- Attachment #1.2: Type: text/html, Size: 1871 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (40 preceding siblings ...)
  2018-03-21 22:15 ` bugzilla-daemon
@ 2018-03-22  0:29 ` bugzilla-daemon
  2018-03-22  2:11 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-22  0:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #42 from taijian@posteo.de ---
(In reply to Alex Deucher from comment #41)

> Sorry, my impression from comment 29 was that messing the the OSI string
> fixed the issue.  Is that not the case?  Do you still need to force ATPX? 
> If we, we can just add a quirk so the driver does it automatically.

Ah, sorry if that was unclear. No, messing with the OSI string did help with
the intermittend crashing I was experiencing. The backlight patch by Harry in
#34 worked even better, though.

Forcing ATPX is still needed for the dGPU to properly power down when not in
use. Messing with the OSI string does absolutely nothing in that regard, only
forcing ATPX helps with that. So yes, either the option to force this behaviour
via the kcl or a driver quirk to do this would be very much appreciated!

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

[-- Attachment #1.2: Type: text/html, Size: 2004 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (41 preceding siblings ...)
  2018-03-22  0:29 ` bugzilla-daemon
@ 2018-03-22  2:11 ` bugzilla-daemon
  2018-03-22 11:44 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-22  2:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #43 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 138267
  --> https://bugs.freedesktop.org/attachment.cgi?id=138267&action=edit
add an ATPX quirk

Does this patch work?

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

[-- Attachment #1.2: Type: text/html, Size: 1508 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (42 preceding siblings ...)
  2018-03-22  2:11 ` bugzilla-daemon
@ 2018-03-22 11:44 ` bugzilla-daemon
  2018-03-22 11:46 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-22 11:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #44 from taijian@posteo.de ---
Created attachment 138278
  --> https://bugs.freedesktop.org/attachment.cgi?id=138278&action=edit
dmesg with 4.17-wip-b6356df3eb9a with aptx.patch

OK, the patch works, dmesg reports that ATPX is force-activated. Power usage is
properly down when not in use. I did one powercycle of the dGPU in this test.

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

[-- Attachment #1.2: Type: text/html, Size: 1607 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (43 preceding siblings ...)
  2018-03-22 11:44 ` bugzilla-daemon
@ 2018-03-22 11:46 ` bugzilla-daemon
  2018-03-22 14:05 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-22 11:46 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #45 from taijian@posteo.de ---
Created attachment 138279
  --> https://bugs.freedesktop.org/attachment.cgi?id=138279&action=edit
dmesg with 4.17-wip-b6356df3eb9a with aptx.patch and backlight.patch

Here is the dmesg output with both patches applied, both the atpx quirk and the
backlight patch from comment 34. The system certainly feels more stable now and
the dGPU stays powered down more reliably, because it does not try to muck
about with the backlight (which it can't affect anyway...).

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

[-- Attachment #1.2: Type: text/html, Size: 1847 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (44 preceding siblings ...)
  2018-03-22 11:46 ` bugzilla-daemon
@ 2018-03-22 14:05 ` bugzilla-daemon
  2018-03-23  8:55 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-22 14:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #46 from Harry Wentland <harry.wentland@amd.com> ---
The backlight patch has been stuck in our submission queue for a while but it's
in our internal repo. It should be part of the next set of DC patches, although
I don't think it'll make the 4.17 kernel, unless we want to treat it as a
bugfix (one could argue either way here).

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

[-- Attachment #1.2: Type: text/html, Size: 1438 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (45 preceding siblings ...)
  2018-03-22 14:05 ` bugzilla-daemon
@ 2018-03-23  8:55 ` bugzilla-daemon
  2018-03-24 19:05 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-23  8:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #47 from taijian@posteo.de ---
(In reply to Harry Wentland from comment #46)
> The backlight patch has been stuck in our submission queue for a while but
> it's in our internal repo. It should be part of the next set of DC patches,
> although I don't think it'll make the 4.17 kernel, unless we want to treat
> it as a bugfix (one could argue either way here).

Well, as an affected user, I'd of course argue that they are both clearly bug
fixes, because to me that's their effect. No idea how much weight that opinion
is going to carry with David Airlie, though...

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

[-- Attachment #1.2: Type: text/html, Size: 1732 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (46 preceding siblings ...)
  2018-03-23  8:55 ` bugzilla-daemon
@ 2018-03-24 19:05 ` bugzilla-daemon
  2018-03-24 20:57 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-24 19:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #48 from Bjorn <bjorn.aili@gmail.com> ---
I managed to compile and test drm-next-4.17-wip, commit
a611dd16c69025b6df115427af0a5d63ae9f5145.

I can confirm that I did not see the amdgpu crash on boot any more. However,
suspend/resume still hangs my laptop.

So not sure if my suspend/resume hangs are related at all to this particular
bug, but I was hoping to get some help in figuring this out. Eg, any way I can
get some useful logging information out of a hanged session? In particular,
suspend seems to work as I can hear the fans etc turn off when I close the lid.
If I then open the lid and wait for a bit, they start up again but my screen
remains blank.

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

[-- Attachment #1.2: Type: text/html, Size: 1767 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (47 preceding siblings ...)
  2018-03-24 19:05 ` bugzilla-daemon
@ 2018-03-24 20:57 ` bugzilla-daemon
  2018-03-28  3:34 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-24 20:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #49 from taijian@posteo.de ---
(In reply to Bjorn from comment #48)
> I managed to compile and test drm-next-4.17-wip, commit
> a611dd16c69025b6df115427af0a5d63ae9f5145.
> 
> I can confirm that I did not see the amdgpu crash on boot any more. However,
> suspend/resume still hangs my laptop.
> 
> So not sure if my suspend/resume hangs are related at all to this particular
> bug, but I was hoping to get some help in figuring this out. Eg, any way I
> can get some useful logging information out of a hanged session? In
> particular, suspend seems to work as I can hear the fans etc turn off when I
> close the lid. If I then open the lid and wait for a bit, they start up
> again but my screen remains blank.

I had similar problems in the past, but with the latest version of
drm-next-4.17-wip (09695ad78f1f) PLUS the backlight patch in comment 34 applied
on top of that, my system is now very nice and stable! So maybe try that out
and let us know how it goes?

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

[-- Attachment #1.2: Type: text/html, Size: 2205 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (48 preceding siblings ...)
  2018-03-24 20:57 ` bugzilla-daemon
@ 2018-03-28  3:34 ` bugzilla-daemon
  2018-03-28  9:23 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-28  3:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #50 from Bjorn <bjorn.aili@gmail.com> ---
That did not help. However, looking closer at my dmesg output on the 4.17-wip
branch, I see that there's actually some error loading the intel graphics
firmware. In particular, there are these lines:

[    1.806186] i915 0000:00:02.0: Direct firmware load for
i915/kbl_dmc_ver1_04.bin failed with error -2
[    1.806188] i915 0000:00:02.0: Failed to load DMC firmware
i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.

This definitely seems to imply the intel card is having some power management
issue. So perhaps my problem was never with the AMD GPU at all...

In any case, the original amdgpu crash is fixed for me too, whether it impacted
my suspend/resume or not.

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

[-- Attachment #1.2: Type: text/html, Size: 1832 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (49 preceding siblings ...)
  2018-03-28  3:34 ` bugzilla-daemon
@ 2018-03-28  9:23 ` bugzilla-daemon
  2018-03-28 14:10 ` bugzilla-daemon
  2018-06-26 14:22 ` bugzilla-daemon
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-28  9:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #51 from taijian@posteo.de ---
(In reply to Bjorn from comment #50)
> That did not help. However, looking closer at my dmesg output on the
> 4.17-wip branch, I see that there's actually some error loading the intel
> graphics firmware. In particular, there are these lines:
> 
> [    1.806186] i915 0000:00:02.0: Direct firmware load for
> i915/kbl_dmc_ver1_04.bin failed with error -2
> [    1.806188] i915 0000:00:02.0: Failed to load DMC firmware
> i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
> 
> This definitely seems to imply the intel card is having some power
> management issue. So perhaps my problem was never with the AMD GPU at all...
> 

OK, I'm not seeing that at all, and I also have a Kaby Lake chip. What version
of Linux-Firmware are you using?

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

[-- Attachment #1.2: Type: text/html, Size: 1978 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (50 preceding siblings ...)
  2018-03-28  9:23 ` bugzilla-daemon
@ 2018-03-28 14:10 ` bugzilla-daemon
  2018-06-26 14:22 ` bugzilla-daemon
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-03-28 14:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #52 from Bjorn <bjorn.aili@gmail.com> ---
(In reply to taijian from comment #51)
> 
> OK, I'm not seeing that at all, and I also have a Kaby Lake chip. What
> version of Linux-Firmware are you using?

1.169.3.

I tried going back to an older kernel, and then I no longer see the kbl
firmware error (but obviously the amdgpu crash is there again). So perhaps I
need to update the firmware package too, to get everything working?

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

[-- Attachment #1.2: Type: text/html, Size: 1610 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] 54+ messages in thread

* [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]
  2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
                   ` (51 preceding siblings ...)
  2018-03-28 14:10 ` bugzilla-daemon
@ 2018-06-26 14:22 ` bugzilla-daemon
  52 siblings, 0 replies; 54+ messages in thread
From: bugzilla-daemon @ 2018-06-26 14:22 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

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

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

[-- Attachment #1.2: Type: text/html, Size: 1300 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] 54+ messages in thread

end of thread, other threads:[~2018-06-26 14:22 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-04 11:02 [Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu] bugzilla-daemon
2017-12-04 11:03 ` bugzilla-daemon
2018-02-01  6:17 ` bugzilla-daemon
2018-02-01  6:32 ` bugzilla-daemon
2018-02-27  0:39 ` bugzilla-daemon
2018-02-27  3:36 ` bugzilla-daemon
2018-02-27 11:24 ` bugzilla-daemon
2018-02-27 13:57 ` bugzilla-daemon
2018-02-27 14:25 ` bugzilla-daemon
2018-02-27 15:26 ` bugzilla-daemon
2018-02-27 15:30 ` bugzilla-daemon
2018-02-27 15:54 ` bugzilla-daemon
2018-02-27 16:02 ` bugzilla-daemon
2018-02-27 16:07 ` bugzilla-daemon
2018-02-27 16:41 ` bugzilla-daemon
2018-02-27 20:40 ` bugzilla-daemon
2018-02-27 21:30 ` bugzilla-daemon
2018-02-27 21:44 ` bugzilla-daemon
2018-03-01 13:13 ` bugzilla-daemon
2018-03-01 14:44 ` bugzilla-daemon
2018-03-01 16:11 ` bugzilla-daemon
2018-03-01 16:39 ` bugzilla-daemon
2018-03-01 16:48 ` bugzilla-daemon
2018-03-01 19:59 ` bugzilla-daemon
2018-03-01 20:01 ` bugzilla-daemon
2018-03-06  9:29 ` bugzilla-daemon
2018-03-06  9:38 ` bugzilla-daemon
2018-03-06 13:32 ` bugzilla-daemon
2018-03-07 10:56 ` bugzilla-daemon
2018-03-10 22:08 ` bugzilla-daemon
2018-03-12 13:45 ` bugzilla-daemon
2018-03-12 14:21 ` bugzilla-daemon
2018-03-12 15:07 ` bugzilla-daemon
2018-03-12 15:54 ` bugzilla-daemon
2018-03-12 15:56 ` bugzilla-daemon
2018-03-12 17:56 ` bugzilla-daemon
2018-03-12 17:59 ` bugzilla-daemon
2018-03-12 18:00 ` bugzilla-daemon
2018-03-12 18:07 ` bugzilla-daemon
2018-03-12 18:09 ` bugzilla-daemon
2018-03-21 21:23 ` bugzilla-daemon
2018-03-21 22:15 ` bugzilla-daemon
2018-03-22  0:29 ` bugzilla-daemon
2018-03-22  2:11 ` bugzilla-daemon
2018-03-22 11:44 ` bugzilla-daemon
2018-03-22 11:46 ` bugzilla-daemon
2018-03-22 14:05 ` bugzilla-daemon
2018-03-23  8:55 ` bugzilla-daemon
2018-03-24 19:05 ` bugzilla-daemon
2018-03-24 20:57 ` bugzilla-daemon
2018-03-28  3:34 ` bugzilla-daemon
2018-03-28  9:23 ` bugzilla-daemon
2018-03-28 14:10 ` bugzilla-daemon
2018-06-26 14:22 ` 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.