From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109375] Regression: dark notebook display (no backlight) after resume Date: Wed, 16 Jan 2019 10:14:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1810540556==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0371C6E11B for ; Wed, 16 Jan 2019 10:14:33 +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 --===============1810540556== Content-Type: multipart/alternative; boundary="15476336720.eC96.30894" Content-Transfer-Encoding: 7bit --15476336720.eC96.30894 Date: Wed, 16 Jan 2019 10:14: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=3D109375 Bug ID: 109375 Summary: Regression: dark notebook display (no backlight) after resume Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: zajec5@gmail.com I use HP EliteBook 745 G5 with Ryzen 5 PRO 2500U. Starting with the: commit 262485a50fd4532a8d71165190adc7a0a19bcc9e (refs/bisect/bad) Author: Anthony Koo Date: Fri Oct 12 21:34:32 2018 -0400 drm/amd/display: Expand dc to use 16.16 bit backlight [Why] We want to increase precision for backlight setting. But DC interface takes 8 bit backlight level value only. [How] DMCU already takes 16 bit backlight level. Expand the DC interface to take 16.16 bit value. Max 32 bit backlight value (0xFFFF) will represent max backlight (100%) Signed-off-by: Anthony Koo Reviewed-by: Tony Cheng Acked-by: Leo Li Signed-off-by: Alex Deucher After resume from RAM my notebook display is all black. Before suspend: > cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness} 65535 255 After resume: > cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness} 0 255 This can be workarounded by: echo 255 > /sys/class/backlight/amdgpu_bl0/brightness assuming one can execute that without a working display. This problem still exists in the 5.0.0-rc2. --=20 You are receiving this mail because: You are the assignee for the bug.= --15476336720.eC96.30894 Date: Wed, 16 Jan 2019 10:14: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
Bug ID 109375
Summary Regression: dark notebook display (no backlight) after resume
Product DRI
Version XOrg git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter zajec5@gmail.com

I use HP EliteBook 745 G5 with Ryzen 5 PRO 2500U.

Starting with the:
commit 262485a50fd4532a8d71165190adc7a0a19bcc9e (refs/bisect/bad)
Author: Anthony Koo <Anthony.=
Koo@amd.com>
Date:   Fri Oct 12 21:34:32 2018 -0400

    drm/amd/display: Expand dc to use 16.16 bit backlight

    [Why] We want to increase precision for backlight setting.
    But DC interface takes 8 bit backlight level value only.

    [How] DMCU already takes 16 bit backlight level.
    Expand the DC interface to take 16.16 bit value.
    Max 32 bit backlight value (0xFFFF) will represent
    max backlight (100%)

    Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
    Reviewed-by: Tony Cheng <T=
ony.Cheng@amd.com>
    Acked-by: Leo Li <sunpeng.=
li@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

After resume from RAM my notebook display is all black.

Before suspend:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brig=
htness,brightness}
65535
255

After resume:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brig=
htness,brightness}
0
255

This can be workarounded by:
echo 255 > /sys/class/backlight/amdgpu_bl0/brightness
assuming one can execute that without a working display.

This problem still exists in the 5.0.0-rc2.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15476336720.eC96.30894-- --===============1810540556== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1810540556==--