From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98677] [NVAC] iMac9, 1 effective backlight brightness range changes after S3 Date: Thu, 10 Nov 2016 21:23:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0177373658==" 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 --===============0177373658== Content-Type: multipart/alternative; boundary="14788130090.3dB86b8F.20424"; charset="UTF-8" --14788130090.3dB86b8F.20424 Date: Thu, 10 Nov 2016 21:23:29 +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=3D98677 --- Comment #8 from Jeffery Miller --- I patched as suggested having it use the nva3_bl_ops. The backlight remained dark in this case. I was able to get the backlight to turn on by setting va= lues with nvapoke to match values I had seen earlier: nvapoke 0x0061c080 0x1 nvapoke 0x0061c084 0x80000401 I noticed from the mmiotrace of the binary driver that it seems to set these two registers when the brightness changes. I'm away from the machine at the moment to post the details that seemed relevant to me.=20 I am not sure which registers might be important to check before and after.= =20 I'll look at the trace again and pop into it for some questions --=20 You are receiving this mail because: You are the assignee for the bug.= --14788130090.3dB86b8F.20424 Date: Thu, 10 Nov 2016 21:23:29 +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

Comment= # 8 on bug 98677<= /a> from Jeffery Miller
I patched as suggested having it use the nva3_bl_ops. The back=
light remained
dark in this case. I was able to get the backlight to turn on by setting va=
lues
with nvapoke to match values I had seen earlier:

nvapoke 0x0061c080 0x1
nvapoke 0x0061c084 0x80000401

I noticed from the mmiotrace of the binary driver that it seems to set these
two registers when the brightness changes.
I'm away from the machine at the moment to post the details that seemed
relevant to me.=20

I am not sure which registers might be important to check before and after.=
=20

I'll look at the trace again and pop into it for some questions


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