History log of /freebsd-9.3-release/sys/dev/acpica/acpi_video.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 249132 05-Apr-2013 mav

MFC r227293 (by ed):
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.

This means that their use is restricted to a single C file.


# 247487 28-Feb-2013 jhb

MFC 241748:
When checking to see if a video output's _ADR matches an entry in the
parent adapter's _DOD list, only check the low 16 bits of both _ADR and
_DOD. The language in the ACPI spec seems to indicate that the _ADR values
should exactly match the entries in _DOD. However, I assume that the
masking added to _DOD values was added to work around some known busted
machines (the commit history doesn't indicate either way), and the ACPI
spec does require that the low 16 bits are unique for all video outputs,
so only checking the low 16 bits should be fine.

This fixes recognition of video outputs that use the new standardized
device ID scheme in ACPI 3.0 that set bit 31 such as certain Dell laptops.


# 237405 21-Jun-2012 iwasaki

MFC r237197:

- Resotre LCD brightness level on resuming.


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 217566 18-Jan-2011 mdf

Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.


# 209065 11-Jun-2010 jkim

Simplify a function for getting brightness levels.


# 209064 11-Jun-2010 jkim

Remove unused assignment.

Found by: clang static analyzer
Found by: Coverity Prevent[tm] (CID 4537, 4538, 4539)


# 204965 10-Mar-2010 jkim

Fix white spaces.


# 203936 15-Feb-2010 jkim

Rename some macros to clarify their intentions and fix style nits.


# 203935 15-Feb-2010 jkim

Add support for `cycle' and `zero' events for LCD brightness control.

Submitted by: Daniel Walter (d dot walter at 0x90 dot at) (intial version)


# 203813 13-Feb-2010 jkim

Make sanity check slightly more useful and tweak an error message.


# 203810 13-Feb-2010 jkim

Implement LCD brightness control notify handler.

Submitted by: Daniel Walter(d dot walter at 0x90 dot at) (intial version)


# 199337 16-Nov-2009 jkim

Merge ACPICA 20091112.


# 197648 30-Sep-2009 jhb

Split the 'video' ACPI lock up into two locks to resolve a LOR with the
sysctl lock. The 'video' lock now protects the 'bus' of video output
devices attached to a graphics adapter. It is used when iterating over
the list of outputs, etc. The 'video_output' lock is used to lock the
output-specific data similar to a driver lock for the individual video
outputs.

MFC after: 2 weeks


# 197438 23-Sep-2009 jhb

Uninline an instance of STAILQ_FOREACH_SAFE().


# 193530 05-Jun-2009 jkim

Import ACPICA 20090521.


# 161184 10-Aug-2006 bruno

Improve the way we'll detect video devices as per ACPI 3.0.

PR: 100271
Requested by: john AT utzweb DOT net
Submitted by: hrs
Reviewed by: njl
Approved by: njl
MFC after: 3 days


# 153578 20-Dec-2005 jhb

Attach to the vgapci device rather than pci.


# 150003 11-Sep-2005 obrien

Canonize the include of acpi.h.


# 143002 02-Mar-2005 obrien

Fix SCM ID's.


# 137438 09-Nov-2004 njl

Tell the BIOS we want to handle brightness switching as well as output
switching. Don't initialize variables in their declaration. Reduce stack
usage for device names. Minor style cleanups.

MFC after: 1 week


# 133625 13-Aug-2004 njl

MPSAFE locking

* Serialize operations in acpi_video_bind_outputs(), acpi_video_detach(),
acpi_video_notify_handler(), acpi_video_power_profile(), and the sysctls.
The main goal is to protect the shared device list and prevent conflicting
settings.
* Add assertions that the sx lock is held in the leaf functions.


# 132605 24-Jul-2004 njl

Fix a bug where an item was being removed from a list without using
FOREACH_SAFE. Remove bad cast of retp and instead use an additional
arg to pass back the number of valid outputs. Use the package convenience
functions for parsing packages.


# 132526 22-Jul-2004 njl

Remove unused (and bogus) locking, style cleanup, remove unnecessary casts.


# 132256 16-Jul-2004 njl

Fix acpi_video loading. When we started cleaning up the duplicate handles
left around after the PCI probe, acpi_video stopped attaching because while
it was an acpi child device, it really is a PCI device. Fix this by making
it a PCI child.

* Remove non-handle ivars accesses since child busses only implement
acpi_get_handle().
* Access the acpi softc directly through the devclass instead of through
the implied parent.
* Clean up a potential panic on unload by freeing the sysctl context before
storing NULL in the OID.

Found by: marks


# 129879 30-May-2004 phk

Add missing <sys/module.h> includes


# 128036 08-Apr-2004 njl

Unify on version 1 to be similar to the rest of the tree. After 5-stable
branches, increment version on any API change visible to other modules.


# 126560 03-Mar-2004 njl

Change to acpi_{Get,Set}Integer to provide both methods. Convert all
callers to the new API.

Submitted by: Mark Santcroos <marks@ripe.net>


# 126430 01-Mar-2004 njl

Add the ACPI standard video extensions driver. I've done some style cleanup
but a bit more reamins to be done. For now, it is usable.

Submitted by: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>