login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
31
Re: [PATCH 5/7] lxfb: add power management functionality
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Pavel Machek <pavel@...>
To: Andres Salomon <dilinger@...>
Cc: Andrew Morton <akpm@...>, <adaplas@...>, <linux-kernel@...>, <linux-fbdev-devel@...>, <info-linux@...>, <jordan.crouse@...>
Subject:
Re: [PATCH 5/7] lxfb: add power management functionality
Date: Monday, March 31, 2008 - 3:40 am
Hi!
quoted text
> +static int lxfb_suspend(struct pci_dev *pdev, pm_message_t state) > +{ > + struct fb_info *info = pci_get_drvdata(pdev); > + > + if (pdev->dev.power.power_state.event == state.event) > + return 0;
This should never trigger. See Doc*/feature-removal-sch*.
quoted text
> + /* there's no point in setting PCI states; we emulate PCI, so > + * we don't end up getting power savings anyways */ > + > + pdev->dev.power.power_state = state;
And there's no point doing this.
quoted text
> + pdev->dev.power.power_state = PMSG_ON;
Or this. -- (english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 5/7] lxfb: add power management functionality
, Andres Salomon
, (Thu Mar 27, 8:10 pm)
Re: [PATCH 5/7] lxfb: add power management functionality
, Pavel Machek
, (Mon Mar 31, 3:40 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Washington Odhiambo
Weird Problem with NAT - more details
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Andrew Morton
-mm merge plans for 2.6.23
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
David Miller
Re: [GIT]: Networking
Denys Fedoryshchenko
thousands of classes, e1000 TX unit hang
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
511 guests
online.
Online users
strcmp
ppcloophole
jammyvasie
Syndicate