Re: Test patch for sleep on Aluminium PowerBooks
On 28 Oct 2004 at 07h10, Colin Leroy wrote:
Hi,
> > lvds_gen_cntl |= LVDS_DISPLAY_DIS;
> > OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl);
> > lvds_gen_cntl &= ~(LVDS_ON | LVDS_BLON /* | LVDS_EN | LVDS_DIGON */);
> > OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl);
>
> I tried to, but it didn't work...
That is, I tried
lvds_gen_cntl |= LVDS_DISPLAY_DIS;
OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl);
lvds_gen_cntl &= ~(LVDS_ON | LVDS_BLON /* | LVDS_EN | LVDS_DIGON */);
rinfo->pending_lvds_gen_cntl = lvds_gen_cntl;
mod_timer(&rinfo->lvds_timer,
jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay));
//OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl);
--
Colin
Reply to: