From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 31122] Cannot control backlight intensity on Powerbook Date: Tue, 09 Aug 2016 17:21:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0133036653==" 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 --===============0133036653== Content-Type: multipart/alternative; boundary="14707632904.E6A3caa.6047"; charset="UTF-8" --14707632904.E6A3caa.6047 Date: Tue, 9 Aug 2016 17:21:30 +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=3D31122 --- Comment #16 from Ilia Mirkin --- (In reply to A. Chaud from comment #15) > Regarding the 0x535. It's a workaround for bug 31120. The lower half of > the register gets set to 0x7fff upon waking from suspend which disables t= he > backlight. This changes it back to a working value. There should be a way to save a value on suspend and restore that saved val= ue on resume. BTW, I didn't check whether you're still doing this in the latest patch, bu= t a few things I remember noticing: (a) foo | 0x80000000, not + (b) use ARRAY_SIZE, although I think you got rid of that array anyways --=20 You are receiving this mail because: You are the assignee for the bug.= --14707632904.E6A3caa.6047 Date: Tue, 9 Aug 2016 17:21:30 +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 # 16 on bug 31122<= /a> from Ilia Mirkin
(In reply to A. Chaud from comment #15)
> Regarding the 0x535.  It's a workaround for bug 31120.  The lower half of
> the register gets set to 0x7fff upon waking from suspend which disable=
s the
> backlight. This changes it back to a working value.

There should be a way to save a value on suspend and restore that saved val=
ue
on resume.

BTW, I didn't check whether you're still doing this in the latest patch, bu=
t a
few things I remember noticing:

(a) foo | 0x80000000, not +
(b) use ARRAY_SIZE, although I think you got rid of that array anyways


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