summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/atibl.c
Commit message (Collapse)AuthorAgeFilesLines
* Match the right backlight driver.jhibbits2015-02-181-1/+8
| | | | | | | | Some ATI-based PowerBooks use the string 'mnca' in the backlight controller device tree entry, so account for this and don't use nVidia when it's not an nVidia device. MFC after: 3 weeks
* Don't set the write bit if we're just reading.jhibbits2015-02-181-4/+3
| | | | | | Also fix a couple typos. MFC after: 3 weeks
* Clear the backlight level when it's turned off. Also, reduce the delay times tojhibbits2014-04-061-4/+4
| | | | | | | less conservative values, also found in the radeonkms driver. MFC after: 2 weeks X-MFC-with: r264205
* Fix the ATI backlight driver off/on handling. Now this driver works correctlyjhibbits2014-04-061-6/+61
| | | | | | | | | with the ATI Radeon 9700 in the PowerBook G4 1.67GHz. Code shamelessly taken in spirit from the radeonkms driver, which I hope will make this driver redundant in the future. MFC after: 2 weeks
* Add suspend/resume handlers for ATI backlight ppc driver.jhibbits2013-12-201-14/+76
| | | | | | | With this, also shut shut off the display (DPMS-style) and disable the clocking when the backlight level is set to 0. This is taken from the radeonkms driver (radeon_legacy_encoders.c) which doesn't yet support PowerPC, and won't for a while, as it's missing full AGP support.
* Only add the backlight device if it actually exists in OF.jhibbits2013-08-311-0/+2
| | | | MFC after: 1 week
* phandle_t is unsigned, and OF_finddevice() returns (phandle_t)(-1) onjhibbits2012-08-211-2/+2
| | | | | | | | | failure, so check for that instead of 0. While here, provide a better description for ATI backlight driver. Reported by: jchandra@ MFC after: 3 days
* Add backlight control to ATI-graphics PowerBooks and iBooks.jhibbits2012-02-261-0/+196
Approved by: nwhitehorn (mentor) MFC after: 1 week
OpenPOWER on IntegriCloud