From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 39550] [NV96] Brightness stuck to low value after suspend/resume on HP Elitebook 8530w Date: Sun, 01 Sep 2013 15:28:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1387010696==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1387010696== Content-Type: multipart/alternative; boundary="1378049301.B0caac608.28112"; charset="us-ascii" --1378049301.B0caac608.28112 Date: Sun, 1 Sep 2013 15:28:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=39550 Roy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Assignee|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |r.spliet-oe7qfRrRQfeEZXFvZSAUrfP6llvjuJOh@public.gmane.org |rg | Attachment #85010|0 |1 is obsolete| | --- Comment #46 from Roy --- Created attachment 85012 --> https://bugs.freedesktop.org/attachment.cgi?id=85012&action=edit drm/nv50: Fix backlight not working when PWM_DIV is uninitialised (v2) V2 fixes the reach of this patch. From what I can tell the PWM_DIV is simply a divider for the initial PWM clock or something, it does not affect the scope of the duty cycle. I therefore assume 0x5e is always a good value to set. Traces from NV50:NVA0 would help verify whether NVIDIA always sets this value or not. This patch requires acpi_backlight=vendor to be set because it tests for the presence of a backlight by testing drm->backlight. An alternative to this test would be checking for the GPIO to be present and routed to SOR, but I wouldn't be surprised if there is at least one device that expects our driver to route it manually. How should we go about this? -- You are receiving this mail because: You are the assignee for the bug. --1378049301.B0caac608.28112 Date: Sun, 1 Sep 2013 15:28:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 39550
What Removed Added
Status NEW NEEDINFO
Assignee nouveau@lists.freedesktop.org r.spliet@student.tudelft.nl
Attachment #85010 is obsolete   1

Comment # 46 on bug 39550 from
Created attachment 85012 [details] [review]
drm/nv50: Fix backlight not working when PWM_DIV is uninitialised (v2)

V2 fixes the reach of this patch.
From what I can tell the PWM_DIV is simply a divider for the initial PWM clock
or something, it does not affect the scope of the duty cycle. I therefore
assume 0x5e is always a good value to set. Traces from NV50:NVA0 would help
verify whether NVIDIA always sets this value or not.
This patch requires acpi_backlight=vendor to be set because it tests for the
presence of a backlight by testing drm->backlight. An alternative to this test
would be checking for the GPIO to be present and routed to SOR, but I wouldn't
be surprised if there is at least one device that expects our driver to route
it manually. How should we go about this?


You are receiving this mail because:
  • You are the assignee for the bug.
--1378049301.B0caac608.28112-- --===============1387010696== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1387010696==--