From: bugzilla-daemon@freedesktop.org Subject: [Bug 101387] amdgpu display corruption and hang on AMD A10-9620P Date: Tue, 20 Jun 2017 17:47:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0210747075==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C95EA6E3AB for ; Tue, 20 Jun 2017 17:47: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 --===============0210747075== Content-Type: multipart/alternative; boundary="14979808610.cDdD3.2045"; charset="UTF-8" --14979808610.cDdD3.2045 Date: Tue, 20 Jun 2017 17:47: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=3D101387 --- Comment #20 from Carlo Caione --- > That could be a plymouth bug. I've noticed that it doesn't seem to call > drmModeCrtcSetGamma to make sure the display CLUTs are initialized to > appropriate values. Can you expand on this a little bit? I have (by chance TBH) fixed plymouth basically reading the CLUTs using drmModeCrtcGetGamma() when plymouthd starts and writing them back using drmModeCrtcSetGamma() before drmModeSetCrtc() is called when the reboot spl= ash has to be displayed. But it's not clear to me why this is needed at all since in theory I'm writ= ing back the same CLUTs values read by drmModeCrtcGetGamma() but at the same ti= me if I do not do that, I have image corruption. Any hint about this? --=20 You are receiving this mail because: You are the assignee for the bug.= --14979808610.cDdD3.2045 Date: Tue, 20 Jun 2017 17:47: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

Comme= nt # 20 on bug 10138= 7 from = Carlo Caione
> That could be a plymouth bug. I've =
noticed that it doesn't seem to call
> drmModeCrtcSetGamma to make sure the display CLUTs are initialized to
> appropriate values.
Can you expand on this a little bit?

I have (by chance TBH) fixed plymouth basically reading the CLUTs using
drmModeCrtcGetGamma() when plymouthd starts and writing them back using
drmModeCrtcSetGamma() before drmModeSetCrtc() is called when the reboot spl=
ash
has to be displayed.

But it's not clear to me why this is needed at all since in theory I'm writ=
ing
back the same CLUTs values read by drmModeCrtcGetGamma() but at the same ti=
me
if I do not do that, I have image corruption.

Any hint about this?


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