[Intel-gfx] [PATCH] i915: send D1 opregion notification
Daniel Vetter
daniel at ffwll.ch
Tue Jan 14 10:26:02 CET 2014
On Mon, Jan 13, 2014 at 01:32:45PM -0800, Kristen Carlson Accardi wrote:
> The opregion notification for runtime suspend should be D1, not D3.
> This is to maintain compatibility with firmware.
>
> Signed-off-by: Kristen Carlson Accardi <kristen at linux.intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index 61fb9fc..a6c370a 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -925,7 +925,7 @@ static int i915_runtime_suspend(struct device *device)
>
> del_timer_sync(&dev_priv->gpu_error.hangcheck_timer);
> dev_priv->pm.suspended = true;
> - intel_opregion_notify_adapter(dev, PCI_D3cold);
> + intel_opregion_notify_adapter(dev, PCI_D1);
This needs a bigger comment and some mention on which platforms we exactly
need this ... Or do the bios people plan to stick to this for bdw/vlv and
all the further stuff?
-Daniel
>
> return 0;
> }
> --
> 1.8.3.2
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list