All of lore.kernel.org
 help / color / mirror / Atom feed
* NV50 backlight brightness
@ 2010-10-19  9:10 Aaron Sowry
       [not found] ` <20101019091030.GA28588-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Aaron Sowry @ 2010-10-19  9:10 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1117 bytes --]

Hi,

The NV50 codepath in nouveau_backlight.c invariably sets max_brightness to 1025, regardless of the chipset in question. The maximum brightness is not 1025 for all NV50 chipsets (for example, by setting the brightness via ACPI controls and peeking the brightness register, I find that the maximum brightness level for my a8 card is 0x4001df67 although I am unsure of the significance of the MSB).

This means when anything manipulates the backlight using nouveau controls (in my case, usually g-p-m), I get very low backlight brightnesses. 2 questions:

1) Is this a known problem, and has it been looked at before? My affected laptop is a ThinkPad and I know that some Macbooks are also affected, so I would be surprised if it isn't fairly common.

2) In the absence of a reliable way to determine a card's max_brightness by peeking registers or similar, is some kind of mapping table in the code an acceptable solution for assigning max_brightness values to certain chipsets?

This has been discussed at some length on the RedHat bugzilla here:
https://bugzilla.redhat.com/show_bug.cgi?id=625171

Cheers,
Aaron

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-22 11:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-19  9:10 NV50 backlight brightness Aaron Sowry
     [not found] ` <20101019091030.GA28588-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
2010-10-20 11:17   ` Ben Skeggs
2010-10-21  9:16     ` Aaron Sowry
     [not found]       ` <20101021091621.GA29567-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
2010-10-21 10:45         ` Ben Skeggs
2010-10-22  9:57           ` Aaron Sowry
     [not found]             ` <20101022095740.GA30072-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
2010-10-22 11:17               ` Ben Skeggs
     [not found]                 ` <FC457B53-D6EF-48DC-BB56-F2FAC3D84577-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-10-22 11:51                   ` Aaron Sowry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.