<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/video/backlight/backlight.c, branch linux-2.6.22.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.22.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.22.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-02-20T09:26:53Z</updated>
<entry>
<title>backlight: Separate backlight properties from backlight ops pointers</title>
<updated>2007-02-20T09:26:53Z</updated>
<author>
<name>Richard Purdie</name>
</author>
<published>2007-02-10T23:07:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=599a52d12629394236d785615808845823875868'/>
<id>urn:sha1:599a52d12629394236d785615808845823875868</id>
<content type='text'>
Per device data such as brightness belongs to the indivdual device
and should therefore be separate from the the backlight operation
function pointers. This patch splits the two types of data and
allows simplifcation of some code.

Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight: Clean up pmac_backlight handling</title>
<updated>2007-02-20T09:26:40Z</updated>
<author>
<name>Richard Purdie</name>
</author>
<published>2007-02-10T15:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=321709c5994f952b78d567fd7083dbebbdc381b7'/>
<id>urn:sha1:321709c5994f952b78d567fd7083dbebbdc381b7</id>
<content type='text'>
Move the setting/unsetting of pmac_backlight into the
backlight core instead of doing it in each driver.

Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight/fbcon: Add FB_EVENT_CONBLANK</title>
<updated>2007-02-20T08:38:45Z</updated>
<author>
<name>Richard Purdie</name>
</author>
<published>2007-02-09T09:46:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=994efacdf9a087b52f71e620b58dfa526b0cf928'/>
<id>urn:sha1:994efacdf9a087b52f71e620b58dfa526b0cf928</id>
<content type='text'>
The backlight class wants notification whenever the console is blanked
but doesn't get this when hardware blanking fails and software blanking
is used. Changing FB_EVENT_BLANK to report both would be a behaviour
change which could confuse the console layer so add a new event for
software blanking and have the backlight class listen for both.

Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight: Convert semaphore -&gt; mutex</title>
<updated>2007-02-20T08:38:45Z</updated>
<author>
<name>Richard Purdie</name>
</author>
<published>2007-02-08T22:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=249040dc7fd391186f420fe23a9b59d357103cac'/>
<id>urn:sha1:249040dc7fd391186f420fe23a9b59d357103cac</id>
<content type='text'>
Convert internal semaphore to a mutex

Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight: Fix external uses of backlight internal semaphore</title>
<updated>2007-02-20T08:38:45Z</updated>
<author>
<name>Richard Purdie</name>
</author>
<published>2007-02-08T22:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28ee086d5b36aab2931f6740e409bb0fb6c65e5f'/>
<id>urn:sha1:28ee086d5b36aab2931f6740e409bb0fb6c65e5f</id>
<content type='text'>
backlight_device-&gt;sem has a very specific use as documented in the
header file. The external users of this are using it for a different
reason, to serialise access to the update_status() method.

backlight users were supposed to implement their own internal
serialisation of update_status() if needed but everyone is doing
things differently and incorrectly. Therefore add a global mutex to
take care of serialisation for everyone, once and for all.

Locking for get_brightness remains optional since most users don't
need it.

Also update the lcd class in a similar way.

Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight: Remove excessive (un)likelys</title>
<updated>2007-02-20T08:38:44Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2007-02-08T00:12:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90968e8ebc4611896ff7f2ef0c0bf8455e845cd1'/>
<id>urn:sha1:90968e8ebc4611896ff7f2ef0c0bf8455e845cd1</id>
<content type='text'>
Remove excessive numbers of (un)likely()s in the backlight core.

There are no hot paths in this code so rely on compiler to do
the right thing.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight: Fix error handling</title>
<updated>2007-02-20T08:35:09Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2007-02-07T22:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b'/>
<id>urn:sha1:2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b</id>
<content type='text'>
Fix error handling when registering new device

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>Pull platform-drivers into test branch</title>
<updated>2006-12-20T07:52:17Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2006-12-20T07:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40b20c257a13c5a526ac540bc5e43d0fdf29792a'/>
<id>urn:sha1:40b20c257a13c5a526ac540bc5e43d0fdf29792a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI: video: Add dev argument for backlight_device_register</title>
<updated>2006-12-20T06:42:19Z</updated>
<author>
<name>Yu Luming</name>
</author>
<published>2006-12-19T20:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=519ab5f2be65b72cf12ae99c89752bbe79b44df6'/>
<id>urn:sha1:519ab5f2be65b72cf12ae99c89752bbe79b44df6</id>
<content type='text'>
This patch set adds generic abstract layer support for acpi video driver to
have generic user interface to control backlight and output switch control by
leveraging the existing backlight sysfs class driver, and by adding a new
video output sysfs class driver.

This patch:

Add dev argument for backlight_device_register to link the class device to
real device object.  The platform specific driver should find a way to get the
real device object for their video device.

[akpm@osdl.org: build fix]
[akpm@osdl.org: fix msi-laptop.c]
Signed-off-by: Luming Yu &lt;Luming.yu@intel.com&gt;
Cc: "Antonino A. Daplas" &lt;adaplas@pol.net&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] backlight: do not power off backlight when unregistering</title>
<updated>2006-12-08T16:29:07Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
</author>
<published>2006-12-08T10:40:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4437cd1e98409e236a9d303fb742fdd53b3a20bb'/>
<id>urn:sha1:4437cd1e98409e236a9d303fb742fdd53b3a20bb</id>
<content type='text'>
ACPI drivers like ibm-acpi are moving to the backlight sysfs
infrastructure.  During ibm-acpi testing, I have noticed that
backlight_device_unregister() sets the display brightness and power to
zero.

This causes the display to be dimmed on ibm-acpi module removal.  It will
affect all other ACPI drivers that are being converted to use the backlight
class, as well.  It also affects a number of framebuffer devices that are
used on desktops and laptops which might also not want such behaviour.

Since working around this behaviour requires undesireable hacks, Richard
Purdie decided that we would be better off reverting the changes in the
sysfs class, and adding the code to dim and power off the backlight device
to the drivers that want it.  This patch is my attempt to do so.

Patch against latest linux-2.6.git.  Changes untested, as I lack the
required hardware.  Still, they are trivial enough that, apart from typos,
there is little chance of getting them wrong.

Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Acked-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Acked-by: James Simmons &lt;jsimmons@infradead.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
