From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 100446] Backlight control not working on Pascal / GP106 using nouveau drivers Date: Thu, 22 Mar 2018 14:26:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0591658588==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0591658588== Content-Type: multipart/alternative; boundary="15217288122.C7585a.22490" Content-Transfer-Encoding: 7bit --15217288122.C7585a.22490 Date: Thu, 22 Mar 2018 14:26:52 +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=3D100446 --- Comment #7 from Karol Herbst --- (In reply to Carlo Caione from comment #4) > For the sake of completeness some more info on this. >=20 > The two settings differ only for couple of accesses: >=20 > < MMIO32 W 0x00d980 0x000000ff PGPIO+0x980 <=3D 0xff > --- > > MMIO32 W 0x00d980 0x0000007f PGPIO+0x980 <=3D 0x7f >=20 > < MMIO32 W 0x619484 0x0000ff00 PDISPLAY.VGA.CR+0x84 <=3D 0xff00 > --- > > MMIO32 W 0x619484 0x00007000 PDISPLAY.VGA.CR+0x84 <=3D 0x7000 >=20 > The problem is that poking at those registers using nvapeek / nvapoke > doesn't change the brightness. >=20 > Also trying to use nvammiotracereplay to reply step-by-step the mmio trace > has no effect on the brightness. Can you check that this is fixed in 4.16-rc6? A fix landed to address backl= ight problems and it might be the same you had: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?= h=3Dv4.16-rc6&id=3D9e75dc61eaa9acd1bff83c3b814ac2af6dc1f64c --=20 You are receiving this mail because: You are the assignee for the bug.= --15217288122.C7585a.22490 Date: Thu, 22 Mar 2018 14:26:52 +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 # 7 on bug 10044= 6 from Karol Herbst
(In reply to Carlo Caione from comment #4)
> For the sake of completeness some more info on t=
his.
>=20
> The two settings differ only for couple of accesses:
>=20
> < MMIO32 W 0x00d980 0x000000ff PGPIO+0x980 <=3D 0xff
> ---
> > MMIO32 W 0x00d980 0x0000007f PGPIO+0x980 <=3D 0x7f
>=20
> < MMIO32 W 0x619484 0x0000ff00 PDISPLAY.VGA.CR+0x84 <=3D 0xff00
> ---
> > MMIO32 W 0x619484 0x00007000 PDISPLAY.VGA.CR+0x84 <=3D 0x7000
>=20
> The problem is that poking at those registers using nvapeek / nvapoke
> doesn't change the brightness.
>=20
> Also trying to use nvammiotracereplay to reply step-by-step the mmio t=
race
> has no effect on the brightness.

Can you check that this is fixed in 4.16-rc6? A fix landed to address backl=
ight
problems and it might be the same you had:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/=
?h=3Dv4.16-rc6&id=3D9e75dc61eaa9acd1bff83c3b814ac2af6dc1f64c


You are receiving this mail because:
  • You are the assignee for the bug.
= --15217288122.C7585a.22490-- --===============0591658588== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0591658588==--