From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 20:36:17 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0702976794=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 1358A6E01F
for ; Mon, 21 May 2018 20:36:18 +0000 (UTC)
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
--===============0702976794==
Content-Type: multipart/alternative; boundary="15269349770.f06B.16824"
Content-Transfer-Encoding: 7bit
--15269349770.f06B.16824
Date: Mon, 21 May 2018 20:36:17 +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=3D106597
Bug ID: 106597
Summary: [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on
Alienware 15R3
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/other
Assignee: dri-devel@lists.freedesktop.org
Reporter: taijian@posteo.de
Over on Bug 104064 Alex Deucher and Harry Wentland had heroically assisted =
me
in finally fixing dGPU auto-suspend on my HG laptop (Intel iGPU + AMD dGPU)=
. I
was really looking forward to their work going mainline in 4.16 and me being
able to enjoy my newly working system. Unfortunately, some other commit into
4.16 broke things again. After overcoming my initial frustration and doing =
some
research, I was now able to track this down to the work by Lukas Wunner on
vga_switcheroo.
I am doing my debugging with drm-next-4.18-wip over at
https://cgit.freedesktop.org/~agd5f/linux because 4.16 & 4.17 have one other
bug that 4.18 doesn't (Bug 105760) that prevent me from using those. Simply
compiling drm-next-4.18-wip will result in a kernel that cannot dynamically
power down the dGPU. It remains up regardless of use status and draws power.
Now if I revert commits 07f4f97d7b4bf325d9f558c5b58230387e4e57e0,
b67ae78efae0d5be5d9c7a507e67cd02971b32e1 and
2b4f44eec2be2688511c2b617d0e1b4f94c45ba4 and recompile, then the resulting
kernel will once again fully power down my dGPU when it is not in use.=20
Now, if I can assist in any way with further debugging or testing patches to
figure out what specifically went wrong with those patches, I'd be happy to=
do
so, just let me know!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269349770.f06B.16824
Date: Mon, 21 May 2018 20:36:17 +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
Bug ID |
106597
|
Summary |
[vga_switcheroo] commit 07f4f97d7b4bf325d9f558c5b58230387e4e5=
7e0 breaks dpm on Alienware 15R3
|
Product |
DRI
|
Version |
DRI git
|
Hardware |
x86-64 (AMD64)
|
OS |
Linux (All)
|
Status |
NEW
|
Severity |
normal
|
Priority |
medium
|
Component |
DRM/other
|
Assignee |
dri-devel@lists.freedesktop.org
|
Reporter |
taijian@posteo.de
|
Over on Bug 104064 Alex Deucher and Harry =
Wentland had heroically assisted me
in finally fixing dGPU auto-suspend on my HG laptop (Intel iGPU + AMD dGPU)=
. I
was really looking forward to their work going mainline in 4.16 and me being
able to enjoy my newly working system. Unfortunately, some other commit into
4.16 broke things again. After overcoming my initial frustration and doing =
some
research, I was now able to track this down to the work by Lukas Wunner on
vga_switcheroo.
I am doing my debugging with drm-next-4.18-wip over at
https://cgit.freedesk=
top.org/~agd5f/linux because 4.16 & 4.17 have one other
bug that 4.18 doesn't (Bug 105760) that prevent me from u=
sing those. Simply
compiling drm-next-4.18-wip will result in a kernel that cannot dynamically
power down the dGPU. It remains up regardless of use status and draws power.
Now if I revert commits 07f4f97d7b4bf325d9f558c5b58230387e4e57e0,
b67ae78efae0d5be5d9c7a507e67cd02971b32e1 and
2b4f44eec2be2688511c2b617d0e1b4f94c45ba4 and recompile, then the resulting
kernel will once again fully power down my dGPU when it is not in use.=20
Now, if I can assist in any way with further debugging or testing patches to
figure out what specifically went wrong with those patches, I'd be happy to=
do
so, just let me know!
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269349770.f06B.16824--
--===============0702976794==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0702976794==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 20:59:55 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0211119111=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id E7B4889FFD
for ; Mon, 21 May 2018 20:59:55 +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
--===============0211119111==
Content-Type: multipart/alternative; boundary="15269363952.BCad4CB5B.30628"
Content-Transfer-Encoding: 7bit
--15269363952.BCad4CB5B.30628
Date: Mon, 21 May 2018 20:59:55 +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=3D106597
--- Comment #1 from Alex Deucher ---
Does reverting the ATPX quirk from bug 105760 also fix the issue? I wonder=
if
Lukas' patch fixed the underlying issue and the ATPX workaround is no longer
necessary.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269363952.BCad4CB5B.30628
Date: Mon, 21 May 2018 20:59:55 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269363952.BCad4CB5B.30628--
--===============0211119111==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0211119111==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 21:17:25 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0836062600=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 4C2116E017
for ; Mon, 21 May 2018 21:17:25 +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
--===============0836062600==
Content-Type: multipart/alternative; boundary="15269374450.e970f.4970"
Content-Transfer-Encoding: 7bit
--15269374450.e970f.4970
Date: Mon, 21 May 2018 21:17:25 +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=3D106597
--- Comment #2 from taijian@posteo.de ---
Yeah, I tried that, but unfortunately that did not work.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269374450.e970f.4970
Date: Mon, 21 May 2018 21:17:25 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269374450.e970f.4970--
--===============0836062600==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0836062600==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 21:26:42 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0933002390=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id E4BA16E01A
for ; Mon, 21 May 2018 21:26:41 +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
--===============0933002390==
Content-Type: multipart/alternative; boundary="15269380011.cdA8A706.10951"
Content-Transfer-Encoding: 7bit
--15269380011.cdA8A706.10951
Date: Mon, 21 May 2018 21:26:41 +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=3D106597
--- Comment #3 from Lukas Wunner ---
Pretty sure there's an issue with the HDA controller on the GPU that preven=
ts
the GPU from suspending. Can you attach dmesg output of a drm-next-4.18-wip
kernel? There's dmesg output in the bug you've linked but I'm not sure if
that's with or without my patches?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269380011.cdA8A706.10951
Date: Mon, 21 May 2018 21:26:41 +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
Commen=
t # 3
on bug 10659=
7
from Lukas Wunner
Pretty sure there's an issue with the HDA controller on the GP=
U that prevents
the GPU from suspending. Can you attach dmesg output of a drm-next-4.18-wip
kernel? There's dmesg output in the bug you've linked but I'm not sure if
that's with or without my patches?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269380011.cdA8A706.10951--
--===============0933002390==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0933002390==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 21:34:17 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0111550034=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id BD04A6E026
for ; Mon, 21 May 2018 21:34:16 +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
--===============0111550034==
Content-Type: multipart/alternative; boundary="15269384560.2CAfD426b.12561"
Content-Transfer-Encoding: 7bit
--15269384560.2CAfD426b.12561
Date: Mon, 21 May 2018 21:34:16 +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=3D106597
--- Comment #4 from Lukas Wunner ---
What does the following show?
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status # GPU
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_usage # GPU
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_active_kids # GPU
cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_status # HDA
cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_usage # HDA
cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_kids # HDA
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269384560.2CAfD426b.12561
Date: Mon, 21 May 2018 21:34:16 +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
Commen=
t # 4
on bug 10659=
7
from Lukas Wunner
What does the following show?
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status # GPU
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_usage # GPU
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_active_kids # GPU
cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_status # HDA
cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_usage # HDA
cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_kids # HDA
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269384560.2CAfD426b.12561--
--===============0111550034==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0111550034==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 21:47:32 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0702762822=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 8D2CB6E019
for ; Mon, 21 May 2018 21:47:32 +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
--===============0702762822==
Content-Type: multipart/alternative; boundary="15269392520.DE13C0.19014"
Content-Transfer-Encoding: 7bit
--15269392520.DE13C0.19014
Date: Mon, 21 May 2018 21:47:32 +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=3D106597
--- Comment #5 from Lukas Wunner ---
Ok I found this dmesg ouput of a 4.17 kernel...
https://bugs.freedesktop.org/attachment.cgi?id=3D139668
However the HDA device 0000:01:00.1 is not enumerated! It *is* enumerated in
the 4.16 dmesg output you've attached. What gives?
We know there are Nvidia GPUs which hide the HDA controller if no external
display is attached:
https://bugs.freedesktop.org/show_bug.cgi?id=3D75985
Maybe something like that is going on here despite this being an AMD GPU?
Also, there are Dell machines which can be switched to one of two modes in =
the
BIOS: In one mode, audio is streamed to external displays via the Intel HDA=
, in
the other mode, it's streamed via the AMD HDA. In the former mode, the AMD =
HDA
serves no purpose and should thus be hidden as per this patch:
https://lkml.org/lkml/2018/4/20/244
It's possible that something similar is needed here.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269392520.DE13C0.19014
Date: Mon, 21 May 2018 21:47:32 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269392520.DE13C0.19014--
--===============0702762822==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0702762822==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 22:03:46 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1449362300=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 7F5BA6E029
for ; Mon, 21 May 2018 22:03:46 +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
--===============1449362300==
Content-Type: multipart/alternative; boundary="15269402261.ADC3B36A.25941"
Content-Transfer-Encoding: 7bit
--15269402261.ADC3B36A.25941
Date: Mon, 21 May 2018 22:03:46 +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=3D106597
--- Comment #6 from Lukas Wunner ---
Ah, never mind, the 4.17 output was attached by Thomas Martitz. So without =
4.17
dmesg output of your machine it's pretty hard to tell what's going on.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269402261.ADC3B36A.25941
Date: Mon, 21 May 2018 22:03:46 +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
Commen=
t # 6
on bug 10659=
7
from Lukas Wunner
Ah, never mind, the 4.17 output was attached by Thomas Martitz=
. So without 4.17
dmesg output of your machine it's pretty hard to tell what's going on.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269402261.ADC3B36A.25941--
--===============1449362300==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1449362300==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Mon, 21 May 2018 22:43:00 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1378970404=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 95F636E034
for ; Mon, 21 May 2018 22:43:00 +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
--===============1378970404==
Content-Type: multipart/alternative; boundary="15269425800.dc9F6c2.13215"
Content-Transfer-Encoding: 7bit
--15269425800.dc9F6c2.13215
Date: Mon, 21 May 2018 22:43:00 +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=3D106597
--- Comment #7 from Alex Deucher ---
see also: https://bugzilla.kernel.org/show_bug.cgi?id=3D199693
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269425800.dc9F6c2.13215
Date: Mon, 21 May 2018 22:43:00 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269425800.dc9F6c2.13215--
--===============1378970404==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1378970404==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 08:16:58 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1372031429=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 314BE6E254
for ; Tue, 22 May 2018 08:16:58 +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
--===============1372031429==
Content-Type: multipart/alternative; boundary="15269770180.ceCBd797.2226"
Content-Transfer-Encoding: 7bit
--15269770180.ceCBd797.2226
Date: Tue, 22 May 2018 08:16:58 +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=3D106597
--- Comment #8 from taijian@posteo.de ---
Created attachment 139673
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139673&action=3Dedit
dmesg with 4.18-wip 'vanilla-as-is'
OK, here come three dmesg outputs - first one is 'vanilla' drm-next-4.18-wi=
p,
the second one is with the atpx quirk reversed, the third one is with the t=
hree
vga_switcheroo patches I mentioned in the original bug report reversed. That
third one is also the only one where my dGPU properly powers down.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269770180.ceCBd797.2226
Date: Tue, 22 May 2018 08:16:58 +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
Commen=
t # 8
on bug 10659=
7
from taijian@posteo.d=
e
Created atta=
chment 139673 [details]
dmesg with 4.18-wip 'vanilla-as-is'
OK, here come three dmesg outputs - first one is 'vanilla' drm-next-4.18-wi=
p,
the second one is with the atpx quirk reversed, the third one is with the t=
hree
vga_switcheroo patches I mentioned in the original bug report reversed. That
third one is also the only one where my dGPU properly powers down.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269770180.ceCBd797.2226--
--===============1372031429==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1372031429==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 08:18:18 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0471678477=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id D31176E258
for ; Tue, 22 May 2018 08:18:18 +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
--===============0471678477==
Content-Type: multipart/alternative; boundary="15269770981.79Ca62.2705"
Content-Transfer-Encoding: 7bit
--15269770981.79Ca62.2705
Date: Tue, 22 May 2018 08:18:18 +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=3D106597
--- Comment #9 from taijian@posteo.de ---
Created attachment 139674
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139674&action=3Dedit
dmesg with 4.18-wip 'atpx-quirk reversed'
Here the second dmesg - forced atpx method quirk reversed.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269770981.79Ca62.2705
Date: Tue, 22 May 2018 08:18:18 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269770981.79Ca62.2705--
--===============0471678477==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0471678477==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 08:19:24 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0162100343=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 532BD6E259
for ; Tue, 22 May 2018 08:19:24 +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
--===============0162100343==
Content-Type: multipart/alternative; boundary="15269771640.cAF3c.3418"
Content-Transfer-Encoding: 7bit
--15269771640.cAF3c.3418
Date: Tue, 22 May 2018 08:19:24 +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=3D106597
--- Comment #10 from taijian@posteo.de ---
Created attachment 139675
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139675&action=3Dedit
dmesg with 4.18-wip 'vga_switcheroo-patches reversed'
Here the third dmesg output - this one with the vga_switcheroo patches reve=
rsed
and working power management.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269771640.cAF3c.3418
Date: Tue, 22 May 2018 08:19:24 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269771640.cAF3c.3418--
--===============0162100343==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0162100343==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 08:22:19 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1663906264=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 1535A6E25F
for ; Tue, 22 May 2018 08:22:19 +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
--===============1663906264==
Content-Type: multipart/alternative; boundary="15269773390.DCeFDe.3560"
Content-Transfer-Encoding: 7bit
--15269773390.DCeFDe.3560
Date: Tue, 22 May 2018 08:22:19 +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=3D106597
--- Comment #11 from taijian@posteo.de ---
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
active
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_usage
1
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_active_kids=20
0
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_status
active
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_usage
0
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_kids
0
All of these are with the 'vanilla' kernel.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269773390.DCeFDe.3560
Date: Tue, 22 May 2018 08:22:19 +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
Comme=
nt # 11
on bug 10659=
7
from taijian@posteo.d=
e
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
active
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_usage
1
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_active_kids=20
0
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_status
active
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_usage
0
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_kids
0
All of these are with the 'vanilla' kernel.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269773390.DCeFDe.3560--
--===============1663906264==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1663906264==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 09:03:29 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1999450194=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 982EA6E119
for ; Tue, 22 May 2018 09:03:29 +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
--===============1999450194==
Content-Type: multipart/alternative; boundary="15269798091.B36D.20479"
Content-Transfer-Encoding: 7bit
--15269798091.B36D.20479
Date: Tue, 22 May 2018 09:03:29 +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=3D106597
--- Comment #12 from Lukas Wunner ---
Hm, the first 4.17 output does not show anything suspicious. Could you also
post the output of:
cat /sys/bus/pci/devices/0000:01:00.0/power/control
cat /sys/bus/pci/devices/0000:01:00.1/power/control
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15269798091.B36D.20479
Date: Tue, 22 May 2018 09:03:29 +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
Comme=
nt # 12
on bug 10659=
7
from Lukas Wunner
Hm, the first 4.17 output does not show anything suspicious. C=
ould you also
post the output of:
cat /sys/bus/pci/devices/0000:01:00.0/power/control
cat /sys/bus/pci/devices/0000:01:00.1/power/control
You are receiving this mail because:
- You are the assignee for the bug.
=
--15269798091.B36D.20479--
--===============1999450194==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1999450194==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 20:40:02 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1524507207=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id C83D489CDB
for ; Tue, 22 May 2018 20:40:02 +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
--===============1524507207==
Content-Type: multipart/alternative; boundary="15270216021.D8Ea5d36.10395"
Content-Transfer-Encoding: 7bit
--15270216021.D8Ea5d36.10395
Date: Tue, 22 May 2018 20:40:02 +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=3D106597
--- Comment #13 from taijian@posteo.de ---
$ cat /sys/bus/pci/devices/0000:01:00.0/power/control
auto
$ cat /sys/bus/pci/devices/0000:01:00.1/power/control
auto
again, this is with the 'vanilla' kernel.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15270216021.D8Ea5d36.10395
Date: Tue, 22 May 2018 20:40:02 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15270216021.D8Ea5d36.10395--
--===============1524507207==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1524507207==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 21:18:51 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1885429560=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 964D789C1F
for ; Tue, 22 May 2018 21:18:51 +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
--===============1885429560==
Content-Type: multipart/alternative; boundary="15270239311.ca47c.24156"
Content-Transfer-Encoding: 7bit
--15270239311.ca47c.24156
Date: Tue, 22 May 2018 21:18:51 +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=3D106597
--- Comment #14 from taijian@posteo.de ---
(In reply to Lukas Wunner from comment #5)
> Also, there are Dell machines which can be switched to one of two modes in
> the BIOS: In one mode, audio is streamed to external displays via the Int=
el
> HDA, in the other mode, it's streamed via the AMD HDA. In the former mode,
> the AMD HDA serves no purpose and should thus be hidden as per this patch:
> https://lkml.org/lkml/2018/4/20/244
>
Well, this is a Dell machine, but there is no BIOS option to switch anything
regarding video/audio. However, it is possible that there is something wonky
about how the chip is wired, because all other Alienware laptops do sport
NVIDIA gpus and it could be that the wiring is the same.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15270239311.ca47c.24156
Date: Tue, 22 May 2018 21:18:51 +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
Comme=
nt # 14
on bug 10659=
7
from taijian@posteo.d=
e
(In reply to Lukas Wunner from comment #5)
> Also, there are Dell machines which can be switc=
hed to one of two modes in
> the BIOS: In one mode, audio is streamed to external displays via the =
Intel
> HDA, in the other mode, it's streamed via the AMD HDA. In the former m=
ode,
> the AMD HDA serves no purpose and should thus be hidden as per this pa=
tch:
> https://lkml.org/lkml/=
2018/4/20/244
>
Well, this is a Dell machine, but there is no BIOS option to switch anything
regarding video/audio. However, it is possible that there is something wonky
about how the chip is wired, because all other Alienware laptops do sport
NVIDIA gpus and it could be that the wiring is the same.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15270239311.ca47c.24156--
--===============1885429560==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1885429560==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Tue, 22 May 2018 21:49:48 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0860643748=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 9E66589CD7
for ; Tue, 22 May 2018 21:49:48 +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
--===============0860643748==
Content-Type: multipart/alternative; boundary="15270257880.E74aD6.6734"
Content-Transfer-Encoding: 7bit
--15270257880.E74aD6.6734
Date: Tue, 22 May 2018 21:49:48 +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=3D106597
--- Comment #15 from taijian@posteo.de ---
(In reply to Alex Deucher from comment #7)
> see also: https://bugzilla.kernel.org/show_bug.cgi?id=3D199693
I tried that patch, but am not seeing any difference.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15270257880.E74aD6.6734
Date: Tue, 22 May 2018 21:49:48 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15270257880.E74aD6.6734--
--===============0860643748==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0860643748==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Wed, 23 May 2018 06:54:51 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1721169336=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 91D346E3C3
for ; Wed, 23 May 2018 06:54:51 +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
--===============1721169336==
Content-Type: multipart/alternative; boundary="15270584911.0AB82c.24291"
Content-Transfer-Encoding: 7bit
--15270584911.0AB82c.24291
Date: Wed, 23 May 2018 06:54:51 +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=3D106597
--- Comment #16 from Lukas Wunner ---
Created attachment 139688
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139688&action=3Dedit
drm-next-4.18-wip debug patch 1
So, the HDA device's usage counter is 0, it has no active children and runt=
ime
PM is allowed. Still, it's runtime active. Why is it not suspending? Here's=
a
little patch which litters relevant code with debug printks, hopefully this
will get us closer to the answer. Could you apply this on top of
drm-next-4.18-wip and attach the resulting dmesg output?
Oh and could you also try:
cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_status
... to double check that runtime PM is enabled?
Thanks!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15270584911.0AB82c.24291
Date: Wed, 23 May 2018 06:54:51 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15270584911.0AB82c.24291--
--===============1721169336==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1721169336==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Wed, 23 May 2018 09:59:24 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1370089648=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 173BC6E433
for ; Wed, 23 May 2018 09:59:24 +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
--===============1370089648==
Content-Type: multipart/alternative; boundary="15270695640.98dd.4266"
Content-Transfer-Encoding: 7bit
--15270695640.98dd.4266
Date: Wed, 23 May 2018 09:59:23 +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=3D106597
--- Comment #17 from taijian@posteo.de ---
Created attachment 139692
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139692&action=3Dedit
dmesg with the debug symbols requested by Lukas
This is the 'vanilla' kernel with the extra patch for the debug symbols add=
ed
in.
Also, as requested:
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_status
active
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15270695640.98dd.4266
Date: Wed, 23 May 2018 09:59:24 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15270695640.98dd.4266--
--===============1370089648==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1370089648==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Wed, 23 May 2018 10:21:47 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1049046382=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 369926E44A
for ; Wed, 23 May 2018 10:21:47 +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
--===============1049046382==
Content-Type: multipart/alternative; boundary="15270709071.02F595e5.15087"
Content-Transfer-Encoding: 7bit
--15270709071.02F595e5.15087
Date: Wed, 23 May 2018 10:21:47 +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=3D106597
--- Comment #18 from taijian@posteo.de ---
(In reply to Lukas Wunner from comment #16)
> Created attachment 139688 [details] [review]
> drm-next-4.18-wip debug patch 1
>=20
> So, the HDA device's usage counter is 0, it has no active children and
> runtime PM is allowed. Still, it's runtime active. Why is it not suspendi=
ng?
Well, AFAIK the both the HDMI port and the DP on my laptop are directly
attached to the dGPU and not to the iGPU like the internal panel is. Maybe =
it
has something to do with that?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15270709071.02F595e5.15087
Date: Wed, 23 May 2018 10:21:47 +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
Comme=
nt # 18
on bug 10659=
7
from taijian@posteo.d=
e
(In reply to Lukas Wunner from comment #16)
> Created attachment 139688 [details] [review] [review]
> drm-next-4.18-wip debug patch 1
>=20
> So, the HDA device's usage counter is 0, it has no active children and
> runtime PM is allowed. Still, it's runtime active. Why is it not suspe=
nding?
Well, AFAIK the both the HDMI port and the DP on my laptop are directly
attached to the dGPU and not to the iGPU like the internal panel is. Maybe =
it
has something to do with that?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15270709071.02F595e5.15087--
--===============1049046382==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1049046382==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Wed, 23 May 2018 12:19:57 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0760289604=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 58FD76E47C
for ; Wed, 23 May 2018 12:19:57 +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
--===============0760289604==
Content-Type: multipart/alternative; boundary="15270779971.ccE3dCAc.1359"
Content-Transfer-Encoding: 7bit
--15270779971.ccE3dCAc.1359
Date: Wed, 23 May 2018 12:19:57 +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=3D106597
--- Comment #19 from Lukas Wunner ---
Created attachment 139706
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139706&action=3Dedit
drm-next-4.18-wip debug patch 2
Okay at 10.574564, the HDA controller tries to runtime suspend but returns
-EBUSY (-16) because the child HDA codec hdaudioC1D0 is still probing. After
the child is done with probing at 10.586551, it informs the HDA controller =
that
it may now be idle. However for some reason rpm_idle() doesn't cause the
controller to be suspended.
Here's another debug patch which also litters the ->runtime_idle() path with
debug printks. Please try this and attach the resulting dmesg.
> Well, AFAIK the both the HDMI port and the DP on my laptop are directly a=
ttached
> to the dGPU and not to the iGPU like the internal panel is. Maybe it has
> something to do with that?
You've got two HDMI codecs in your machine, hdaudioC1D0 on the AMD GPU and
hdaudioC0D2 in the Intel PCH. It's unclear to me which one is used for exte=
rnal
displays.
> Also, as requested:
> $ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_status
> active
My apologies, I meant runtime_enabled, however it does seem to be enabled,
otherwise the idle/suspend machinery wouldn't work. Thanks!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15270779971.ccE3dCAc.1359
Date: Wed, 23 May 2018 12:19:57 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15270779971.ccE3dCAc.1359--
--===============0760289604==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0760289604==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Wed, 23 May 2018 23:12:58 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0470450393=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id A10D56E5A8
for ; Wed, 23 May 2018 23:12:58 +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
--===============0470450393==
Content-Type: multipart/alternative; boundary="15271171781.2eEfB.17061"
Content-Transfer-Encoding: 7bit
--15271171781.2eEfB.17061
Date: Wed, 23 May 2018 23:12:58 +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=3D106597
taijian@posteo.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #139692|0 |1
is obsolete| |
--- Comment #20 from taijian@posteo.de ---
Created attachment 139723
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139723&action=3Dedit
dmesg with the debug symbols requested by Lukas, version 2
Here you go with another round of dmesg output. Also:
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_enabled
enabled
I am fairly certain that the external ports on my machine are wired to the
dPGU, however, neither of them are in use.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15271171781.2eEfB.17061
Date: Wed, 23 May 2018 23:12:58 +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 10659=
7
What |
Removed |
Added |
Attachment #139692 is obsolete=
td>
|
|
1
|
Comme=
nt # 20
on bug 10659=
7
from taijian@posteo.d=
e
Created attachment 139723 [details]
dmesg with the debug symbols requested by Lukas, version 2
Here you go with another round of dmesg output. Also:
$ cat /sys/bus/pci/devices/0000:01:00.1/power/runtime_enabled
enabled
I am fairly certain that the external ports on my machine are wired to the
dPGU, however, neither of them are in use.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15271171781.2eEfB.17061--
--===============0470450393==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0470450393==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Thu, 24 May 2018 08:56:44 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0737411594=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id A27366E368
for ; Thu, 24 May 2018 08:56:44 +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
--===============0737411594==
Content-Type: multipart/alternative; boundary="15271522041.c66Ee.23839"
Content-Transfer-Encoding: 7bit
--15271522041.c66Ee.23839
Date: Thu, 24 May 2018 08:56:44 +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=3D106597
--- Comment #21 from Lukas Wunner ---
Okay so the reason the HDA controller doesn't suspend is because the
codec_powered bitmask is not null:
snd_hda_intel 0000:01:00.1: azx_runtime_idle: !power_save_controller =3D 0,
!azx_has_pm_runtime(chip) =3D 0, azx_bus(chip)->codec_powered =3D 0x1,
!chip->running =3D 0
The lowest bit is set. In other words, the single codec on that HDA bus is
considered powered on, so the HDA controller is prevented from suspending.
Bits in the codec_powered bitmask are set or cleared using
snd_hdac_codec_link_up() and snd_hdac_codec_link_down(), which are only cal=
led
during runtime suspend and resume of the codec.
Looking at hda_codec_runtime_suspend(), we can see that the bit is only cle=
ared
conditionally:
https://elixir.bootlin.com/linux/latest/source/sound/pci/hda/hda_codec.c#L2=
906
if (codec_has_clkstop(codec) && codec_has_epss(codec) &&
(state & AC_PWRST_CLK_STOP_OK))
snd_hdac_codec_link_down(&codec->core);
The codec_has_clkstop() and codec_has_epss() macros just query bits in the
power_caps bitmask. That bitmask can also be retrieved from sysfs, could you
please post the output of:
grep . /sys/bus/hdaudio/devices/hdaudioC1D0/widgets/*/power_caps
I'll prepare another debug patch so that we get a better understanding why =
the
codec isn't powered down.
We've either got a bug in the HDA code here or we're missing a quirk for th=
is
specific HDA controller. Sooner or later we'll have to pull in Takashi Iwai
(hda maintainer) and/or AMD engineers responsible for the HDA portion of th=
eir
GPUs.
Previously we just papered over such issues by forcing the HDA controller o=
ff
when the GPU runtime suspends, but since my commit 07f4f97d7b4b such bugs a=
re
now exposed as we deliberately keep the GPU awake as long as the HDA contro=
ller
is in use. Thanks for helping identify and tracking down this issue.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15271522041.c66Ee.23839
Date: Thu, 24 May 2018 08:56:44 +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
Comme=
nt # 21
on bug 10659=
7
from Lukas Wunner
Okay so the reason the HDA controller doesn't suspend is becau=
se the
codec_powered bitmask is not null:
snd_hda_intel 0000:01:00.1: azx_runtime_idle: !power_save_controller =3D 0,
!azx_has_pm_runtime(chip) =3D 0, azx_bus(chip)->codec_powered =3D 0x1,
!chip->running =3D 0
The lowest bit is set. In other words, the single codec on that HDA bus is
considered powered on, so the HDA controller is prevented from suspending.
Bits in the codec_powered bitmask are set or cleared using
snd_hdac_codec_link_up() and snd_hdac_codec_link_down(), which are only cal=
led
during runtime suspend and resume of the codec.
Looking at hda_codec_runtime_suspend(), we can see that the bit is only cle=
ared
conditionally:
https://elixir.bootlin.com/linux/latest/source/sound/pci/hd=
a/hda_codec.c#L2906
if (codec_has_clkstop(codec) && codec_has_epss(codec) &=
&
(state & AC_PWRST_CLK_STOP_OK))
snd_hdac_codec_link_down(&codec->core);
The codec_has_clkstop() and codec_has_epss() macros just query bits in the
power_caps bitmask. That bitmask can also be retrieved from sysfs, could you
please post the output of:
grep . /sys/bus/hdaudio/devices/hdaudioC1D0/widgets/*/power_caps
I'll prepare another debug patch so that we get a better understanding why =
the
codec isn't powered down.
We've either got a bug in the HDA code here or we're missing a quirk for th=
is
specific HDA controller. Sooner or later we'll have to pull in Takashi Iwai
(hda maintainer) and/or AMD engineers responsible for the HDA portion of th=
eir
GPUs.
Previously we just papered over such issues by forcing the HDA controller o=
ff
when the GPU runtime suspends, but since my commit 07f4f97d7b4b such bugs a=
re
now exposed as we deliberately keep the GPU awake as long as the HDA contro=
ller
is in use. Thanks for helping identify and tracking down this issue.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15271522041.c66Ee.23839--
--===============0737411594==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0737411594==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Thu, 24 May 2018 10:04:15 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0531315369=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id BF44389CD8
for ; Thu, 24 May 2018 10:04: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
--===============0531315369==
Content-Type: multipart/alternative; boundary="15271562550.54bd7643.23704"
Content-Transfer-Encoding: 7bit
--15271562550.54bd7643.23704
Date: Thu, 24 May 2018 10:04:15 +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=3D106597
Lukas Wunner changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #139688|0 |1
is obsolete| |
--- Comment #23 from Lukas Wunner ---
Created attachment 139735
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139735&action=3Dedit
drm-next-4.18-wip debug patch 3
Here's another debug patch to understand why the HDA codec refuses to power
down. I've removed some of the earlier debug printks as they're no longer
needed, so dmesg output should be shorter than before, still you may want to
add log_buf_len=3D10M to your command line to avoid losing messages.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15271562550.54bd7643.23704
Date: Thu, 24 May 2018 10:04:15 +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
Lukas Wunner
changed
bug 10659=
7
What |
Removed |
Added |
Attachment #139688 is obsolete=
td>
|
|
1
|
You are receiving this mail because:
- You are the assignee for the bug.
=
--15271562550.54bd7643.23704--
--===============0531315369==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0531315369==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Thu, 24 May 2018 10:01:00 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0682719357=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 3AB6F6E368
for ; Thu, 24 May 2018 10:01:00 +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
--===============0682719357==
Content-Type: multipart/alternative; boundary="15271560601.7865Bc202.22176"
Content-Transfer-Encoding: 7bit
--15271560601.7865Bc202.22176
Date: Thu, 24 May 2018 10:01:00 +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=3D106597
--- Comment #22 from taijian@posteo.de ---
Hey, thank you guys for working on fixing this - I am kinda the one who sta=
nds
to benefit if this gets fixed, so...
Also:
$ grep . /sys/bus/hdaudio/devices/hdaudioC1D0/widgets/*/power_caps
/sys/bus/hdaudio/devices/hdaudioC1D0/widgets/01/power_caps:0xc0000009
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15271560601.7865Bc202.22176
Date: Thu, 24 May 2018 10:01:00 +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
Comme=
nt # 22
on bug 10659=
7
from taijian@posteo.d=
e
Hey, thank you guys for working on fixing this - I am kinda th=
e one who stands
to benefit if this gets fixed, so...
Also:
$ grep . /sys/bus/hdaudio/devices/hdaudioC1D0/widgets/*/power_caps
/sys/bus/hdaudio/devices/hdaudioC1D0/widgets/01/power_caps:0xc0000009
You are receiving this mail because:
- You are the assignee for the bug.
=
--15271560601.7865Bc202.22176--
--===============0682719357==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0682719357==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106597] [vga_switcheroo] commit
07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3
Date: Thu, 24 May 2018 10:28:39 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0555223538=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 8459F6E368
for ; Thu, 24 May 2018 10:28:39 +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
--===============0555223538==
Content-Type: multipart/alternative; boundary="15271577191.5798dCa.485"
Content-Transfer-Encoding: 7bit
--15271577191.5798dCa.485
Date: Thu, 24 May 2018 10:28:39 +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=3D106597
taijian@posteo.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #139723|0 |1
is obsolete| |
--- Comment #25 from taijian@posteo.de ---
Created attachment 139736
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139736&action=3Dedit
dmesg with the debug symbols requested by Lukas, version 3
And another round of dmesg output. Enjoy!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15271577191.5798dCa.485
Date: Thu, 24 May 2018 10:28:39 +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