The patch titled gxfb-add-power-management-functionality update has been added to the -mm tree. Its filename is gxfb-add-power-management-functionality-update.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: gxfb-add-power-management-functionality update From: Andres Salomon <dilinger@xxxxxxxxxx> This drops the power_state stuff from the patch. Can you please replace the original patch with this one? Thanks! This adds the ability to suspend/resume the gxfb driver, which includes: - The addition of a Graphics Processor register table in gxfb.h, and associated GP handling. - Register and palette saving code; registers are stored in gxfb_par. A few MSR values are saved as well. - gx_powerup and gx_powerdown functions which restore/save registers and enable/disable graphic engines. - gxfb_suspend/gxfb_resume Originally based on a patch by Jordan Crouse. Signed-off-by: Andres Salomon <dilinger@xxxxxxxxxx> Cc: Jordan Crouse <jordan.crouse@xxxxxxx> Cc: "Antonino A. Daplas" <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/geode/gxfb_core.c | 6 ------ 1 file changed, 6 deletions(-) diff -puN drivers/video/geode/gxfb_core.c~gxfb-add-power-management-functionality-update drivers/video/geode/gxfb_core.c --- a/drivers/video/geode/gxfb_core.c~gxfb-add-power-management-functionality-update +++ a/drivers/video/geode/gxfb_core.c @@ -310,9 +310,6 @@ static int gxfb_suspend(struct pci_dev * { struct fb_info *info = pci_get_drvdata(pdev); - if (pdev->dev.power.power_state.event == state.event) - return 0; - if (state.event == PM_EVENT_SUSPEND) { acquire_console_sem(); gx_powerdown(info); @@ -323,7 +320,6 @@ static int gxfb_suspend(struct pci_dev * /* 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; return 0; } @@ -341,8 +337,6 @@ static int gxfb_resume(struct pci_dev *p fb_set_suspend(info, 0); release_console_sem(); - - pdev->dev.power.power_state = PMSG_ON; return 0; } #endif _ Patches currently in -mm which might be from dilinger@xxxxxxxxxx are x86-geode-msr-cleanup.patch gxfb-use-pci_device-for-gxfbs-pci-device-table.patch gxfb-replace-fbsize-config-option-with-a-module-parameter.patch gxfb-create-dc-vp-fp-specific-handlers-rather-than-using-readl-writel.patch gxfb-clean-up-register-definitions.patch gxfb-move-msr-bit-fields-into-gxfbh.patch gxfb-stop-sharing-code-with-gx1fb.patch gxfb-add-power-management-functionality.patch gxfb-add-power-management-functionality-fix.patch gxfb-add-power-management-functionality-update.patch pm-gxfb-add-hook-to-pm-console-layer-that-allows-disabling-of-suspend-vt-switch.patch pm-gxfb-add-hook-to-pm-console-layer-that-allows-disabling-of-suspend-vt-switch-fix.patch lxfb-create-gp-dc-vp-fp-specific-handlers-rather-than-using-readl-writel.patch lxfb-clean-up-register-definitions.patch lxfb-clean-up-final-bits-of-df_regs.patch lxfb-rearrange-rename-msr-bitfields.patch lxfb-add-power-management-functionality.patch lxfb-add-power-management-functionality-fix.patch lxfb-rename-kernel-arg-fbsize-to-vram.patch lxfb-disable-suspend-vt-switch-by-default.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html