From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [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] Date: Sat, 10 Mar 2018 22:08:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0966085946==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0278E6E388 for ; Sat, 10 Mar 2018 22:08:15 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0966085946== Content-Type: multipart/alternative; boundary="15207196940.bBD9ed59.5984" Content-Transfer-Encoding: 7bit --15207196940.bBD9ed59.5984 Date: Sat, 10 Mar 2018 22:08:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104064 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=3D137979&action=3Dedit dmesg with 4.17-wip-d1eeebbd78fd and dc=3D1 OK, I've gotten around to doing some more testing and playing around with s= ome 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=3D1 and= dc=3D1 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=3D!* acpi.osi=3D'Windos 2015' and voil=C3=A1, the cr= ashing has vanished. So that seems to be a problem on that end, unfortunately improbab= le 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=3D1 and dc=3D0 is still a thin= g. force_atpx=3D1 plus dc=3D1 gives me wonderful dpm with the dGPU fully power= ing down between uses. force_atpx=3D1 plus dc=3D0 does not. No idea what's up with t= hat. 3) There is a new bug, probably introduced by this commit: https://cgit.freedesktop.org/~agd5f/linux/patch/?id=3D7c8c32854566dd9fb2ad4= 108029670604bc77b19. 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! --=20 You are receiving this mail because: You are the assignee for the bug.= --15207196940.bBD9ed59.5984 Date: Sat, 10 Mar 2018 22:08:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated taijian@posteo.de changed bug 10406= 4
What Removed Added
Attachment #137852 is obsolete   1

Comme= nt # 29 on bug 10406= 4 from taijian@posteo.d= e
Created attachment 137979 [details]
dmesg with 4.17-wip-d1eeebbd78fd and dc=3D1

OK, I've gotten around to doing some more testing and playing around with s=
ome
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=3D1 and=
 dc=3D1
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=3D!* acpi.osi=3D'Windos 2015' and voil=C3=A1, the cr=
ashing has
vanished. So that seems to be a problem on that end, unfortunately improbab=
le
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=3D1 and dc=3D0 is still a thin=
g.
force_atpx=3D1 plus dc=3D1 gives me wonderful dpm with the dGPU fully power=
ing down
between uses. force_atpx=3D1 plus dc=3D0 does not. No idea what's up with t=
hat.

3) There is a new bug, probably introduced by this commit:
https://cgit.freedesktop.org/~agd5f/linux/p=
atch/?id=3D7c8c32854566dd9fb2ad4108029670604bc77b19.
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.
= --15207196940.bBD9ed59.5984-- --===============0966085946== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0966085946==--