From: bugzilla-daemon@freedesktop.org Subject: [Bug 101387] amdgpu display corruption and hang on AMD A10-9620P Date: Wed, 21 Jun 2017 06:26:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0386282927==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B5D66E31E for ; Wed, 21 Jun 2017 06:26:11 +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 --===============0386282927== Content-Type: multipart/alternative; boundary="14980263700.AF49Fd54.1551"; charset="UTF-8" --14980263700.AF49Fd54.1551 Date: Wed, 21 Jun 2017 06:26:10 +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 #22 from Carlo Caione --- > Plymouth shouldn't get the values with drmModeCrtcGetGamma =E2=80=94 ther= e's no > guarantee that the CLUT contains suitable values at that point (e.g. the > hardware could currently be programmed for a different colour bit depth > in the first place). Ok, but at this point I wonder (sorry, not really familiar with libdrm) why= the value reported by drmModeCrtcGetGamma are not coherent with the values currently programmed in hardware. Is this a common thing? If __immediately__ before drmModeSetCrtc I do drmModeCrtcGetGamma + drmModeCrtcSetGamma with the values retrieved, everything works fine with t= he correct colors, so the CLUTs returned by drmModeCrtcGetGamma actually conta= in suitable / correct values but apparently these are different from what is programmed in the hardware. --=20 You are receiving this mail because: You are the assignee for the bug.= --14980263700.AF49Fd54.1551 Date: Wed, 21 Jun 2017 06:26:10 +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 10138= 7 from = Carlo Caione
> Plymouth shouldn't get the values w=
ith drmModeCrtcGetGamma =E2=80=94 there's no
> guarantee that the CLUT contains suitable values at that point (e.g. t=
he
> hardware could currently be programmed for a different colour bit depth
> in the first place).
Ok, but at this point I wonder (sorry, not really familiar with libdrm) why=
 the
value reported by drmModeCrtcGetGamma are not coherent with the values
currently programmed in hardware. Is this a common thing?

If __immediately__ before drmModeSetCrtc I do drmModeCrtcGetGamma +
drmModeCrtcSetGamma with the values retrieved, everything works fine with t=
he
correct colors, so the CLUTs returned by drmModeCrtcGetGamma actually conta=
in
suitable / correct values but apparently these are different from what is
programmed in the hardware.


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