2009/6/30 Rafał Miłecki
W dniu 30 czerwca 2009 17:32 użytkownik Egbert Eich
napisał: > So I can add "UseAtomBIOS", remove all NOT_YET and this should work > for me? Because you mentioned earlier it's not ready yet...?
You don't even have to remove the NOT_YET with thoe UseAtomBIOS option. I'm currently looking at why I added the NOT_YETs. It's working on RS690 (LVTMA). I still need to try it on DIG.
OK, I just tested it and it works actually.
I decided to check out atombios's check about backlight control.
1) In rhd_dig.c we call RhdAtomSetupBacklightControlProperty which returns bl level
2) in rhd_atomout.c: RhdAtomSetupBacklightControlProperty calls RHDAtomBIOSScratchBlLevel
3) in rhd_biosscratch.c: RHDAtomBIOSScratchBlLevel just check 0x18 / 0x172C register.
Those are the bios scratch regs.
So is this AtomBIOS based backlight control just using another register? No special AtomBIOS commands?
As I said previously, IIRC, it's controlled by LCD1OutputControl on pre-DCE3 chips, and DIG2TransmitterControl on DCE3 and newer chips. As I recall, you set the requested level in one of the bios scratch regs and then execute the table with the action set to the appropriate LCD_BLOFF/BLON/BL_BRIGHTNESS_CONTROL for the table. See atombios.h. Alex -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org