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: Mon, 12 Mar 2018 13:45:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1629844474==" 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 150186E40F for ; Mon, 12 Mar 2018 13:45:38 +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 --===============1629844474== Content-Type: multipart/alternative; boundary="15208623380.1C3971551.667" Content-Transfer-Encoding: 7bit --15208623380.1C3971551.667 Date: Mon, 12 Mar 2018 13:45:38 +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 --- Comment #30 from Harry Wentland --- (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=3D7c8c32854566dd9fb2ad4108029670604bc77b19. On hybrid gpu laptops amd= gpu > 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]. >=20 The patch you're referencing only applies to legacy display code (dc=3D0). = The stacktrace you show is with DC display code (dc=3D1).=20 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=3Ddrm-next-4.17-wip#n3601 for more info. Unfortunately I can't comment on the atpx stuff. Harry --=20 You are receiving this mail because: You are the assignee for the bug.= --15208623380.1C3971551.667 Date: Mon, 12 Mar 2018 13:45:38 +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 # 30 on bug 10406= 4 from Harry Wentland
(In reply to taijian from comment #29)
> 3) There is a new bug, probably introduced by th=
is commit:
> https://c=
git.freedesktop.org/~agd5f/linux/patch/
> ?id=3D7c8c32854566dd9fb2ad4108029670604bc77b19. On hybrid gpu laptops =
amdgpu
> does not actually control the brightness of the internal screen, becau=
se
> that is controlled by the iGPU. So amdgpu should probably not try. May=
be 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=3D0). =
The
stacktrace you show is with DC display code (dc=3D1).=20

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/amd=
gpu_dm.c?h=3Ddrm-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.
= --15208623380.1C3971551.667-- --===============1629844474== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1629844474==--