]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259657,r264205,r264207:
authorjhibbits <jhibbits@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 6 Sep 2014 19:38:40 +0000 (19:38 +0000)
committerjhibbits <jhibbits@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 6 Sep 2014 19:38:40 +0000 (19:38 +0000)
commit536fd46cbc46ea4f93f39c09f18cc3f53e97ee7f
treebae182593aefee2c6cf281455bbc045dba061cb4
parented34dbf600db2aa08d6ff7728892ddd08e99b386
MFC r259657,r264205,r264207:

r259657:

Add suspend/resume capabilities to the ATI backlight ppc driver.

With this, also 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.

r264205,r264207:

Fix the ATI backlight driver off/on handling.  Now this driver works
correctly 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.

Approved by: re (marius)
Relnotes: yes (not suspend/resume, but the rest)

git-svn-id: svn://svn.freebsd.org/base/stable/10@271205 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/powerpc/powermac/atibl.c