Mailinglist Archive: radeonhd (408 mails)

< Previous Next >
[radeonhd] Re: [PATCH] Somehow /force/ backlight control
  • From: Rafał Miłecki <zajec5@xxxxxxxxx>
  • Date: Fri, 26 Jun 2009 16:58:40 +0200
  • Message-id: <b170af450906260758v755e186dkbd873e6c151b5e7a@xxxxxxxxxxxxxx>
W dniu 26 czerwca 2009 16:53 użytkownik Rafał Miłecki
<zajec5@xxxxxxxxx> napisał:
Currently we don't try to control backlight after detecting
(RHDRegRead(Output, RV620_LVTMA_BL_MOD_CNTL) & LVTMA_BL_MOD_EN) == 0

This assumption is quite wrong, because in some (many?) cases we can
just change this one bit and control backlight without problem.
Confirmed to work on M82==RV620.

Ups, forgot to mention. I added Dig prefix to backlight functions to
differ LVDSSetBacklight (rhd_dig.c) from... LVDSSetBacklight
(rhd_lvtma.c).

We already use Dig prefix for:
DigModeValid
DigPower
DigPropertyControl
DigMode
DigSave
DigRestore
DigDestroy
DigAllocFree

Hope you are fine with this.

Actually I think we should add prefixes to more functions in future,
for example to differ
LVDSPropertyControl (rhd_lvtma.c)
and
LVDSTransmitterPropertyControl (rhd_dig.c).

--
Rafał Miłecki
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
References